[INFO] cloning repository https://github.com/loganintech/rl_replay_decoder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loganintech/rl_replay_decoder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floganintech%2Frl_replay_decoder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floganintech%2Frl_replay_decoder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8ee7415ce3e3375544384a4a6718c45de3d637f [INFO] checking loganintech/rl_replay_decoder against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floganintech%2Frl_replay_decoder" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 82% (210/254) Updating files: 83% (211/254) Updating files: 84% (214/254) Updating files: 85% (216/254) Updating files: 86% (219/254) Updating files: 87% (221/254) Updating files: 88% (224/254) Updating files: 89% (227/254) Updating files: 90% (229/254) Updating files: 91% (232/254) Updating files: 92% (234/254) Updating files: 93% (237/254) Updating files: 94% (239/254) Updating files: 95% (242/254) Updating files: 96% (244/254) Updating files: 97% (247/254) Updating files: 98% (249/254) Updating files: 99% (252/254) Updating files: 100% (254/254) Updating files: 100% (254/254), done. [INFO] validating manifest of git repo https://github.com/loganintech/rl_replay_decoder on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/loganintech/rl_replay_decoder [INFO] finished tweaking git repo https://github.com/loganintech/rl_replay_decoder [INFO] tweaked toml for git repo https://github.com/loganintech/rl_replay_decoder written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/loganintech/rl_replay_decoder 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stackvector v1.1.1 [INFO] [stderr] Downloaded lexical-core v0.4.0 [INFO] [stderr] Downloaded nom v5.0.0-beta2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f56aaddf93985b938b19da1b0a29aad7beefb17a7c12bde51625d21f7e46d677 [INFO] running `Command { std: "docker" "start" "-a" "f56aaddf93985b938b19da1b0a29aad7beefb17a7c12bde51625d21f7e46d677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f56aaddf93985b938b19da1b0a29aad7beefb17a7c12bde51625d21f7e46d677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f56aaddf93985b938b19da1b0a29aad7beefb17a7c12bde51625d21f7e46d677", kill_on_drop: false }` [INFO] [stdout] f56aaddf93985b938b19da1b0a29aad7beefb17a7c12bde51625d21f7e46d677 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2934f5b4b1175be1c3f7e08226b5c7162c07c9e05eb38e3f124a8a2731996a8d [INFO] running `Command { std: "docker" "start" "-a" "2934f5b4b1175be1c3f7e08226b5c7162c07c9e05eb38e3f124a8a2731996a8d", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling nom v5.0.0-beta2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling stackvector v1.1.1 [INFO] [stderr] Checking lexical-core v0.4.0 [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 as BitAnd> [INFO] [stdout] <&usize as BitAnd<&usize>> [INFO] [stdout] > [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/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 as Div> [INFO] [stdout] <&usize as Div<&usize>> [INFO] [stdout] > [INFO] [stdout] >> [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: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/num/mod.rs:1281: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/num/mod.rs:1157: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 as Sub> [INFO] [stdout] <&u32 as Sub<&u32>> [INFO] [stdout] > [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: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:952: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 as Sub> [INFO] [stdout] <&u32 as Sub<&u32>> [INFO] [stdout] > [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: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 as Rem> [INFO] [stdout] <&usize as Rem<&usize>> [INFO] [stdout] > [INFO] [stdout] >> [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: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 as Div> [INFO] [stdout] <&usize as Div<&usize>> [INFO] [stdout] > [INFO] [stdout] >> [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: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 as Sub> [INFO] [stdout] <&u32 as Sub<&u32>> [INFO] [stdout] > [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: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 as Rem> [INFO] [stdout] <&usize as Rem<&usize>> [INFO] [stdout] > [INFO] [stdout] >> [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: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 as Div> [INFO] [stdout] <&usize as Div<&usize>> [INFO] [stdout] > [INFO] [stdout] >> [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: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 as Sub> [INFO] [stdout] <&u32 as Sub<&u32>> [INFO] [stdout] > [INFO] [stdout] [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` (lib) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "2934f5b4b1175be1c3f7e08226b5c7162c07c9e05eb38e3f124a8a2731996a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2934f5b4b1175be1c3f7e08226b5c7162c07c9e05eb38e3f124a8a2731996a8d", kill_on_drop: false }` [INFO] [stdout] 2934f5b4b1175be1c3f7e08226b5c7162c07c9e05eb38e3f124a8a2731996a8d [INFO] checking loganintech/rl_replay_decoder against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floganintech%2Frl_replay_decoder" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 78% (200/254) Updating files: 79% (201/254) Updating files: 80% (204/254) Updating files: 81% (206/254) Updating files: 82% (209/254) Updating files: 83% (211/254) Updating files: 84% (214/254) Updating files: 85% (216/254) Updating files: 86% (219/254) Updating files: 87% (221/254) Updating files: 88% (224/254) Updating files: 89% (227/254) Updating files: 90% (229/254) Updating files: 91% (232/254) Updating files: 92% (234/254) Updating files: 93% (237/254) Updating files: 94% (239/254) Updating files: 95% (242/254) Updating files: 96% (244/254) Updating files: 97% (247/254) Updating files: 98% (249/254) Updating files: 99% (252/254) Updating files: 100% (254/254) Updating files: 100% (254/254), done. [INFO] validating manifest of git repo https://github.com/loganintech/rl_replay_decoder on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/loganintech/rl_replay_decoder [INFO] finished tweaking git repo https://github.com/loganintech/rl_replay_decoder [INFO] tweaked toml for git repo https://github.com/loganintech/rl_replay_decoder written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/loganintech/rl_replay_decoder 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dc47690909e4de7b439241c69b241c72fca79b56eeb0525309f31953e06a020 [INFO] running `Command { std: "docker" "start" "-a" "3dc47690909e4de7b439241c69b241c72fca79b56eeb0525309f31953e06a020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dc47690909e4de7b439241c69b241c72fca79b56eeb0525309f31953e06a020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dc47690909e4de7b439241c69b241c72fca79b56eeb0525309f31953e06a020", kill_on_drop: false }` [INFO] [stdout] 3dc47690909e4de7b439241c69b241c72fca79b56eeb0525309f31953e06a020 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6066151474c5097847aa6daf82c740bfe663f48d715694193d940158323fc3e [INFO] running `Command { std: "docker" "start" "-a" "e6066151474c5097847aa6daf82c740bfe663f48d715694193d940158323fc3e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "e6066151474c5097847aa6daf82c740bfe663f48d715694193d940158323fc3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6066151474c5097847aa6daf82c740bfe663f48d715694193d940158323fc3e", kill_on_drop: false }` [INFO] [stdout] e6066151474c5097847aa6daf82c740bfe663f48d715694193d940158323fc3e