[INFO] cloning repository https://github.com/bamling/pong-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bamling/pong-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbamling%2Fpong-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbamling%2Fpong-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57d224e3cf9177981229fa8ea80e7b4beeab3cbd [INFO] checking bamling/pong-rs/57d224e3cf9177981229fa8ea80e7b4beeab3cbd against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbamling%2Fpong-rs" "/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/bamling/pong-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bamling/pong-rs [INFO] finished tweaking git repo https://github.com/bamling/pong-rs [INFO] tweaked toml for git repo https://github.com/bamling/pong-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bamling/pong-rs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/amethyst/amethyst` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded specs-hierarchy v0.3.0 [INFO] [stderr] Downloaded glyph_brush v0.4.1 [INFO] [stderr] Downloaded derive-new v0.5.6 [INFO] [stderr] Downloaded shred v0.7.1 [INFO] [stderr] Downloaded proc-macro-hack v0.5.4 [INFO] [stderr] Downloaded stackvector v1.0.2 [INFO] [stderr] Downloaded lexical v2.1.0 [INFO] [stderr] Downloaded lexical-core v0.4.0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 245579f792aa0070e35a2127603dba1f9d2061e914c03a722b71e5a034001ebb [INFO] running `Command { std: "docker" "start" "-a" "245579f792aa0070e35a2127603dba1f9d2061e914c03a722b71e5a034001ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "245579f792aa0070e35a2127603dba1f9d2061e914c03a722b71e5a034001ebb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "245579f792aa0070e35a2127603dba1f9d2061e914c03a722b71e5a034001ebb", kill_on_drop: false }` [INFO] [stdout] 245579f792aa0070e35a2127603dba1f9d2061e914c03a722b71e5a034001ebb [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04a60ee1086d6897947e10f02e8ad7a8bf544974c78320301b7a91d3e4171bbb [INFO] running `Command { std: "docker" "start" "-a" "04a60ee1086d6897947e10f02e8ad7a8bf544974c78320301b7a91d3e4171bbb", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.21.12 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling nonzero_signed v1.0.3 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking mint v0.5.1 [INFO] [stderr] Checking rusttype v0.7.5 [INFO] [stderr] Checking crossbeam-deque v0.5.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking wayland-sys v0.21.12 [INFO] [stderr] Checking hibitset v0.5.4 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking libm v0.1.2 [INFO] [stderr] Checking futures v0.1.26 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling wayland-client v0.21.12 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking tuple_utils v0.2.0 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Compiling wayland-protocols v0.21.12 [INFO] [stderr] Checking matrixmultiply v0.2.2 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling err-derive v0.1.5 [INFO] [stderr] Compiling cmake v0.1.38 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking amethyst_error v0.1.0 (https://github.com/amethyst/amethyst#c54584b8) [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking wayland-commons v0.21.12 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking stackvector v1.0.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking lexical-core v0.4.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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-6f17d22bba15001f/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] `&'a usize` implements `BitAnd` [INFO] [stdout] `&usize` implements `BitAnd<&usize>` [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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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] `&'a usize` implements `Div` [INFO] [stdout] `&usize` implements `Div<&usize>` [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-6f17d22bba15001f/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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/num/mod.rs:1260: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-6f17d22bba15001f/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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/num/mod.rs:1136: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-6f17d22bba15001f/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-6f17d22bba15001f/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] `&'a u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub<&u32>` [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-6f17d22bba15001f/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-6f17d22bba15001f/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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:987: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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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] `&'a u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub<&u32>` [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-6f17d22bba15001f/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-6f17d22bba15001f/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] `&'a usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem<&usize>` [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-6f17d22bba15001f/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-6f17d22bba15001f/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] `&'a usize` implements `Div` [INFO] [stdout] `&usize` implements `Div<&usize>` [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-6f17d22bba15001f/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-6f17d22bba15001f/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-6f17d22bba15001f/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] `&'a u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub<&u32>` [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-6f17d22bba15001f/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-6f17d22bba15001f/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] `&'a usize` implements `Rem` [INFO] [stdout] `&usize` implements `Rem<&usize>` [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-6f17d22bba15001f/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-6f17d22bba15001f/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] `&'a usize` implements `Div` [INFO] [stdout] `&usize` implements `Div<&usize>` [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-6f17d22bba15001f/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-6f17d22bba15001f/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] `&'a u32` implements `Sub` [INFO] [stdout] `&u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub<&u32>` [INFO] [stdout] `u32` implements `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling derivative v1.0.2 [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` (lib) due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "04a60ee1086d6897947e10f02e8ad7a8bf544974c78320301b7a91d3e4171bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a60ee1086d6897947e10f02e8ad7a8bf544974c78320301b7a91d3e4171bbb", kill_on_drop: false }` [INFO] [stdout] 04a60ee1086d6897947e10f02e8ad7a8bf544974c78320301b7a91d3e4171bbb