[INFO] cloning repository https://github.com/iosmanthus/tikv-duration-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iosmanthus/tikv-duration-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiosmanthus%2Ftikv-duration-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiosmanthus%2Ftikv-duration-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46ddcb28877e1864f61deae34912263f973f7945 [INFO] checking iosmanthus/tikv-duration-demo against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiosmanthus%2Ftikv-duration-demo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iosmanthus/tikv-duration-demo on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iosmanthus/tikv-duration-demo [INFO] finished tweaking git repo https://github.com/iosmanthus/tikv-duration-demo [INFO] tweaked toml for git repo https://github.com/iosmanthus/tikv-duration-demo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/iosmanthus/tikv-duration-demo 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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/iosmanthus/nom.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitfield v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c6423a1c84e1666f0d75ab8da15fdbc8cde960658c4b3736e636d5f568a1f45 [INFO] running `Command { std: "docker" "start" "-a" "5c6423a1c84e1666f0d75ab8da15fdbc8cde960658c4b3736e636d5f568a1f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c6423a1c84e1666f0d75ab8da15fdbc8cde960658c4b3736e636d5f568a1f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c6423a1c84e1666f0d75ab8da15fdbc8cde960658c4b3736e636d5f568a1f45", kill_on_drop: false }` [INFO] [stdout] 5c6423a1c84e1666f0d75ab8da15fdbc8cde960658c4b3736e636d5f568a1f45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a13c558be24b1ab5531afc960ebccb226c40676902e69ced131aa0679aadadda [INFO] running `Command { std: "docker" "start" "-a" "a13c558be24b1ab5531afc960ebccb226c40676902e69ced131aa0679aadadda", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking bitfield v0.13.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking stackvector v1.0.2 [INFO] [stderr] Compiling nom v5.0.0-alpha2 (https://github.com/iosmanthus/nom.git?branch=fix-cond-reduce#df229860) [INFO] [stderr] Checking dfa v0.1.0 (/opt/rustwide/workdir/dfa) [INFO] [stderr] Checking pull-4427 v0.1.0 (/opt/rustwide/workdir/pull-4427) [INFO] [stderr] Checking lexical-core v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking tikv-duration v0.1.0 (/opt/rustwide/workdir/master) [INFO] [stdout] warning: fields `dur`, `fsp`, and `neg` are never read [INFO] [stdout] --> master/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Duration { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | dur: StdDuration, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | fsp: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | neg: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Duration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dur`, `fsp`, and `neg` are never read [INFO] [stdout] --> master/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Duration { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | dur: StdDuration, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | fsp: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | neg: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Duration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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.0/src/atof/algorithm/bigcomp.rs:246:55 [INFO] [stdout] | [INFO] [stdout] 246 | 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.4.0/src/atof/algorithm/bigcomp.rs:246:53 [INFO] [stdout] | [INFO] [stdout] 246 | 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.4.0/src/atof/algorithm/bigcomp.rs:264:40 [INFO] [stdout] | [INFO] [stdout] 264 | 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.0/src/atof/algorithm/bigcomp.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | 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.0/src/util/num.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | 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] 264 | 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.0/src/atof/algorithm/bigint.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | 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.0/src/atof/algorithm/bigint.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | 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.4.0/src/atof/algorithm/math.rs:1064:42 [INFO] [stdout] | [INFO] [stdout] 1064 | 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/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/num/mod.rs:1218: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] 1064 | 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.4.0/src/atof/algorithm/math.rs:1079:28 [INFO] [stdout] | [INFO] [stdout] 1079 | 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/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/num/mod.rs:1098: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] 1079 | 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.4.0/src/atof/algorithm/math.rs:1080:22 [INFO] [stdout] | [INFO] [stdout] 1080 | .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.0/src/atof/algorithm/math.rs:1080:20 [INFO] [stdout] | [INFO] [stdout] 1080 | .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.4.0/src/atof/algorithm/math.rs:1081:20 [INFO] [stdout] | [INFO] [stdout] 1081 | .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.0/src/atof/algorithm/math.rs:1079:5 [INFO] [stdout] | [INFO] [stdout] 1079 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1080 | | .map(|v| v - nlz) [INFO] [stdout] 1081 | | .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/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/option.rs:998: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] 1081 | .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.0/src/atof/algorithm/math.rs:1079:5 [INFO] [stdout] | [INFO] [stdout] 1075 | pub fn bit_length(x: &[Limb]) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 1079 | / Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1080 | | .map(|v| v - nlz) [INFO] [stdout] 1081 | | .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] 1081 | .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.0/src/atof/algorithm/math.rs:1106:23 [INFO] [stdout] | [INFO] [stdout] 1106 | 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] 1106 | 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.0/src/atof/algorithm/math.rs:1113:25 [INFO] [stdout] | [INFO] [stdout] 1113 | 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.0/src/atof/algorithm/math.rs:1113:23 [INFO] [stdout] | [INFO] [stdout] 1113 | 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.4.0/src/atof/algorithm/math.rs:1154:19 [INFO] [stdout] | [INFO] [stdout] 1154 | 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.0/src/atof/algorithm/math.rs:1154:17 [INFO] [stdout] | [INFO] [stdout] 1154 | 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.0/src/atof/algorithm/math.rs:1155:19 [INFO] [stdout] | [INFO] [stdout] 1155 | 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.0/src/atof/algorithm/math.rs:1155:17 [INFO] [stdout] | [INFO] [stdout] 1155 | 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.0/src/atof/algorithm/math.rs:1211:23 [INFO] [stdout] | [INFO] [stdout] 1211 | 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] 1211 | 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.0/src/atof/algorithm/math.rs:1221:25 [INFO] [stdout] | [INFO] [stdout] 1221 | 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.0/src/atof/algorithm/math.rs:1221:23 [INFO] [stdout] | [INFO] [stdout] 1221 | 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.4.0/src/atof/algorithm/math.rs:1273:19 [INFO] [stdout] | [INFO] [stdout] 1273 | 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.0/src/atof/algorithm/math.rs:1273:17 [INFO] [stdout] | [INFO] [stdout] 1273 | 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.0/src/atof/algorithm/math.rs:1274:19 [INFO] [stdout] | [INFO] [stdout] 1274 | 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.0/src/atof/algorithm/math.rs:1274:17 [INFO] [stdout] | [INFO] [stdout] 1274 | 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.0/src/atof/algorithm/math.rs:2085:27 [INFO] [stdout] | [INFO] [stdout] 2085 | 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.0/src/atof/algorithm/math.rs:2085:25 [INFO] [stdout] | [INFO] [stdout] 2085 | 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" "a13c558be24b1ab5531afc960ebccb226c40676902e69ced131aa0679aadadda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a13c558be24b1ab5531afc960ebccb226c40676902e69ced131aa0679aadadda", kill_on_drop: false }` [INFO] [stdout] a13c558be24b1ab5531afc960ebccb226c40676902e69ced131aa0679aadadda