[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 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-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cactorium/buspirate-eeprom-rust on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-12/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff8f0b4bae69a89fff6a6efc2cd39bd802408e50a75e012c966c27afcbf6e85a [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" "ff8f0b4bae69a89fff6a6efc2cd39bd802408e50a75e012c966c27afcbf6e85a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff8f0b4bae69a89fff6a6efc2cd39bd802408e50a75e012c966c27afcbf6e85a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8f0b4bae69a89fff6a6efc2cd39bd802408e50a75e012c966c27afcbf6e85a", kill_on_drop: false }` [INFO] [stdout] ff8f0b4bae69a89fff6a6efc2cd39bd802408e50a75e012c966c27afcbf6e85a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 721bcde4d99bfd45704314059e6c5c5f56f2db19f5b981f8c254788ba47664d9 [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" "721bcde4d99bfd45704314059e6c5c5f56f2db19f5b981f8c254788ba47664d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.23 [INFO] [stderr] Compiling lazy_static v0.2.8 [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] [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.84s [INFO] running `Command { std: "docker" "inspect" "721bcde4d99bfd45704314059e6c5c5f56f2db19f5b981f8c254788ba47664d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "721bcde4d99bfd45704314059e6c5c5f56f2db19f5b981f8c254788ba47664d9", kill_on_drop: false }` [INFO] [stdout] 721bcde4d99bfd45704314059e6c5c5f56f2db19f5b981f8c254788ba47664d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a8e3ceb67a068f2db3aa82b4255a924cadc8cd2ee6fb234c512329f8bc91277 [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" "2a8e3ceb67a068f2db3aa82b4255a924cadc8cd2ee6fb234c512329f8bc91277", kill_on_drop: false }` [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 0.91s [INFO] running `Command { std: "docker" "inspect" "2a8e3ceb67a068f2db3aa82b4255a924cadc8cd2ee6fb234c512329f8bc91277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a8e3ceb67a068f2db3aa82b4255a924cadc8cd2ee6fb234c512329f8bc91277", kill_on_drop: false }` [INFO] [stdout] 2a8e3ceb67a068f2db3aa82b4255a924cadc8cd2ee6fb234c512329f8bc91277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 162b2bc2f6703ddc38f28147a907dfa189d18f15cc55b1faa032dc8353481728 [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" "162b2bc2f6703ddc38f28147a907dfa189d18f15cc55b1faa032dc8353481728", kill_on_drop: false }` [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 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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "162b2bc2f6703ddc38f28147a907dfa189d18f15cc55b1faa032dc8353481728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "162b2bc2f6703ddc38f28147a907dfa189d18f15cc55b1faa032dc8353481728", kill_on_drop: false }` [INFO] [stdout] 162b2bc2f6703ddc38f28147a907dfa189d18f15cc55b1faa032dc8353481728