[INFO] cloning repository https://github.com/cactorium/buspirate-eeprom-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cactorium/buspirate-eeprom-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcactorium%2Fbuspirate-eeprom-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcactorium%2Fbuspirate-eeprom-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef41cac0d4e75face1b94db688aa1cc245c8d3dc [INFO] testing cactorium/buspirate-eeprom-rust against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcactorium%2Fbuspirate-eeprom-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cactorium/buspirate-eeprom-rust on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] 1306a23e0ad6215a7b20f4409ad774763f9cf53874da433440e6bfb311b2d56b [INFO] running `Command { std: "docker" "start" "-a" "1306a23e0ad6215a7b20f4409ad774763f9cf53874da433440e6bfb311b2d56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1306a23e0ad6215a7b20f4409ad774763f9cf53874da433440e6bfb311b2d56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1306a23e0ad6215a7b20f4409ad774763f9cf53874da433440e6bfb311b2d56b", kill_on_drop: false }` [INFO] [stdout] 1306a23e0ad6215a7b20f4409ad774763f9cf53874da433440e6bfb311b2d56b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b8f165523eb0d494f0ad162c72b02aae7f0b895aa1a0e67de62764bec7d1288 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7b8f165523eb0d494f0ad162c72b02aae7f0b895aa1a0e67de62764bec7d1288", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.23 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling ioctl-rs v0.1.5 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling serial v0.3.4 [INFO] [stderr] Compiling eeprom-writer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serial::prelude::*` [INFO] [stdout] --> src/bitbang.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serial::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `onewire::*` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use onewire::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(settings.set_baud_rate(serial::Baud115200)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/i2c.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut ret = self.write_then_read(&[(addr << 1) | 1], len); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | fn do_ds2431(mut port: &mut BitBangMode) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "7b8f165523eb0d494f0ad162c72b02aae7f0b895aa1a0e67de62764bec7d1288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8f165523eb0d494f0ad162c72b02aae7f0b895aa1a0e67de62764bec7d1288", kill_on_drop: false }` [INFO] [stdout] 7b8f165523eb0d494f0ad162c72b02aae7f0b895aa1a0e67de62764bec7d1288 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3d6b38990b333d1a22b5ed8e058e787895b5bf8233b9f3a6778a31216ffa964 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e3d6b38990b333d1a22b5ed8e058e787895b5bf8233b9f3a6778a31216ffa964", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling eeprom-writer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serial::prelude::*` [INFO] [stdout] --> src/bitbang.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serial::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `onewire::*` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use onewire::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(settings.set_baud_rate(serial::Baud115200)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/delays.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | pub static ref RESP_DELAY_REALLY_SHORT: Duration = Duration::from_millis(1); [INFO] [stdout] 7 | | pub static ref RESP_DELAY_SHORT: Duration = Duration::from_millis(2); [INFO] [stdout] 8 | | pub static ref RESP_DELAY_LONG: Duration = Duration::from_millis(100); [INFO] [stdout] 9 | | pub static ref RESP_DELAY_REALLY_LONG: Duration = Duration::from_millis(500); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/i2c.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let mut ret = self.write_then_read(&[(addr << 1) | 1], len); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | fn do_ds2431(mut port: &mut BitBangMode) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "e3d6b38990b333d1a22b5ed8e058e787895b5bf8233b9f3a6778a31216ffa964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d6b38990b333d1a22b5ed8e058e787895b5bf8233b9f3a6778a31216ffa964", kill_on_drop: false }` [INFO] [stdout] e3d6b38990b333d1a22b5ed8e058e787895b5bf8233b9f3a6778a31216ffa964 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd81607cc3a1f9a2d9050a58c90b4abf99c0a2f89c3ac604cf3624eb2641247d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cd81607cc3a1f9a2d9050a58c90b4abf99c0a2f89c3ac604cf3624eb2641247d", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused import: `serial::prelude::*` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/bitbang.rs:7:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 7 | use serial::prelude::*; [INFO] [stdout] [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 macro `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: use of deprecated constant `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 the macro `__lazy_static_create` (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/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] = note: `#[warn(unused_mut)]` on by default [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] warning: `eeprom-writer` (bin "eeprom-writer" test) generated 13 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/eeprom_writer-6f804ac372070660) [INFO] running `Command { std: "docker" "inspect" "cd81607cc3a1f9a2d9050a58c90b4abf99c0a2f89c3ac604cf3624eb2641247d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd81607cc3a1f9a2d9050a58c90b4abf99c0a2f89c3ac604cf3624eb2641247d", kill_on_drop: false }` [INFO] [stdout] cd81607cc3a1f9a2d9050a58c90b4abf99c0a2f89c3ac604cf3624eb2641247d