[INFO] crate sx1509 0.2.0 is already in cache
[INFO] extracting crate sx1509 0.2.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/sx1509/0.2.0
[INFO] extracting crate sx1509 0.2.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/sx1509/0.2.0
[INFO] validating manifest of sx1509-0.2.0 on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of sx1509-0.2.0 on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing sx1509-0.2.0
[INFO] finished frobbing sx1509-0.2.0
[INFO] frobbed toml for sx1509-0.2.0 written to work/ex/beta-1.37-6/sources/1.36.0/reg/sx1509/0.2.0/Cargo.toml
[INFO] started frobbing sx1509-0.2.0
[INFO] finished frobbing sx1509-0.2.0
[INFO] frobbed toml for sx1509-0.2.0 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/sx1509/0.2.0/Cargo.toml
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing sx1509-0.2.0 against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-2/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/sx1509/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] 01a57a7ca6da5851b01e7347f3acc6f865a51cb5a140a1c9d1995e5c1099b953
[INFO] running `"docker" "start" "-a" "01a57a7ca6da5851b01e7347f3acc6f865a51cb5a140a1c9d1995e5c1099b953"`
[INFO] [stderr]    Compiling nb v0.1.2
[INFO] [stderr]    Compiling embedded-hal v0.2.3
[INFO] [stderr]    Compiling sx1509 v0.2.0 (/opt/crater/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.65s
[INFO] running `"docker" "inspect" "01a57a7ca6da5851b01e7347f3acc6f865a51cb5a140a1c9d1995e5c1099b953"`
[INFO] running `"docker" "rm" "-f" "01a57a7ca6da5851b01e7347f3acc6f865a51cb5a140a1c9d1995e5c1099b953"`
[INFO] [stdout] 01a57a7ca6da5851b01e7347f3acc6f865a51cb5a140a1c9d1995e5c1099b953
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-2/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/sx1509/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "test" "--frozen" "--no-run"`
[INFO] [stdout] 4162e0692ded0cc164b1ca05649bc3425953955192fdf094037eb0346eea7640
[INFO] running `"docker" "start" "-a" "4162e0692ded0cc164b1ca05649bc3425953955192fdf094037eb0346eea7640"`
[INFO] [stderr]    Compiling sx1509 v0.2.0 (/opt/crater/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.52s
[INFO] running `"docker" "inspect" "4162e0692ded0cc164b1ca05649bc3425953955192fdf094037eb0346eea7640"`
[INFO] running `"docker" "rm" "-f" "4162e0692ded0cc164b1ca05649bc3425953955192fdf094037eb0346eea7640"`
[INFO] [stdout] 4162e0692ded0cc164b1ca05649bc3425953955192fdf094037eb0346eea7640
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-2/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/sx1509/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "test" "--frozen"`
[INFO] [stdout] ef3a62af7189888f41b45ee4c53ae9f895211791572037de73a3e2d21f1b9874
[INFO] running `"docker" "start" "-a" "ef3a62af7189888f41b45ee4c53ae9f895211791572037de73a3e2d21f1b9874"`
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running /opt/crater/target/debug/deps/sx1509-c73fc58cb496720b
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests sx1509
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs -  (line 74) ... FAILED
[INFO] [stdout] test src/lib.rs -  (line 58) ... FAILED
[INFO] [stdout] test src/lib.rs -  (line 43) ... FAILED
[INFO] [stdout] test src/lib.rs -  (line 36) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs -  (line 74) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `expander` in this scope
[INFO] [stdout]  --> src/lib.rs:75:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut owned = expander.take(i2c);
[INFO] [stdout]   |                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope
[INFO] [stdout]  --> src/lib.rs:75:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut owned = expander.take(i2c);
[INFO] [stdout]   |                               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:78:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let pins = owned.borrow().get_bank_a_data()?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] thread 'src/lib.rs -  (line 74)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f4e57942823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55
[INFO] [stdout]                                at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
[INFO] [stdout]    1:     0x7f4e5793a4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:71
[INFO] [stdout]    2:     0x7f4e5793ea56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:59
[INFO] [stdout]                                at src/libstd/panicking.rs:197
[INFO] [stdout]    3:     0x7f4e5793e77e - std::panicking::default_hook::he4af6af4ac7fef7b
[INFO] [stdout]                                at src/libstd/panicking.rs:208
[INFO] [stdout]    4:     0x7f4e5793f15f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f
[INFO] [stdout]                                at src/libstd/panicking.rs:474
[INFO] [stdout]    5:     0x55e8cc17e784 - std::panicking::begin_panic::h2203228e86eb91b5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408
[INFO] [stdout]    6:     0x55e8cc17468f - rustdoc::test::run_test::h29a20600da33f74f
[INFO] [stdout]                                at src/librustdoc/test.rs:319
[INFO] [stdout]    7:     0x55e8cc1687c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9
[INFO] [stdout]                                at src/librustdoc/test.rs:715
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]    8:     0x7f4e58ec5b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]    9:     0x7f4e58ec5b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   10:     0x7f4e57950169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   11:     0x7f4e58ee0f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at src/libtest/lib.rs:1468
[INFO] [stdout]   12:     0x7f4e58eba9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136
[INFO] [stdout]   13:     0x7f4e58ebea54 - std::panicking::try::do_call::h6f86e980b52f74d5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293
[INFO] [stdout]   14:     0x7f4e57950169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   15:     0x7f4e58ebf551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]   16:     0x7f4e5792136e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h805c3cc89d534c05
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   17:     0x7f4e5794eddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]                                at src/libstd/sys_common/thread.rs:13
[INFO] [stdout]                                at src/libstd/sys/unix/thread.rs:79
[INFO] [stdout]   18:     0x7f4e574b84a3 - start_thread
[INFO] [stdout]   19:     0x7f4e56fe3d0e - __clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs -  (line 58) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope
[INFO] [stdout]  --> src/lib.rs:59:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut expander = sx1509::Sx1509::new(&mut i2c, sx1509::DEFAULT_ADDRESS);
[INFO] [stdout]   |                                             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope
[INFO] [stdout]  --> src/lib.rs:60:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | expander.borrow(&mut i2c).software_reset()?;
[INFO] [stdout]   |                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope
[INFO] [stdout]  --> src/lib.rs:61:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | expander.borrow(&mut i2c).set_bank_a_direction(0)?;
[INFO] [stdout]   |                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i2c` in this scope
[INFO] [stdout]  --> src/lib.rs:63:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | let pins = expander.borrow(&mut i2c).get_bank_a_data()?;
[INFO] [stdout]   |                                 ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:60:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | expander.borrow(&mut i2c).software_reset()?;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:61:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | expander.borrow(&mut i2c).set_bank_a_direction(0)?;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`)
[INFO] [stdout]  --> src/lib.rs:63:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | let pins = expander.borrow(&mut i2c).get_bank_a_data()?;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `std::ops::Try` is not implemented for `()`
[INFO] [stdout]   = note: required by `std::ops::Try::from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] thread 'src/lib.rs -  (line 58)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f4e57942823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55
[INFO] [stdout]                                at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
[INFO] [stdout]    1:     0x7f4e5793a4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:71
[INFO] [stdout]    2:     0x7f4e5793ea56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:59
[INFO] [stdout]                                at src/libstd/panicking.rs:197
[INFO] [stdout]    3:     0x7f4e5793e77e - std::panicking::default_hook::he4af6af4ac7fef7b
[INFO] [stdout]                                at src/libstd/panicking.rs:208
[INFO] [stdout]    4:     0x7f4e5793f15f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f
[INFO] [stdout]                                at src/libstd/panicking.rs:474
[INFO] [stdout]    5:     0x55e8cc17e784 - std::panicking::begin_panic::h2203228e86eb91b5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408
[INFO] [stdout]    6:     0x55e8cc17468f - rustdoc::test::run_test::h29a20600da33f74f
[INFO] [stdout]                                at src/librustdoc/test.rs:319
[INFO] [stdout]    7:     0x55e8cc1687c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9
[INFO] [stdout]                                at src/librustdoc/test.rs:715
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]    8:     0x7f4e58ec5b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]    9:     0x7f4e58ec5b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   10:     0x7f4e57950169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   11:     0x7f4e58ee0f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at src/libtest/lib.rs:1468
[INFO] [stdout]   12:     0x7f4e58eba9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136
[INFO] [stdout]   13:     0x7f4e58ebea54 - std::panicking::try::do_call::h6f86e980b52f74d5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293
[INFO] [stdout]   14:     0x7f4e57950169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   15:     0x7f4e58ebf551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]   16:     0x7f4e5792136e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h805c3cc89d534c05
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   17:     0x7f4e5794eddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]                                at src/libstd/sys_common/thread.rs:13
[INFO] [stdout]                                at src/libstd/sys/unix/thread.rs:79
[INFO] [stdout]   18:     0x7f4e574b84a3 - start_thread
[INFO] [stdout]   19:     0x7f4e56fe3d0e - __clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs -  (line 43) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `hal`
[INFO] [stdout]  --> src/lib.rs:44:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut i2c = hal::I2CMaster3::new(
[INFO] [stdout]   |               ^^^ use of undeclared type or module `hal`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Sercom3Pad0`
[INFO] [stdout]   --> src/lib.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Sercom3Pad0::Pa22(pins.pa22.into_function_c(&mut pins.port)),
[INFO] [stdout]    |     ^^^^^^^^^^^ use of undeclared type or module `Sercom3Pad0`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Sercom3Pad1`
[INFO] [stdout]   --> src/lib.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Sercom3Pad1::Pa23(pins.pa23.into_function_c(&mut pins.port)),
[INFO] [stdout]    |     ^^^^^^^^^^^ use of undeclared type or module `Sercom3Pad1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `clocks` in this scope
[INFO] [stdout]  --> src/lib.rs:45:6
[INFO] [stdout]   |
[INFO] [stdout] 4 |     &clocks,
[INFO] [stdout]   |      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/lib.rs:47:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     peripherals.SERCOM3,
[INFO] [stdout]   |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/lib.rs:48:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     &mut peripherals.PM,
[INFO] [stdout]   |          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peripherals` in this scope
[INFO] [stdout]  --> src/lib.rs:49:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |     &mut peripherals.GCLK,
[INFO] [stdout]   |          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pins` in this scope
[INFO] [stdout]   --> src/lib.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Sercom3Pad0::Pa22(pins.pa22.into_function_c(&mut pins.port)),
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pins` in this scope
[INFO] [stdout]   --> src/lib.rs:51:54
[INFO] [stdout]    |
[INFO] [stdout] 10 |     Sercom3Pad0::Pa22(pins.pa22.into_function_c(&mut pins.port)),
[INFO] [stdout]    |                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pins` in this scope
[INFO] [stdout]   --> src/lib.rs:52:23
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Sercom3Pad1::Pa23(pins.pa23.into_function_c(&mut pins.port)),
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pins` in this scope
[INFO] [stdout]   --> src/lib.rs:52:54
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Sercom3Pad1::Pa23(pins.pa23.into_function_c(&mut pins.port)),
[INFO] [stdout]    |                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `khz` found for type `{integer}` in the current scope
[INFO] [stdout]  --> src/lib.rs:46:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     400.khz(),
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] thread 'src/lib.rs -  (line 43)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f4e57942823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55
[INFO] [stdout]                                at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
[INFO] [stdout]    1:     0x7f4e5793a4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:71
[INFO] [stdout]    2:     0x7f4e5793ea56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:59
[INFO] [stdout]                                at src/libstd/panicking.rs:197
[INFO] [stdout]    3:     0x7f4e5793e77e - std::panicking::default_hook::he4af6af4ac7fef7b
[INFO] [stdout]                                at src/libstd/panicking.rs:208
[INFO] [stdout]    4:     0x7f4e5793f15f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f
[INFO] [stdout]                                at src/libstd/panicking.rs:474
[INFO] [stdout]    5:     0x55e8cc17e784 - std::panicking::begin_panic::h2203228e86eb91b5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408
[INFO] [stdout]    6:     0x55e8cc17468f - rustdoc::test::run_test::h29a20600da33f74f
[INFO] [stdout]                                at src/librustdoc/test.rs:319
[INFO] [stdout]    7:     0x55e8cc1687c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9
[INFO] [stdout]                                at src/librustdoc/test.rs:715
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]    8:     0x7f4e58ec5b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]    9:     0x7f4e58ec5b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   10:     0x7f4e57950169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   11:     0x7f4e58ee0f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at src/libtest/lib.rs:1468
[INFO] [stdout]   12:     0x7f4e58eba9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136
[INFO] [stdout]   13:     0x7f4e58ebea54 - std::panicking::try::do_call::h6f86e980b52f74d5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293
[INFO] [stdout]   14:     0x7f4e57950169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   15:     0x7f4e58ebf551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]   16:     0x7f4e5792136e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h805c3cc89d534c05
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   17:     0x7f4e5794eddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]                                at src/libstd/sys_common/thread.rs:13
[INFO] [stdout]                                at src/libstd/sys/unix/thread.rs:79
[INFO] [stdout]   18:     0x7f4e574b84a3 - start_thread
[INFO] [stdout]   19:     0x7f4e56fe3d0e - __clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs -  (line 36) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `hal`
[INFO] [stdout]  --> src/lib.rs:36:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | extern crate metro_m0 as hal;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] thread 'src/lib.rs -  (line 36)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f4e57942823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55
[INFO] [stdout]                                at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
[INFO] [stdout]    1:     0x7f4e5793a4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:71
[INFO] [stdout]    2:     0x7f4e5793ea56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:59
[INFO] [stdout]                                at src/libstd/panicking.rs:197
[INFO] [stdout]    3:     0x7f4e5793e77e - std::panicking::default_hook::he4af6af4ac7fef7b
[INFO] [stdout]                                at src/libstd/panicking.rs:208
[INFO] [stdout]    4:     0x7f4e5793f15f - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f
[INFO] [stdout]                                at src/libstd/panicking.rs:474
[INFO] [stdout]    5:     0x55e8cc17e784 - std::panicking::begin_panic::h2203228e86eb91b5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408
[INFO] [stdout]    6:     0x55e8cc17468f - rustdoc::test::run_test::h29a20600da33f74f
[INFO] [stdout]                                at src/librustdoc/test.rs:319
[INFO] [stdout]    7:     0x55e8cc1687c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9
[INFO] [stdout]                                at src/librustdoc/test.rs:715
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]    8:     0x7f4e58ec5b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]    9:     0x7f4e58ec5b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   10:     0x7f4e57950169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   11:     0x7f4e58ee0f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at src/libtest/lib.rs:1468
[INFO] [stdout]   12:     0x7f4e58eba9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136
[INFO] [stdout]   13:     0x7f4e58ebea54 - std::panicking::try::do_call::h6f86e980b52f74d5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293
[INFO] [stdout]   14:     0x7f4e57950169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   15:     0x7f4e58ebf551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]   16:     0x7f4e5792136e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h805c3cc89d534c05
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   17:     0x7f4e5794eddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]                                at src/libstd/sys_common/thread.rs:13
[INFO] [stdout]                                at src/libstd/sys/unix/thread.rs:79
[INFO] [stdout]   18:     0x7f4e574b84a3 - start_thread
[INFO] [stdout]   19:     0x7f4e56fe3d0e - __clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs -  (line 36)
[INFO] [stdout]     src/lib.rs -  (line 43)
[INFO] [stdout]     src/lib.rs -  (line 58)
[INFO] [stdout]     src/lib.rs -  (line 74)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `"docker" "inspect" "ef3a62af7189888f41b45ee4c53ae9f895211791572037de73a3e2d21f1b9874"`
[INFO] running `"docker" "rm" "-f" "ef3a62af7189888f41b45ee4c53ae9f895211791572037de73a3e2d21f1b9874"`
[INFO] [stdout] ef3a62af7189888f41b45ee4c53ae9f895211791572037de73a3e2d21f1b9874
