[INFO] crate pjlink 0.2.0 is already in cache [INFO] extracting crate pjlink 0.2.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/pjlink/0.2.0 [INFO] extracting crate pjlink 0.2.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/pjlink/0.2.0 [INFO] validating manifest of pjlink-0.2.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 pjlink-0.2.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 pjlink-0.2.0 [INFO] finished frobbing pjlink-0.2.0 [INFO] frobbed toml for pjlink-0.2.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/pjlink/0.2.0/Cargo.toml [INFO] started frobbing pjlink-0.2.0 [INFO] finished frobbing pjlink-0.2.0 [INFO] frobbed toml for pjlink-0.2.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/pjlink/0.2.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 pjlink-0.2.0 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/pjlink/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 7f5439ad27b1ce294ab646ac602b254a1970118103313f665597bb78acacc274 [INFO] running `"docker" "start" "-a" "7f5439ad27b1ce294ab646ac602b254a1970118103313f665597bb78acacc274"` [INFO] [stderr] Compiling pjlink v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:426:23 [INFO] [stderr] | [INFO] [stderr] 426 | 11...19 => Ok(InputType::RGB(input - 10)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:427:23 [INFO] [stderr] | [INFO] [stderr] 427 | 21...29 => Ok(InputType::Video(input - 20)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:428:23 [INFO] [stderr] | [INFO] [stderr] 428 | 31...39 => Ok(InputType::Digital(input - 30)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:429:23 [INFO] [stderr] | [INFO] [stderr] 429 | 41...49 => Ok(InputType::Storage(input - 40)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:430:23 [INFO] [stderr] | [INFO] [stderr] 430 | 51...59 => Ok(InputType::Network(input - 50)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `"docker" "inspect" "7f5439ad27b1ce294ab646ac602b254a1970118103313f665597bb78acacc274"` [INFO] running `"docker" "rm" "-f" "7f5439ad27b1ce294ab646ac602b254a1970118103313f665597bb78acacc274"` [INFO] [stdout] 7f5439ad27b1ce294ab646ac602b254a1970118103313f665597bb78acacc274 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/pjlink/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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 17f208a0d4e99efc8b0c53fc1af921dfaf3275c2254f81d95979a5b08f47f790 [INFO] running `"docker" "start" "-a" "17f208a0d4e99efc8b0c53fc1af921dfaf3275c2254f81d95979a5b08f47f790"` [INFO] [stderr] Compiling pjlink v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `ErrorStatus` [INFO] [stderr] --> examples/get_info.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | use pjlink::{ErrorStatus, ErrorType, InputType, PjlinkDevice, PowerStatus}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:426:23 [INFO] [stderr] | [INFO] [stderr] 426 | 11...19 => Ok(InputType::RGB(input - 10)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:427:23 [INFO] [stderr] | [INFO] [stderr] 427 | 21...29 => Ok(InputType::Video(input - 20)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:428:23 [INFO] [stderr] | [INFO] [stderr] 428 | 31...39 => Ok(InputType::Digital(input - 30)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:429:23 [INFO] [stderr] | [INFO] [stderr] 429 | 41...49 => Ok(InputType::Storage(input - 40)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:430:23 [INFO] [stderr] | [INFO] [stderr] 430 | 51...59 => Ok(InputType::Network(input - 50)), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `"docker" "inspect" "17f208a0d4e99efc8b0c53fc1af921dfaf3275c2254f81d95979a5b08f47f790"` [INFO] running `"docker" "rm" "-f" "17f208a0d4e99efc8b0c53fc1af921dfaf3275c2254f81d95979a5b08f47f790"` [INFO] [stdout] 17f208a0d4e99efc8b0c53fc1af921dfaf3275c2254f81d95979a5b08f47f790 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/pjlink/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" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] adbbf4f267da65a57bedd03a4c174c37eb37d2c48e18987d84febc1ee87c3da3 [INFO] running `"docker" "start" "-a" "adbbf4f267da65a57bedd03a4c174c37eb37d2c48e18987d84febc1ee87c3da3"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/pjlink-bb80ff8e7ad81a3c [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 pjlink [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - PjlinkDevice::set_input (line 445) ... FAILED [INFO] [stdout] test src/lib.rs - PjlinkDevice::get_avmute (line 498) ... FAILED [INFO] [stdout] test src/lib.rs - PjlinkDevice::get_error_status (line 628) ... FAILED [INFO] [stdout] test src/lib.rs - PjlinkDevice::get_lamp (line 597) ... FAILED [INFO] [stdout] test src/lib.rs - PjlinkDevice::set_avmute (line 536) ... FAILED [INFO] [stdout] test src/lib.rs - PjlinkDevice::get_input (line 416) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - PjlinkDevice::set_input (line 445) stdout ---- [INFO] [stdout] error: unexpected token: `?` [INFO] [stdout] --> src/lib.rs:446:71 [INFO] [stdout] | [INFO] [stdout] 4 | let result = pjlink::PjlinkDevice::set_input(&self, input: InputType).? [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PjlinkDevice::get_avmute (line 498) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `or` [INFO] [stdout] --> src/lib.rs:499:23 [INFO] [stdout] | [INFO] [stdout] 4 | pjlink::AvMute::Audio or Video //with Audio and Video being a bool with the status. [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 8 possible tokens here [INFO] [stdout] | help: use `||` instead of `or` for the boolean operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PjlinkDevice::get_error_status (line 628) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:632:12 [INFO] [stdout] | [INFO] [stdout] 6 | ErrorType::Warning => println!("{} Error Status: Fan Warning", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:633:12 [INFO] [stdout] | [INFO] [stdout] 7 | ErrorType::Error => println!("{} Error Status: Fan Error", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:637:12 [INFO] [stdout] | [INFO] [stdout] 11 | ErrorType::Warning => println!("{} Error Status: Lamp Warning", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:638:12 [INFO] [stdout] | [INFO] [stdout] 12 | ErrorType::Error => println!("{} Error Status: Lamp Error", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 16 | ErrorType::Warning => println!("{} Error Status: Temperature Warning", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:643:12 [INFO] [stdout] | [INFO] [stdout] 17 | ErrorType::Error => println!("{} Error Status: Temperature Error", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:647:12 [INFO] [stdout] | [INFO] [stdout] 21 | ErrorType::Warning => println!("{} Error Status: Cover Open Warning", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:648:12 [INFO] [stdout] | [INFO] [stdout] 22 | ErrorType::Error => println!("{} Error Status: Cover Open Error", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 26 | ErrorType::Warning => println!("{} Error Status: Filter Warning", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:653:12 [INFO] [stdout] | [INFO] [stdout] 27 | ErrorType::Error => println!("{} Error Status: Filter Error", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:657:12 [INFO] [stdout] | [INFO] [stdout] 31 | ErrorType::Warning => println!("{} Error Status: Other Warning", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorType` [INFO] [stdout] --> src/lib.rs:658:12 [INFO] [stdout] | [INFO] [stdout] 32 | ErrorType::Error => println!("{} Error Status: Other Error", host), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/lib.rs:629:7 [INFO] [stdout] | [INFO] [stdout] 3 | match device.get_error_status() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:632:75 [INFO] [stdout] | [INFO] [stdout] 6 | ErrorType::Warning => println!("{} Error Status: Fan Warning", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:633:71 [INFO] [stdout] | [INFO] [stdout] 7 | ErrorType::Error => println!("{} Error Status: Fan Error", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:637:76 [INFO] [stdout] | [INFO] [stdout] 11 | ErrorType::Warning => println!("{} Error Status: Lamp Warning", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:638:72 [INFO] [stdout] | [INFO] [stdout] 12 | ErrorType::Error => println!("{} Error Status: Lamp Error", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:642:83 [INFO] [stdout] | [INFO] [stdout] 16 | ErrorType::Warning => println!("{} Error Status: Temperature Warning", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:643:79 [INFO] [stdout] | [INFO] [stdout] 17 | ErrorType::Error => println!("{} Error Status: Temperature Error", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:647:82 [INFO] [stdout] | [INFO] [stdout] 21 | ErrorType::Warning => println!("{} Error Status: Cover Open Warning", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:648:78 [INFO] [stdout] | [INFO] [stdout] 22 | ErrorType::Error => println!("{} Error Status: Cover Open Error", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:652:78 [INFO] [stdout] | [INFO] [stdout] 26 | ErrorType::Warning => println!("{} Error Status: Filter Warning", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:653:74 [INFO] [stdout] | [INFO] [stdout] 27 | ErrorType::Error => println!("{} Error Status: Filter Error", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:657:77 [INFO] [stdout] | [INFO] [stdout] 31 | ErrorType::Warning => println!("{} Error Status: Other Warning", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:658:73 [INFO] [stdout] | [INFO] [stdout] 32 | ErrorType::Error => println!("{} Error Status: Other Error", host), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:662:64 [INFO] [stdout] | [INFO] [stdout] 36 | Err(err) => println!("{} Error Status: error occurred: {}", host, err), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PjlinkDevice::get_lamp (line 597) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `and` [INFO] [stdout] --> src/lib.rs:598:21 [INFO] [stdout] | [INFO] [stdout] 4 | pjlink::Lamp::hours and on //with hours being the total hours on that lamp [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 8 possible tokens here [INFO] [stdout] | help: use `&&` instead of `and` for the boolean operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PjlinkDevice::set_avmute (line 536) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `match` [INFO] [stdout] --> src/lib.rs:542:1 [INFO] [stdout] | [INFO] [stdout] 6 | } [INFO] [stdout] | - help: a semicolon may be missing here [INFO] [stdout] 7 | [INFO] [stdout] 8 | match device.set_avmute(mutes) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AvMute` in this scope [INFO] [stdout] --> src/lib.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mutes = AvMute { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/lib.rs:542:7 [INFO] [stdout] | [INFO] [stdout] 8 | match device.set_avmute(mutes) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `host` in this scope [INFO] [stdout] --> src/lib.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 11 | host, mutes.video, mutes.audio [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PjlinkDevice::get_input (line 416) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `input_num` in this scope [INFO] [stdout] --> src/lib.rs:417:24 [INFO] [stdout] | [INFO] [stdout] 4 | pjlink::InputType::RGB(input_num) //with input_num being the number of the input with a type of u8 [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 4 | pjlink::InputType::RGB(input_num) //with input_num being the number of the input with a type of u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try adding a semicolon: `;` [INFO] [stdout] | | [INFO] [stdout] | expected (), found enum `pjlink::InputType` [INFO] [stdout] | [INFO] [stdout] = note: expected type `()` [INFO] [stdout] found type `pjlink::InputType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - PjlinkDevice::get_avmute (line 498) [INFO] [stdout] src/lib.rs - PjlinkDevice::get_error_status (line 628) [INFO] [stdout] src/lib.rs - PjlinkDevice::get_input (line 416) [INFO] [stdout] src/lib.rs - PjlinkDevice::get_lamp (line 597) [INFO] [stdout] src/lib.rs - PjlinkDevice::set_avmute (line 536) [INFO] [stdout] src/lib.rs - PjlinkDevice::set_input (line 445) [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" "adbbf4f267da65a57bedd03a4c174c37eb37d2c48e18987d84febc1ee87c3da3"` [INFO] running `"docker" "rm" "-f" "adbbf4f267da65a57bedd03a4c174c37eb37d2c48e18987d84febc1ee87c3da3"` [INFO] [stdout] adbbf4f267da65a57bedd03a4c174c37eb37d2c48e18987d84febc1ee87c3da3