[INFO] updating cached repository https://github.com/cactorium/buspirate-eeprom-rust [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] ef41cac0d4e75face1b94db688aa1cc245c8d3dc [INFO] testing cactorium/buspirate-eeprom-rust against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcactorium%2Fbuspirate-eeprom-rust" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cactorium/buspirate-eeprom-rust on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/cactorium/buspirate-eeprom-rust [INFO] finished tweaking git repo https://github.com/cactorium/buspirate-eeprom-rust [INFO] tweaked toml for git repo https://github.com/cactorium/buspirate-eeprom-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/cactorium/buspirate-eeprom-rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ccf7a7bdf2dd0030421c0c5f042734da8874f365e740ea839addc24cd4caf9e [INFO] running `"docker" "start" "-a" "8ccf7a7bdf2dd0030421c0c5f042734da8874f365e740ea839addc24cd4caf9e"` [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling ioctl-rs v0.1.5 [INFO] [stderr] Compiling serial v0.3.4 [INFO] [stderr] Compiling eeprom-writer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | try!(settings.set_baud_rate(serial::Baud115200)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serial::prelude::*` [INFO] [stderr] --> src/bitbang.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use serial::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `onewire::*` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use onewire::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | fn do_ds2431(mut port: &mut BitBangMode) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/i2c.rs:146:13 [INFO] [stderr] | [INFO] [stderr] 146 | let mut ret = self.write_then_read(&[(addr << 1) | 1], len); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.60s [INFO] running `"docker" "inspect" "8ccf7a7bdf2dd0030421c0c5f042734da8874f365e740ea839addc24cd4caf9e"` [INFO] running `"docker" "rm" "-f" "8ccf7a7bdf2dd0030421c0c5f042734da8874f365e740ea839addc24cd4caf9e"` [INFO] [stdout] 8ccf7a7bdf2dd0030421c0c5f042734da8874f365e740ea839addc24cd4caf9e [INFO] running `"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" "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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c7b8a13b25f7c58de990228c989e17ba3d8d11b1f0dfe483951a3778bc62111e [INFO] running `"docker" "start" "-a" "c7b8a13b25f7c58de990228c989e17ba3d8d11b1f0dfe483951a3778bc62111e"` [INFO] [stderr] Compiling eeprom-writer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | try!(settings.set_baud_rate(serial::Baud115200)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serial::prelude::*` [INFO] [stderr] --> src/bitbang.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use serial::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `onewire::*` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use onewire::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | fn do_ds2431(mut port: &mut BitBangMode) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/i2c.rs:146:13 [INFO] [stderr] | [INFO] [stderr] 146 | let mut ret = self.write_then_read(&[(addr << 1) | 1], len); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `"docker" "inspect" "c7b8a13b25f7c58de990228c989e17ba3d8d11b1f0dfe483951a3778bc62111e"` [INFO] running `"docker" "rm" "-f" "c7b8a13b25f7c58de990228c989e17ba3d8d11b1f0dfe483951a3778bc62111e"` [INFO] [stdout] c7b8a13b25f7c58de990228c989e17ba3d8d11b1f0dfe483951a3778bc62111e [INFO] running `"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" "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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 133e0b6b69ce08cc77f088a2f66950c125650191caab6a66d836a67076c190d2 [INFO] running `"docker" "start" "-a" "133e0b6b69ce08cc77f088a2f66950c125650191caab6a66d836a67076c190d2"` [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | try!(settings.set_baud_rate(serial::Baud115200)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serial::prelude::*` [INFO] [stderr] --> src/bitbang.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use serial::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `onewire::*` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use onewire::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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/delays.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / lazy_static! { [INFO] [stderr] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stderr] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stderr] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stderr] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stderr] 10 | | } [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: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | fn do_ds2431(mut port: &mut BitBangMode) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/i2c.rs:146:13 [INFO] [stderr] | [INFO] [stderr] 146 | let mut ret = self.write_then_read(&[(addr << 1) | 1], len); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/eeprom_writer-6907a4281f823e72 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "133e0b6b69ce08cc77f088a2f66950c125650191caab6a66d836a67076c190d2"` [INFO] running `"docker" "rm" "-f" "133e0b6b69ce08cc77f088a2f66950c125650191caab6a66d836a67076c190d2"` [INFO] [stdout] 133e0b6b69ce08cc77f088a2f66950c125650191caab6a66d836a67076c190d2