[INFO] cloning repository https://github.com/sombrastudios/js [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sombrastudios/js" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsombrastudios%2Fjs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsombrastudios%2Fjs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54e00184d5687de01da61d06c2bdfe18fb71a16a [INFO] checking sombrastudios/js against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsombrastudios%2Fjs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sombrastudios/js on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sombrastudios/js [INFO] finished tweaking git repo https://github.com/sombrastudios/js [INFO] tweaked toml for git repo https://github.com/sombrastudios/js written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/sombrastudios/js already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gc v0.3.3 [INFO] [stderr] Downloaded gc_derive v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9ad210478366882b7fa9b59bb5b4c5e91be736b7d009ac14920e5b6c1adda36b [INFO] running `Command { std: "docker" "start" "-a" "9ad210478366882b7fa9b59bb5b4c5e91be736b7d009ac14920e5b6c1adda36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ad210478366882b7fa9b59bb5b4c5e91be736b7d009ac14920e5b6c1adda36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ad210478366882b7fa9b59bb5b4c5e91be736b7d009ac14920e5b6c1adda36b", kill_on_drop: false }` [INFO] [stdout] 9ad210478366882b7fa9b59bb5b4c5e91be736b7d009ac14920e5b6c1adda36b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 64ff0d61b303fedf6e7ba426be8b64f6aacf0114f17fcf08c36548b053fd6de9 [INFO] running `Command { std: "docker" "start" "-a" "64ff0d61b303fedf6e7ba426be8b64f6aacf0114f17fcf08c36548b053fd6de9", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling quote v0.3.15 [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 gc v0.3.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking stackvector v1.0.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/attr.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / named!(pub outer_attr -> Attribute, alt!( [INFO] [stdout] 160 | | do_parse!( [INFO] [stdout] 161 | | punct!("#") >> [INFO] [stdout] 162 | | punct!("[") >> [INFO] [stdout] ... | [INFO] [stdout] 198 | | ) [INFO] [stdout] 199 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/constant.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / named!(pub const_expr -> ConstExpr, do_parse!( [INFO] [stdout] 56 | | mut e: alt!( [INFO] [stdout] 57 | | expr_unary [INFO] [stdout] 58 | | | [INFO] [stdout] ... | [INFO] [stdout] 88 | | (e) [INFO] [stdout] 89 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/constant.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / named!(pub const_expr -> ConstExpr, do_parse!( [INFO] [stdout] 56 | | mut e: alt!( [INFO] [stdout] 57 | | expr_unary [INFO] [stdout] 58 | | | [INFO] [stdout] ... | [INFO] [stdout] 88 | | (e) [INFO] [stdout] 89 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/constant.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / named!(pub const_expr -> ConstExpr, do_parse!( [INFO] [stdout] 56 | | mut e: alt!( [INFO] [stdout] 57 | | expr_unary [INFO] [stdout] 58 | | | [INFO] [stdout] ... | [INFO] [stdout] 88 | | (e) [INFO] [stdout] 89 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/constant.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / named!(pub const_expr -> ConstExpr, do_parse!( [INFO] [stdout] 56 | | mut e: alt!( [INFO] [stdout] 57 | | expr_unary [INFO] [stdout] 58 | | | [INFO] [stdout] ... | [INFO] [stdout] 88 | | (e) [INFO] [stdout] 89 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `tap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nom v5.0.0 [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/mac.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / named!(doc_comment -> String, alt!( [INFO] [stdout] 271 | | do_parse!( [INFO] [stdout] 272 | | punct!("//!") >> [INFO] [stdout] 273 | | content: take_until!("\n") >> [INFO] [stdout] ... | [INFO] [stdout] 296 | | ) [INFO] [stdout] 297 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/mac.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / named!(doc_comment -> String, alt!( [INFO] [stdout] 271 | | do_parse!( [INFO] [stdout] 272 | | punct!("//!") >> [INFO] [stdout] 273 | | content: take_until!("\n") >> [INFO] [stdout] ... | [INFO] [stdout] 296 | | ) [INFO] [stdout] 297 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/ty.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / named!(ty_rptr -> Ty, do_parse!( [INFO] [stdout] 319 | | punct!("&") >> [INFO] [stdout] 320 | | life: option!(lifetime) >> [INFO] [stdout] 321 | | mutability: mutability >> [INFO] [stdout] ... | [INFO] [stdout] 326 | | }))) [INFO] [stdout] 327 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/ty.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | / named!(ty_bare_fn -> Ty, do_parse!( [INFO] [stdout] 330 | | lifetimes: opt_vec!(do_parse!( [INFO] [stdout] 331 | | keyword!("for") >> [INFO] [stdout] 332 | | punct!("<") >> [INFO] [stdout] ... | [INFO] [stdout] 359 | | }))) [INFO] [stdout] 360 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/ty.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | / named!(ty_path -> Ty, do_parse!( [INFO] [stdout] 372 | | qpath: qpath >> [INFO] [stdout] 373 | | parenthesized: cond!( [INFO] [stdout] 374 | | qpath.1.segments.last().unwrap().parameters == PathParameters::none(), [INFO] [stdout] ... | [INFO] [stdout] 396 | | }) [INFO] [stdout] 397 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/ty.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | / named!(path_segment -> PathSegment, alt!( [INFO] [stdout] 482 | | do_parse!( [INFO] [stdout] 483 | | id: option!(ident) >> [INFO] [stdout] 484 | | punct!("<") >> [INFO] [stdout] ... | [INFO] [stdout] 519 | | ), Into::into) [INFO] [stdout] 520 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/ty.rs:571:5 [INFO] [stdout] | [INFO] [stdout] 571 | / named!(pub abi -> Abi, do_parse!( [INFO] [stdout] 572 | | keyword!("extern") >> [INFO] [stdout] 573 | | name: option!(quoted_string) >> [INFO] [stdout] 574 | | (match name { [INFO] [stdout] ... | [INFO] [stdout] 577 | | }) [INFO] [stdout] 578 | | )); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `option` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lexical-core v0.4.0 [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syn` [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] 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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] 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/github.com-1ecc6299db9ec823/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] 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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] 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/github.com-1ecc6299db9ec823/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] 1079 | Limb::BITS.checked_mul(x.len()) [INFO] [stdout] 1080 | .map(|v| v - nlz) [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/github.com-1ecc6299db9ec823/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] 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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 mod `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] 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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 mod `usize` by `u32` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "64ff0d61b303fedf6e7ba426be8b64f6aacf0114f17fcf08c36548b053fd6de9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ff0d61b303fedf6e7ba426be8b64f6aacf0114f17fcf08c36548b053fd6de9", kill_on_drop: false }` [INFO] [stdout] 64ff0d61b303fedf6e7ba426be8b64f6aacf0114f17fcf08c36548b053fd6de9