[INFO] crate buspirate 0.1.0 is already in cache [INFO] extracting crate buspirate 0.1.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/buspirate/0.1.0 [INFO] extracting crate buspirate 0.1.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/buspirate/0.1.0 [INFO] validating manifest of buspirate-0.1.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of buspirate-0.1.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing buspirate-0.1.0 [INFO] finished frobbing buspirate-0.1.0 [INFO] frobbed toml for buspirate-0.1.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/buspirate/0.1.0/Cargo.toml [INFO] started frobbing buspirate-0.1.0 [INFO] finished frobbing buspirate-0.1.0 [INFO] frobbed toml for buspirate-0.1.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/buspirate/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing buspirate-0.1.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/buspirate/0.1.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.37.0" "build" "--frozen"` [INFO] [stdout] 32f8a006cbdf587fff2cac0991a1fdbbffbe24addb0f1ab1580c8e7f3a360a9c [INFO] running `"docker" "start" "-a" "32f8a006cbdf587fff2cac0991a1fdbbffbe24addb0f1ab1580c8e7f3a360a9c"` [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling buspirate v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `"docker" "inspect" "32f8a006cbdf587fff2cac0991a1fdbbffbe24addb0f1ab1580c8e7f3a360a9c"` [INFO] running `"docker" "rm" "-f" "32f8a006cbdf587fff2cac0991a1fdbbffbe24addb0f1ab1580c8e7f3a360a9c"` [INFO] [stdout] 32f8a006cbdf587fff2cac0991a1fdbbffbe24addb0f1ab1580c8e7f3a360a9c [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/buspirate/0.1.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.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 9d22b8c3ccd9cc8ae5ffc1114c9964e69bbb80aac33d9e82a34e0417b0530048 [INFO] running `"docker" "start" "-a" "9d22b8c3ccd9cc8ae5ffc1114c9964e69bbb80aac33d9e82a34e0417b0530048"` [INFO] [stderr] Compiling buspirate v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `"docker" "inspect" "9d22b8c3ccd9cc8ae5ffc1114c9964e69bbb80aac33d9e82a34e0417b0530048"` [INFO] running `"docker" "rm" "-f" "9d22b8c3ccd9cc8ae5ffc1114c9964e69bbb80aac33d9e82a34e0417b0530048"` [INFO] [stdout] 9d22b8c3ccd9cc8ae5ffc1114c9964e69bbb80aac33d9e82a34e0417b0530048 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/buspirate/0.1.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.37.0" "test" "--frozen"` [INFO] [stdout] 1512da9022c8ad1a345f7efb5c2e89dfbaa6fdd37f6bb8c1e589e18668be65c2 [INFO] running `"docker" "start" "-a" "1512da9022c8ad1a345f7efb5c2e89dfbaa6fdd37f6bb8c1e589e18668be65c2"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/crater/target/debug/deps/buspirate-5353018f96d1b9b7 [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 buspirate [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/bitbang.rs - bitbang (line 6) ... FAILED [INFO] [stdout] test src/spi.rs - spi (line 7) ... FAILED [INFO] [stdout] test src/lib.rs - (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - BusPirate (line 72) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/bitbang.rs - bitbang (line 6) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BusPirate` [INFO] [stdout] --> src/bitbang.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 3 | let bp = BusPirate::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `BusPirate` [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/bitbang.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 4 | let bb = bp.to_bitbang()?; [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 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/spi.rs - spi (line 7) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BusPirate` [INFO] [stdout] --> src/spi.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 3 | let bp = BusPirate::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `BusPirate` [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/spi.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 4 | let bb = bp.to_bitbang()?; [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/spi.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 5 | let bspi = bb.to_spi()?; [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, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `bp` in this scope [INFO] [stdout] --> src/lib.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 3 | let bb = bp.init()?; [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:42:10 [INFO] [stdout] | [INFO] [stdout] 3 | let bb = bp.init()?; [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 2 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] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - BusPirate (line 72) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `bp` in this scope [INFO] [stdout] --> src/lib.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 3 | let bb = bp.to_bitbang()?; [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:73:10 [INFO] [stdout] | [INFO] [stdout] 3 | let bb = bp.to_bitbang()?; [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 2 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] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Serial` [INFO] [stdout] --> src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 3 | let port = Serial::new( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Serial` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serial_embedded_hal` [INFO] [stdout] --> src/lib.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 6 | baud_rate: serial_embedded_hal::BaudRate::Baud115200, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `serial_embedded_hal` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serial_embedded_hal` [INFO] [stdout] --> src/lib.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 7 | char_size: serial_embedded_hal::CharSize::Bits8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `serial_embedded_hal` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serial_embedded_hal` [INFO] [stdout] --> src/lib.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 8 | parity: serial_embedded_hal::Parity::ParityNone, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `serial_embedded_hal` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serial_embedded_hal` [INFO] [stdout] --> src/lib.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 9 | stop_bits: serial_embedded_hal::StopBits::Stop1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `serial_embedded_hal` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `serial_embedded_hal` [INFO] [stdout] --> src/lib.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 10 | flow_control: serial_embedded_hal::FlowControl::FlowNone, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `serial_embedded_hal` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `BusPirate` [INFO] [stdout] --> src/lib.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 14 | let bp = BusPirate::new(tx, rx); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `BusPirate` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PortSettings` in this scope [INFO] [stdout] --> src/lib.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 5 | &PortSettings { [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:23:12 [INFO] [stdout] | [INFO] [stdout] 3 | let port = Serial::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 4 | | "/dev/ttyUSB0", [INFO] [stdout] 5 | | &PortSettings { [INFO] [stdout] 6 | | baud_rate: serial_embedded_hal::BaudRate::Baud115200, [INFO] [stdout] ... | [INFO] [stdout] 11 | | }, [INFO] [stdout] 12 | | )?; [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 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 49) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `bp` in this scope [INFO] [stdout] --> src/lib.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 3 | let spi = bp.to_spi()?; [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:50:11 [INFO] [stdout] | [INFO] [stdout] 3 | let spi = bp.to_spi()?; [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 2 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] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/bitbang.rs - bitbang (line 6) [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] src/lib.rs - (line 41) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] src/lib.rs - BusPirate (line 72) [INFO] [stdout] src/spi.rs - spi (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "1512da9022c8ad1a345f7efb5c2e89dfbaa6fdd37f6bb8c1e589e18668be65c2"` [INFO] running `"docker" "rm" "-f" "1512da9022c8ad1a345f7efb5c2e89dfbaa6fdd37f6bb8c1e589e18668be65c2"` [INFO] [stdout] 1512da9022c8ad1a345f7efb5c2e89dfbaa6fdd37f6bb8c1e589e18668be65c2