[INFO] updating cached repository https://github.com/gmalette/ros [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fa26178b39e78e2200c7c64416f681e7840dca6e [INFO] checking gmalette/ros against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmalette%2Fros" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gmalette/ros on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/gmalette/ros [INFO] finished tweaking git repo https://github.com/gmalette/ros [INFO] tweaked toml for git repo https://github.com/gmalette/ros written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/gmalette/ros 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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] bb5f64243bfa6b47c24289025ff29c212cca4aeeb58895c7e3899deb8c002cd0 [INFO] running `"docker" "start" "-a" "bb5f64243bfa6b47c24289025ff29c212cca4aeeb58895c7e3899deb8c002cd0"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling getopts v0.2.14 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking route-recognizer v0.1.12 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Checking num_cpus v1.3.0 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking unicode-bidi v0.2.5 [INFO] [stderr] Checking unsafe-any v0.4.1 [INFO] [stderr] Checking mime v0.2.3 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Compiling tempdir v0.3.5 [INFO] [stderr] Checking conduit-mime-types v0.7.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking idna v0.1.1 [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[E0606]: casting `f32` as `isize` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/num-traits-0.1.37/src/cast.rs:242:56 [INFO] [stderr] | [INFO] [stderr] 242 | fn to_isize(&self) -> Option { Some(*self as isize) } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 271 | impl_to_primitive_float!(f32); [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/num-traits-0.1.37/src/cast.rs:242:56 [INFO] [stderr] | [INFO] [stderr] 242 | fn to_isize(&self) -> Option { Some(*self as isize) } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | impl_to_primitive_float!(f64); [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 `i8` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/num-traits-0.1.37/src/cast.rs:244:50 [INFO] [stderr] | [INFO] [stderr] 244 | fn to_i8(&self) -> Option { Some(*self as i8) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 271 | impl_to_primitive_float!(f32); [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/num-traits-0.1.37/src/cast.rs:244:50 [INFO] [stderr] | [INFO] [stderr] 244 | fn to_i8(&self) -> Option { Some(*self as i8) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | impl_to_primitive_float!(f64); [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/num-traits-0.1.37/src/cast.rs:246:52 [INFO] [stderr] | [INFO] [stderr] 246 | fn to_i16(&self) -> Option { Some(*self as i16) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 271 | impl_to_primitive_float!(f32); [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/num-traits-0.1.37/src/cast.rs:246:52 [INFO] [stderr] | [INFO] [stderr] 246 | fn to_i16(&self) -> Option { Some(*self as i16) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | impl_to_primitive_float!(f64); [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/num-traits-0.1.37/src/cast.rs:248:52 [INFO] [stderr] | [INFO] [stderr] 248 | fn to_i32(&self) -> Option { Some(*self as i32) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 271 | impl_to_primitive_float!(f32); [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/num-traits-0.1.37/src/cast.rs:248:52 [INFO] [stderr] | [INFO] [stderr] 248 | fn to_i32(&self) -> Option { Some(*self as i32) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | impl_to_primitive_float!(f64); [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/num-traits-0.1.37/src/cast.rs:250:52 [INFO] [stderr] | [INFO] [stderr] 250 | fn to_i64(&self) -> Option { Some(*self as i64) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 271 | impl_to_primitive_float!(f32); [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/num-traits-0.1.37/src/cast.rs:250:52 [INFO] [stderr] | [INFO] [stderr] 250 | fn to_i64(&self) -> Option { Some(*self as i64) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | impl_to_primitive_float!(f64); [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/num-traits-0.1.37/src/cast.rs:253:56 [INFO] [stderr] | [INFO] [stderr] 253 | fn to_usize(&self) -> Option { Some(*self as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 271 | impl_to_primitive_float!(f32); [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/num-traits-0.1.37/src/cast.rs:253:56 [INFO] [stderr] | [INFO] [stderr] 253 | fn to_usize(&self) -> Option { Some(*self as usize) } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | impl_to_primitive_float!(f64); [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/num-traits-0.1.37/src/cast.rs:255:50 [INFO] [stderr] | [INFO] [stderr] 255 | fn to_u8(&self) -> Option { Some(*self as u8) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 271 | impl_to_primitive_float!(f32); [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/num-traits-0.1.37/src/cast.rs:255:50 [INFO] [stderr] | [INFO] [stderr] 255 | fn to_u8(&self) -> Option { Some(*self as u8) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | impl_to_primitive_float!(f64); [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/num-traits-0.1.37/src/cast.rs:257:52 [INFO] [stderr] | [INFO] [stderr] 257 | fn to_u16(&self) -> Option { Some(*self as u16) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 271 | impl_to_primitive_float!(f32); [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/num-traits-0.1.37/src/cast.rs:257:52 [INFO] [stderr] | [INFO] [stderr] 257 | fn to_u16(&self) -> Option { Some(*self as u16) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | impl_to_primitive_float!(f64); [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/num-traits-0.1.37/src/cast.rs:259:52 [INFO] [stderr] | [INFO] [stderr] 259 | fn to_u32(&self) -> Option { Some(*self as u32) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 271 | impl_to_primitive_float!(f32); [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/num-traits-0.1.37/src/cast.rs:259:52 [INFO] [stderr] | [INFO] [stderr] 259 | fn to_u32(&self) -> Option { Some(*self as u32) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | impl_to_primitive_float!(f64); [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/num-traits-0.1.37/src/cast.rs:261:52 [INFO] [stderr] | [INFO] [stderr] 261 | fn to_u64(&self) -> Option { Some(*self as u64) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 271 | impl_to_primitive_float!(f32); [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 `u64` is invalid [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/num-traits-0.1.37/src/cast.rs:261:52 [INFO] [stderr] | [INFO] [stderr] 261 | fn to_u64(&self) -> Option { Some(*self as u64) } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | impl_to_primitive_float!(f64); [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/num-traits-0.1.37/src/cast.rs:351:33 [INFO] [stderr] | [INFO] [stderr] 351 | FromPrimitive::from_i64(n as i64) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 21 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `num-traits`. [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" "bb5f64243bfa6b47c24289025ff29c212cca4aeeb58895c7e3899deb8c002cd0"` [INFO] running `"docker" "rm" "-f" "bb5f64243bfa6b47c24289025ff29c212cca4aeeb58895c7e3899deb8c002cd0"` [INFO] [stdout] bb5f64243bfa6b47c24289025ff29c212cca4aeeb58895c7e3899deb8c002cd0