[INFO] cloning repository https://github.com/zzeroo/xmz-test-shiftregisters
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zzeroo/xmz-test-shiftregisters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzeroo%2Fxmz-test-shiftregisters", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzeroo%2Fxmz-test-shiftregisters'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44980fb70e3338f3f37dc7036d29c0c60e4287a7
[INFO] checking zzeroo/xmz-test-shiftregisters against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzeroo%2Fxmz-test-shiftregisters" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/zzeroo/xmz-test-shiftregisters on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/zzeroo/xmz-test-shiftregisters
[INFO] finished tweaking git repo https://github.com/zzeroo/xmz-test-shiftregisters
[INFO] tweaked toml for git repo https://github.com/zzeroo/xmz-test-shiftregisters written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/zzeroo/xmz-test-shiftregisters already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded nix v0.6.0
[INFO] [stderr]   Downloaded memchr v0.1.11
[INFO] [stderr]   Downloaded serde v1.0.8
[INFO] [stderr]   Downloaded regex v0.1.80
[INFO] [stderr]   Downloaded semver v0.1.20
[INFO] [stderr]   Downloaded regex-syntax v0.3.9
[INFO] [stderr]   Downloaded serde_derive v1.0.8
[INFO] [stderr]   Downloaded thread-id v2.0.0
[INFO] [stderr]   Downloaded utf8-ranges v0.1.3
[INFO] [stderr]   Downloaded rustc_version v0.1.7
[INFO] [stderr]   Downloaded clap v2.24.2
[INFO] [stderr]   Downloaded aho-corasick v0.5.3
[INFO] [stderr]   Downloaded thread_local v0.2.7
[INFO] [stderr]   Downloaded libc v0.2.23
[INFO] [stderr]   Downloaded atty v0.2.2
[INFO] [stderr]   Downloaded bitflags v0.8.2
[INFO] [stderr]   Downloaded unicode-segmentation v1.2.0
[INFO] [stderr]   Downloaded sysfs_gpio v0.5.0
[INFO] [stderr]   Downloaded cfg-if v0.1.0
[INFO] [stderr]   Downloaded rand v0.3.15
[INFO] [stderr]   Downloaded gcc v0.3.46
[INFO] [stderr]   Downloaded backtrace-sys v0.1.10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5aeb52ae96ec1e4070824a9088f5088618259f12da84269ef25b71e314ba0d49
[INFO] running `Command { std: "docker" "start" "-a" "5aeb52ae96ec1e4070824a9088f5088618259f12da84269ef25b71e314ba0d49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5aeb52ae96ec1e4070824a9088f5088618259f12da84269ef25b71e314ba0d49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5aeb52ae96ec1e4070824a9088f5088618259f12da84269ef25b71e314ba0d49", kill_on_drop: false }`
[INFO] [stdout] 5aeb52ae96ec1e4070824a9088f5088618259f12da84269ef25b71e314ba0d49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc23b8fd68564ced7f6d316714c6336b384a52680081ef6f9b5237de6c73e2ef
[INFO] running `Command { std: "docker" "start" "-a" "dc23b8fd68564ced7f6d316714c6336b384a52680081ef6f9b5237de6c73e2ef", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.23
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]    Compiling gcc v0.3.46
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking cfg-if v0.1.0
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking unicode-width v0.1.4
[INFO] [stderr]     Checking ansi_term v0.9.0
[INFO] [stderr]     Checking bitflags v0.8.2
[INFO] [stderr]     Checking unicode-segmentation v1.2.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking vec_map v0.8.0
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]    Compiling serde_derive v1.0.8
[INFO] [stderr]     Checking serde v1.0.8
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking atty v0.2.2
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking clap v2.24.2
[INFO] [stderr]    Compiling nix v0.6.0
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]    Compiling backtrace-sys v0.1.10
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking sysfs_gpio v0.5.0
[INFO] [stderr]     Checking backtrace v0.3.2
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]     Checking xmz-test-shiftregisters v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:224:9
[INFO] [stdout]     |
[INFO] [stdout] 224 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         try!(self.reset());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:258:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:282:9
[INFO] [stdout]     |
[INFO] [stdout] 282 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |         try!(self.reset());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:287:9
[INFO] [stdout]     |
[INFO] [stdout] 287 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:296:45
[INFO] [stdout]     |
[INFO] [stdout] 296 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).export()) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:297:45
[INFO] [stdout]     |
[INFO] [stdout] 297 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).export()) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:298:51
[INFO] [stdout]     |
[INFO] [stdout] 298 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).export()) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:299:51
[INFO] [stdout]     |
[INFO] [stdout] 299 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).export()) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:307:45
[INFO] [stdout]     |
[INFO] [stdout] 307 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:308:45
[INFO] [stdout]     |
[INFO] [stdout] 308 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).set_value(0)) }; // !OE pin low == Shift register enabled.
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:309:45
[INFO] [stdout]     |
[INFO] [stdout] 309 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:310:45
[INFO] [stdout]     |
[INFO] [stdout] 310 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(0)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:311:51
[INFO] [stdout]     |
[INFO] [stdout] 311 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:312:51
[INFO] [stdout]     |
[INFO] [stdout] 312 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:313:51
[INFO] [stdout]     |
[INFO] [stdout] 313 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:314:51
[INFO] [stdout]     |
[INFO] [stdout] 314 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:323:51
[INFO] [stdout]     |
[INFO] [stdout] 323 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(1)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:324:51
[INFO] [stdout]     |
[INFO] [stdout] 324 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:332:51
[INFO] [stdout]     |
[INFO] [stdout] 332 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(1)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:333:51
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         try!(self.export_pins());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |         try!(self.set_pin_direction_output());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |         try!(self.latch_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:352:13
[INFO] [stdout]     |
[INFO] [stdout] 352 |             try!(self.clock_in());
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:349:60
[INFO] [stdout]     |
[INFO] [stdout] 349 |                 1 => { if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(1)) } },
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:350:60
[INFO] [stdout]     |
[INFO] [stdout] 350 |                 _ => { if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(0)) } },
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `errors::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use errors::*;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]  --> src/errors.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / error_chain! {
[INFO] [stdout] 2 | |
[INFO] [stdout] 3 | |     foreign_links {
[INFO] [stdout] 4 | |         SysfsGpio(::sysfs_gpio::Error);
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]  --> src/errors.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / error_chain! {
[INFO] [stdout] 2 | |
[INFO] [stdout] 3 | |     foreign_links {
[INFO] [stdout] 4 | |         SysfsGpio(::sysfs_gpio::Error);
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:224:9
[INFO] [stdout]     |
[INFO] [stdout] 224 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         try!(self.reset());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:258:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:282:9
[INFO] [stdout]     |
[INFO] [stdout] 282 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |         try!(self.reset());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:287:9
[INFO] [stdout]     |
[INFO] [stdout] 287 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:296:45
[INFO] [stdout]     |
[INFO] [stdout] 296 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).export()) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:297:45
[INFO] [stdout]     |
[INFO] [stdout] 297 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).export()) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:298:51
[INFO] [stdout]     |
[INFO] [stdout] 298 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).export()) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:299:51
[INFO] [stdout]     |
[INFO] [stdout] 299 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).export()) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:307:45
[INFO] [stdout]     |
[INFO] [stdout] 307 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:308:45
[INFO] [stdout]     |
[INFO] [stdout] 308 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).set_value(0)) }; // !OE pin low == Shift register enabled.
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:309:45
[INFO] [stdout]     |
[INFO] [stdout] 309 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:310:45
[INFO] [stdout]     |
[INFO] [stdout] 310 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(0)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:311:51
[INFO] [stdout]     |
[INFO] [stdout] 311 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:312:51
[INFO] [stdout]     |
[INFO] [stdout] 312 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:313:51
[INFO] [stdout]     |
[INFO] [stdout] 313 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:314:51
[INFO] [stdout]     |
[INFO] [stdout] 314 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:323:51
[INFO] [stdout]     |
[INFO] [stdout] 323 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(1)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:324:51
[INFO] [stdout]     |
[INFO] [stdout] 324 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:332:51
[INFO] [stdout]     |
[INFO] [stdout] 332 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(1)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:333:51
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         try!(self.export_pins());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |         try!(self.set_pin_direction_output());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |         try!(self.latch_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:352:13
[INFO] [stdout]     |
[INFO] [stdout] 352 |             try!(self.clock_in());
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:349:60
[INFO] [stdout]     |
[INFO] [stdout] 349 |                 1 => { if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(1)) } },
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:350:60
[INFO] [stdout]     |
[INFO] [stdout] 350 |                 _ => { if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(0)) } },
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `errors::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use errors::*;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]  --> src/errors.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / error_chain! {
[INFO] [stdout] 2 | |
[INFO] [stdout] 3 | |     foreign_links {
[INFO] [stdout] 4 | |         SysfsGpio(::sysfs_gpio::Error);
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]  --> src/errors.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / error_chain! {
[INFO] [stdout] 2 | |
[INFO] [stdout] 3 | |     foreign_links {
[INFO] [stdout] 4 | |         SysfsGpio(::sysfs_gpio::Error);
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set`, `get`, `clear`, `toggle`, and `test_random` are never used
[INFO] [stdout]    --> src/shift_register.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 45  | impl ShiftRegister {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn set(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn get(&self, num: u64) -> bool {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn clear(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn toggle(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn test_random(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         leds.test();
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let _ = leds.test();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         relais.test();
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _ = relais.test();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set`, `get`, `clear`, `toggle`, and `test_random` are never used
[INFO] [stdout]    --> src/shift_register.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 45  | impl ShiftRegister {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn set(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn get(&self, num: u64) -> bool {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn clear(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn toggle(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn test_random(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         leds.test();
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let _ = leds.test();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         relais.test();
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _ = relais.test();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 21.05s
[INFO] running `Command { std: "docker" "inspect" "dc23b8fd68564ced7f6d316714c6336b384a52680081ef6f9b5237de6c73e2ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc23b8fd68564ced7f6d316714c6336b384a52680081ef6f9b5237de6c73e2ef", kill_on_drop: false }`
[INFO] [stdout] dc23b8fd68564ced7f6d316714c6336b384a52680081ef6f9b5237de6c73e2ef
[INFO] checking zzeroo/xmz-test-shiftregisters against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzzeroo%2Fxmz-test-shiftregisters" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/zzeroo/xmz-test-shiftregisters on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/zzeroo/xmz-test-shiftregisters
[INFO] finished tweaking git repo https://github.com/zzeroo/xmz-test-shiftregisters
[INFO] tweaked toml for git repo https://github.com/zzeroo/xmz-test-shiftregisters written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/zzeroo/xmz-test-shiftregisters already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 10af56e8dfea2545241bfca6676006fd9efc885b2f63c1b8622c174ce4ff1184
[INFO] running `Command { std: "docker" "start" "-a" "10af56e8dfea2545241bfca6676006fd9efc885b2f63c1b8622c174ce4ff1184", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "10af56e8dfea2545241bfca6676006fd9efc885b2f63c1b8622c174ce4ff1184", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10af56e8dfea2545241bfca6676006fd9efc885b2f63c1b8622c174ce4ff1184", kill_on_drop: false }`
[INFO] [stdout] 10af56e8dfea2545241bfca6676006fd9efc885b2f63c1b8622c174ce4ff1184
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2135434e361fee15c4240c1f8eb908d078d7c867f6db7428b55f1cb38ec33d3d
[INFO] running `Command { std: "docker" "start" "-a" "2135434e361fee15c4240c1f8eb908d078d7c867f6db7428b55f1cb38ec33d3d", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.23
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling gcc v0.3.46
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking cfg-if v0.1.0
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking ansi_term v0.9.0
[INFO] [stderr]     Checking unicode-width v0.1.4
[INFO] [stderr]     Checking vec_map v0.8.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]     Checking unicode-segmentation v1.2.0
[INFO] [stderr]     Checking bitflags v0.8.2
[INFO] [stderr]    Compiling serde_derive v1.0.8
[INFO] [stderr]     Checking serde v1.0.8
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking atty v0.2.2
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]    Compiling nix v0.6.0
[INFO] [stderr]     Checking clap v2.24.2
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]    Compiling backtrace-sys v0.1.10
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking sysfs_gpio v0.5.0
[INFO] [stderr]     Checking backtrace v0.3.2
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]     Checking xmz-test-shiftregisters v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:224:9
[INFO] [stdout]     |
[INFO] [stdout] 224 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         try!(self.reset());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:258:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:282:9
[INFO] [stdout]     |
[INFO] [stdout] 282 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |         try!(self.reset());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:287:9
[INFO] [stdout]     |
[INFO] [stdout] 287 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:296:45
[INFO] [stdout]     |
[INFO] [stdout] 296 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).export()) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:297:45
[INFO] [stdout]     |
[INFO] [stdout] 297 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).export()) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:298:51
[INFO] [stdout]     |
[INFO] [stdout] 298 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).export()) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:299:51
[INFO] [stdout]     |
[INFO] [stdout] 299 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).export()) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:307:45
[INFO] [stdout]     |
[INFO] [stdout] 307 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:308:45
[INFO] [stdout]     |
[INFO] [stdout] 308 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).set_value(0)) }; // !OE pin low == Shift register enabled.
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:309:45
[INFO] [stdout]     |
[INFO] [stdout] 309 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:310:45
[INFO] [stdout]     |
[INFO] [stdout] 310 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(0)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:311:51
[INFO] [stdout]     |
[INFO] [stdout] 311 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:312:51
[INFO] [stdout]     |
[INFO] [stdout] 312 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:313:51
[INFO] [stdout]     |
[INFO] [stdout] 313 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:314:51
[INFO] [stdout]     |
[INFO] [stdout] 314 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:323:51
[INFO] [stdout]     |
[INFO] [stdout] 323 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(1)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:324:51
[INFO] [stdout]     |
[INFO] [stdout] 324 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:332:51
[INFO] [stdout]     |
[INFO] [stdout] 332 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(1)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:333:51
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         try!(self.export_pins());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |         try!(self.set_pin_direction_output());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |         try!(self.latch_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:352:13
[INFO] [stdout]     |
[INFO] [stdout] 352 |             try!(self.clock_in());
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:349:60
[INFO] [stdout]     |
[INFO] [stdout] 349 |                 1 => { if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(1)) } },
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:350:60
[INFO] [stdout]     |
[INFO] [stdout] 350 |                 _ => { if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(0)) } },
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `errors::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use errors::*;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:203:9
[INFO] [stdout]     |
[INFO] [stdout] 203 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:224:9
[INFO] [stdout]     |
[INFO] [stdout] 224 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:253:9
[INFO] [stdout]     |
[INFO] [stdout] 253 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         try!(self.reset());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:258:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:282:9
[INFO] [stdout]     |
[INFO] [stdout] 282 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |         try!(self.reset());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:287:9
[INFO] [stdout]     |
[INFO] [stdout] 287 |         try!(self.shift_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:296:45
[INFO] [stdout]     |
[INFO] [stdout] 296 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).export()) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:297:45
[INFO] [stdout]     |
[INFO] [stdout] 297 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).export()) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:298:51
[INFO] [stdout]     |
[INFO] [stdout] 298 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).export()) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:299:51
[INFO] [stdout]     |
[INFO] [stdout] 299 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).export()) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:307:45
[INFO] [stdout]     |
[INFO] [stdout] 307 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:308:45
[INFO] [stdout]     |
[INFO] [stdout] 308 |         if let Some(oe_pin) = self.oe_pin { try!(Pin::new(oe_pin).set_value(0)) }; // !OE pin low == Shift register enabled.
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:309:45
[INFO] [stdout]     |
[INFO] [stdout] 309 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:310:45
[INFO] [stdout]     |
[INFO] [stdout] 310 |         if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(0)) };
[INFO] [stdout]     |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:311:51
[INFO] [stdout]     |
[INFO] [stdout] 311 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:312:51
[INFO] [stdout]     |
[INFO] [stdout] 312 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:313:51
[INFO] [stdout]     |
[INFO] [stdout] 313 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_direction(Direction::Out)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:314:51
[INFO] [stdout]     |
[INFO] [stdout] 314 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:323:51
[INFO] [stdout]     |
[INFO] [stdout] 323 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(1)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:324:51
[INFO] [stdout]     |
[INFO] [stdout] 324 |         if let Some(clock_pin) = self.clock_pin { try!(Pin::new(clock_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:332:51
[INFO] [stdout]     |
[INFO] [stdout] 332 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(1)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:333:51
[INFO] [stdout]     |
[INFO] [stdout] 333 |         if let Some(latch_pin) = self.latch_pin { try!(Pin::new(latch_pin).set_value(0)) };
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |         try!(self.export_pins());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:344:9
[INFO] [stdout]     |
[INFO] [stdout] 344 |         try!(self.set_pin_direction_output());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:354:9
[INFO] [stdout]     |
[INFO] [stdout] 354 |         try!(self.latch_out());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:352:13
[INFO] [stdout]     |
[INFO] [stdout] 352 |             try!(self.clock_in());
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:349:60
[INFO] [stdout]     |
[INFO] [stdout] 349 |                 1 => { if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(1)) } },
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/shift_register.rs:350:60
[INFO] [stdout]     |
[INFO] [stdout] 350 |                 _ => { if let Some(ds_pin) = self.ds_pin { try!(Pin::new(ds_pin).set_value(0)) } },
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `errors::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use errors::*;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]  --> src/errors.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / error_chain! {
[INFO] [stdout] 2 | |
[INFO] [stdout] 3 | |     foreign_links {
[INFO] [stdout] 4 | |         SysfsGpio(::sysfs_gpio::Error);
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]  --> src/errors.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / error_chain! {
[INFO] [stdout] 2 | |
[INFO] [stdout] 3 | |     foreign_links {
[INFO] [stdout] 4 | |         SysfsGpio(::sysfs_gpio::Error);
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]  --> src/errors.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / error_chain! {
[INFO] [stdout] 2 | |
[INFO] [stdout] 3 | |     foreign_links {
[INFO] [stdout] 4 | |         SysfsGpio(::sysfs_gpio::Error);
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]  --> src/errors.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / error_chain! {
[INFO] [stdout] 2 | |
[INFO] [stdout] 3 | |     foreign_links {
[INFO] [stdout] 4 | |         SysfsGpio(::sysfs_gpio::Error);
[INFO] [stdout] 5 | |     }
[INFO] [stdout] 6 | | }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set`, `get`, `clear`, `toggle`, and `test_random` are never used
[INFO] [stdout]    --> src/shift_register.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 45  | impl ShiftRegister {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn set(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn get(&self, num: u64) -> bool {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn clear(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn toggle(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn test_random(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         leds.test();
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let _ = leds.test();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         relais.test();
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _ = relais.test();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/shift_register.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ShiftRegisterType`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/shift_register.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ShiftRegisterType`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/shift_register.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ShiftRegister`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/shift_register.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ShiftRegister`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set`, `get`, `clear`, `toggle`, and `test_random` are never used
[INFO] [stdout]    --> src/shift_register.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 45  | impl ShiftRegister {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn set(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn get(&self, num: u64) -> bool {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |     pub fn clear(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub fn toggle(&mut self, num: u64) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn test_random(&mut self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xmz-test-shiftregisters` (bin "xmz-test-shiftregisters" test) due to 5 previous errors; 38 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         leds.test();
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let _ = leds.test();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         relais.test();
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let _ = relais.test();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/shift_register.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ShiftRegisterType`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/shift_register.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ShiftRegisterType`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/shift_register.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ShiftRegister`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/shift_register.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ShiftRegister`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xmz-test-shiftregisters` (bin "xmz-test-shiftregisters") due to 5 previous errors; 38 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2135434e361fee15c4240c1f8eb908d078d7c867f6db7428b55f1cb38ec33d3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2135434e361fee15c4240c1f8eb908d078d7c867f6db7428b55f1cb38ec33d3d", kill_on_drop: false }`
[INFO] [stdout] 2135434e361fee15c4240c1f8eb908d078d7c867f6db7428b55f1cb38ec33d3d
