[INFO] crate buspirate 0.1.0 is already in cache [INFO] testing buspirate-0.1.0 against 1.38.0 for beta-1.39-1 [INFO] extracting crate buspirate 0.1.0 into work/builds/worker-6/source [INFO] validating manifest of crates.io crate buspirate 0.1.0 on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate buspirate 0.1.0 [INFO] finished tweaking crates.io crate buspirate 0.1.0 [INFO] tweaked toml for crates.io crate buspirate 0.1.0 written to work/builds/worker-6/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 33e8cbaf86d13126ed997736dc5f7787f0eba13795b6e385f7b618908b950e1b [INFO] running `"docker" "start" "-a" "33e8cbaf86d13126ed997736dc5f7787f0eba13795b6e385f7b618908b950e1b"` [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling buspirate v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `"docker" "inspect" "33e8cbaf86d13126ed997736dc5f7787f0eba13795b6e385f7b618908b950e1b"` [INFO] running `"docker" "rm" "-f" "33e8cbaf86d13126ed997736dc5f7787f0eba13795b6e385f7b618908b950e1b"` [INFO] [stdout] 33e8cbaf86d13126ed997736dc5f7787f0eba13795b6e385f7b618908b950e1b [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 6b1729504e4c3d3c5fa20df44431b6480869b227020b46daa6f53b2e8d58163e [INFO] running `"docker" "start" "-a" "6b1729504e4c3d3c5fa20df44431b6480869b227020b46daa6f53b2e8d58163e"` [INFO] [stderr] Compiling buspirate v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `"docker" "inspect" "6b1729504e4c3d3c5fa20df44431b6480869b227020b46daa6f53b2e8d58163e"` [INFO] running `"docker" "rm" "-f" "6b1729504e4c3d3c5fa20df44431b6480869b227020b46daa6f53b2e8d58163e"` [INFO] [stdout] 6b1729504e4c3d3c5fa20df44431b6480869b227020b46daa6f53b2e8d58163e [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen"` [INFO] [stdout] e437a1371ff1dec3ed43402ce5eea414374eefb3b7644fc4080ebc200ceeec67 [INFO] running `"docker" "start" "-a" "e437a1371ff1dec3ed43402ce5eea414374eefb3b7644fc4080ebc200ceeec67"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/buspirate-d76625758f60ac4f [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 22) ... FAILED [INFO] [stdout] test src/lib.rs - (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - BusPirate (line 72) ... 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 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 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 - (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] ---- 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] [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" "e437a1371ff1dec3ed43402ce5eea414374eefb3b7644fc4080ebc200ceeec67"` [INFO] running `"docker" "rm" "-f" "e437a1371ff1dec3ed43402ce5eea414374eefb3b7644fc4080ebc200ceeec67"` [INFO] [stdout] e437a1371ff1dec3ed43402ce5eea414374eefb3b7644fc4080ebc200ceeec67