[INFO] crate tessel 0.3.1 is already in cache [INFO] checking tessel-0.3.1 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate tessel 0.3.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate tessel 0.3.1 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tessel 0.3.1 [INFO] finished tweaking crates.io crate tessel 0.3.1 [INFO] tweaked toml for crates.io crate tessel 0.3.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-11/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-11/source/src/main.rs` was erroneously implicitly accepted for binary `hello-rust`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] d28606029fd4260954aeb53fba945ff8494011b1fc65c04b6480215ad081485a [INFO] running `"docker" "start" "-a" "d28606029fd4260954aeb53fba945ff8494011b1fc65c04b6480215ad081485a"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `hello-rust`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking atomic-option v0.1.2 [INFO] [stderr] Checking unix_socket v0.5.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bit-set v0.4.0 [INFO] [stderr] Checking tessel v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 122 | try!(socket.write_all(&[raw_cmd::ECHO, data.len() as u8])); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol.rs:127:21 [INFO] [stderr] | [INFO] [stderr] 127 | try!(socket.write_all(&[raw_cmd::TX, slice.len() as u8])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol.rs:128:21 [INFO] [stderr] | [INFO] [stderr] 128 | try!(socket.write_all(slice)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/protocol.rs:134:17 [INFO] [stderr] | [INFO] [stderr] 134 | try!(socket.write_all(&[raw_cmd::TXRX, data.len() as u8])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:292:9 [INFO] [stderr] | [INFO] [stderr] 292 | try!(sock.read_exact(&mut read_byte)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:307:9 [INFO] [stderr] | [INFO] [stderr] 307 | try!(sock.read_exact(&mut read_byte)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | / lazy_static! { [INFO] [stderr] 51 | | // Create a tuple with two ports, one on each domain socket path. [INFO] [stderr] 52 | | static ref TESSEL_PORTS: AtomicOption<(Port, Port)> = AtomicOption::new(Box::new(( [INFO] [stderr] 53 | | Port::new(PORT_A_UDS_PATH), [INFO] [stderr] 54 | | Port::new(PORT_B_UDS_PATH), [INFO] [stderr] 55 | | ))); [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:50:1 [INFO] [stderr] | [INFO] [stderr] 50 | / lazy_static! { [INFO] [stderr] 51 | | // Create a tuple with two ports, one on each domain socket path. [INFO] [stderr] 52 | | static ref TESSEL_PORTS: AtomicOption<(Port, Port)> = AtomicOption::new(Box::new(( [INFO] [stderr] 53 | | Port::new(PORT_A_UDS_PATH), [INFO] [stderr] 54 | | Port::new(PORT_B_UDS_PATH), [INFO] [stderr] 55 | | ))); [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] error[E0606]: casting `f64` as `u32` is invalid [INFO] [stderr] --> src/lib.rs:27:28 [INFO] [stderr] | [INFO] [stderr] 27 | const MCU_MAX_SPEED: u32 = 48e6 as u32; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i64` is invalid [INFO] [stderr] --> src/lib.rs:243:12 [INFO] [stderr] | [INFO] [stderr] 243 | if (low as i64) < u8::min_value() as i64 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/lib.rs:248:20 [INFO] [stderr] | [INFO] [stderr] 248 | return low as u8; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `tessel`. [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" "d28606029fd4260954aeb53fba945ff8494011b1fc65c04b6480215ad081485a"` [INFO] running `"docker" "rm" "-f" "d28606029fd4260954aeb53fba945ff8494011b1fc65c04b6480215ad081485a"` [INFO] [stdout] d28606029fd4260954aeb53fba945ff8494011b1fc65c04b6480215ad081485a