[INFO] fetching crate xml5ever 0.16.1... [INFO] checking xml5ever-0.16.1 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate xml5ever 0.16.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate xml5ever 0.16.1 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate xml5ever 0.16.1 [INFO] finished tweaking crates.io crate xml5ever 0.16.1 [INFO] tweaked toml for crates.io crate xml5ever 0.16.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate xml5ever 0.16.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] de5a4ee3d988e19d5b703244e7acae395c2cdb4dc40c4000bda2b7d508bd0299 [INFO] running `"docker" "start" "-a" "de5a4ee3d988e19d5b703244e7acae395c2cdb4dc40c4000bda2b7d508bd0299"` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking siphasher v0.3.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking new_debug_unreachable v1.0.3 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking getopts v0.2.14 [INFO] [stderr] Checking term v0.4.5 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] error[E0606]: casting `f32` as `i8` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i16` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `isize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u8` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u16` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i8` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i16` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `isize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u16` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u32` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `usize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cast-0.2.2/src/lib.rs:296:39 [INFO] [stderr] | [INFO] [stderr] 296 | return Ok(src as $dst); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 448 | / from_float! { [INFO] [stderr] 449 | | f32 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 450 | | f64 => i8, i16, i32, i64, isize, u8, u16, u32, u64, usize; [INFO] [stderr] 451 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] error: could not compile `cast`. [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[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.14/src/lib.rs:1008:33 [INFO] [stderr] | [INFO] [stderr] 955 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stderr] | ---------------------------------------- borrow of `state` occurs here [INFO] [stderr] ... [INFO] [stderr] 959 | state = match (state, whitespace, limit) { [INFO] [stderr] | ----- borrow occurs due to use of `state` in closure [INFO] [stderr] ... [INFO] [stderr] 1008 | while cont && match state { B | C => true, A => false } { [INFO] [stderr] | ^ use of borrowed `state` [INFO] [stderr] 1009 | machine(&mut cont, (fake_i, ' ')); [INFO] [stderr] | ------- borrow later used here [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0503`. [INFO] [stderr] error: could not compile `getopts`. [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 `"docker" "inspect" "de5a4ee3d988e19d5b703244e7acae395c2cdb4dc40c4000bda2b7d508bd0299"` [INFO] running `"docker" "rm" "-f" "de5a4ee3d988e19d5b703244e7acae395c2cdb4dc40c4000bda2b7d508bd0299"` [INFO] [stdout] de5a4ee3d988e19d5b703244e7acae395c2cdb4dc40c4000bda2b7d508bd0299