[INFO] cloning repository https://github.com/tetcoin/substrate-archive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tetcoin/substrate-archive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fsubstrate-archive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fsubstrate-archive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33278f22b4b519d1423c24aa928e664f5e948ca4 [INFO] testing tetcoin/substrate-archive against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fsubstrate-archive" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tetcoin/substrate-archive on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tetcoin/substrate-archive [INFO] finished tweaking git repo https://github.com/tetcoin/substrate-archive [INFO] tweaked toml for git repo https://github.com/tetcoin/substrate-archive written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/tetcoin/substrate-archive already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/insipx/coil` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-core v0.4.2 [INFO] [stderr] Downloaded whoami v1.0.3 [INFO] [stderr] Downloaded async-rustls v0.1.2 [INFO] [stderr] Downloaded sqlx-macros v0.4.2 [INFO] [stderr] Downloaded spin v0.7.0 [INFO] [stderr] Downloaded sqlx v0.4.2 [INFO] [stderr] Downloaded catty v0.1.4 [INFO] [stderr] Downloaded coil_proc_macro v0.2.0 [INFO] [stderr] Downloaded barrage v0.2.1 [INFO] [stderr] Downloaded spinny v0.2.1 [INFO] [stderr] Downloaded xtra v0.5.0-rc.1 [INFO] [stderr] Downloaded rmp-serde v0.15.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 637a304d9aa78e3c6b2e6dc22935b750b7c45855c16dd71ccb3736062e420a60 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "637a304d9aa78e3c6b2e6dc22935b750b7c45855c16dd71ccb3736062e420a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "637a304d9aa78e3c6b2e6dc22935b750b7c45855c16dd71ccb3736062e420a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "637a304d9aa78e3c6b2e6dc22935b750b7c45855c16dd71ccb3736062e420a60", kill_on_drop: false }` [INFO] [stdout] 637a304d9aa78e3c6b2e6dc22935b750b7c45855c16dd71ccb3736062e420a60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e68aaa1ac840b3334f17828152283396885e55f4a90eb7dd2a34537ae7fd8c9c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e68aaa1ac840b3334f17828152283396885e55f4a90eb7dd2a34537ae7fd8c9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling sp-std v2.0.1 (https://github.com/paritytech/substrate?branch=master#2d597fc2) [INFO] [stderr] Compiling parity-util-mem v0.8.0 [INFO] [stderr] Compiling unsigned-varint v0.5.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling zstd-safe v2.0.6+zstd.1.4.7 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling retain_mut v0.1.2 [INFO] [stderr] Compiling whoami v1.0.3 [INFO] [stderr] Compiling sc-consensus-slots v0.8.1 (https://github.com/paritytech/substrate?branch=master#2d597fc2) [INFO] [stderr] Compiling spin v0.7.0 [INFO] [stderr] Compiling inventory v0.1.9 [INFO] [stderr] Compiling pollster v0.2.0 [INFO] [stderr] Compiling arc-swap v1.2.0 [INFO] [stderr] Compiling jod-thread v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling nom v6.0.0 [INFO] [stderr] Compiling ahash v0.6.2 [INFO] [stderr] Compiling tinyvec v1.0.1 [INFO] [stderr] Compiling rlp v0.5.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling async-lock v2.3.0 [INFO] [stderr] Compiling wast v31.0.0 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling quicksink v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling spinny v0.2.1 [INFO] [stderr] Compiling spinning_top v0.2.2 [INFO] [stderr] Compiling lru v0.6.3 [INFO] [stderr] Compiling catty v0.1.4 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling barrage v0.2.1 [INFO] [stderr] Compiling uint v0.9.0 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling rmp v0.8.9 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling blake2 v0.9.1 [INFO] [stderr] Compiling stream-cipher v0.7.1 [INFO] [stderr] Compiling aes-soft v0.5.0 [INFO] [stderr] Compiling polyval v0.4.1 [INFO] [stderr] Compiling poly1305 v0.6.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [stderr] Compiling snow v0.7.2 [INFO] [stdout] error[E0277]: cannot divide `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] 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] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] 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/github.com-1ecc6299db9ec823/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] 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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] 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/github.com-1ecc6299db9ec823/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] 1058 | Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1059 | .map(|v| v - nlz) [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/github.com-1ecc6299db9ec823/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] 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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 mod `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stderr] Compiling unicode-normalization v0.1.14 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] 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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 mod `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e68aaa1ac840b3334f17828152283396885e55f4a90eb7dd2a34537ae7fd8c9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e68aaa1ac840b3334f17828152283396885e55f4a90eb7dd2a34537ae7fd8c9c", kill_on_drop: false }` [INFO] [stdout] e68aaa1ac840b3334f17828152283396885e55f4a90eb7dd2a34537ae7fd8c9c