[INFO] fetching crate pjlink 0.2.0... [INFO] testing pjlink-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate pjlink 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate pjlink 0.2.0 [INFO] finished tweaking crates.io crate pjlink 0.2.0 [INFO] tweaked toml for crates.io crate pjlink 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pjlink 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding md5 v0.3.8 (available: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 782607a987703987540c1b0ed8bc4eb39a3e65d02a5efdfc4df792305476e915 [INFO] running `Command { std: "docker" "start" "-a" "782607a987703987540c1b0ed8bc4eb39a3e65d02a5efdfc4df792305476e915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "782607a987703987540c1b0ed8bc4eb39a3e65d02a5efdfc4df792305476e915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782607a987703987540c1b0ed8bc4eb39a3e65d02a5efdfc4df792305476e915", kill_on_drop: false }` [INFO] [stdout] 782607a987703987540c1b0ed8bc4eb39a3e65d02a5efdfc4df792305476e915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c4e2e26d121a5aaf368c867afa68242237e693a2da0c96a13141b4fb061e95f [INFO] running `Command { std: "docker" "start" "-a" "0c4e2e26d121a5aaf368c867afa68242237e693a2da0c96a13141b4fb061e95f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling pjlink v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | let mut stream = try!(TcpStream::connect(host_port)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:426:23 [INFO] [stdout] | [INFO] [stdout] 426 | 11...19 => Ok(InputType::RGB(input - 10)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:427:23 [INFO] [stdout] | [INFO] [stdout] 427 | 21...29 => Ok(InputType::Video(input - 20)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:428:23 [INFO] [stdout] | [INFO] [stdout] 428 | 31...39 => Ok(InputType::Digital(input - 30)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | 41...49 => Ok(InputType::Storage(input - 40)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:430:23 [INFO] [stdout] | [INFO] [stdout] 430 | 51...59 => Ok(InputType::Network(input - 50)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "0c4e2e26d121a5aaf368c867afa68242237e693a2da0c96a13141b4fb061e95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4e2e26d121a5aaf368c867afa68242237e693a2da0c96a13141b4fb061e95f", kill_on_drop: false }` [INFO] [stdout] 0c4e2e26d121a5aaf368c867afa68242237e693a2da0c96a13141b4fb061e95f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa822bd7ced6e2184ae700e2adf55cbdb2bfed748d971b25defbc8be6daefbb0 [INFO] running `Command { std: "docker" "start" "-a" "aa822bd7ced6e2184ae700e2adf55cbdb2bfed748d971b25defbc8be6daefbb0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | let mut stream = try!(TcpStream::connect(host_port)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:426:23 [INFO] [stdout] | [INFO] [stdout] 426 | 11...19 => Ok(InputType::RGB(input - 10)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:427:23 [INFO] [stdout] | [INFO] [stdout] 427 | 21...29 => Ok(InputType::Video(input - 20)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:428:23 [INFO] [stdout] | [INFO] [stdout] 428 | 31...39 => Ok(InputType::Digital(input - 30)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | 41...49 => Ok(InputType::Storage(input - 40)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:430:23 [INFO] [stdout] | [INFO] [stdout] 430 | 51...59 => Ok(InputType::Network(input - 50)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pjlink v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | let mut stream = try!(TcpStream::connect(host_port)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:426:23 [INFO] [stdout] | [INFO] [stdout] 426 | 11...19 => Ok(InputType::RGB(input - 10)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:427:23 [INFO] [stdout] | [INFO] [stdout] 427 | 21...29 => Ok(InputType::Video(input - 20)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:428:23 [INFO] [stdout] | [INFO] [stdout] 428 | 31...39 => Ok(InputType::Digital(input - 30)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | 41...49 => Ok(InputType::Storage(input - 40)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:430:23 [INFO] [stdout] | [INFO] [stdout] 430 | 51...59 => Ok(InputType::Network(input - 50)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorStatus` [INFO] [stdout] --> examples/get_info.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use pjlink::{ErrorStatus, ErrorType, InputType, PjlinkDevice, PowerStatus}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "aa822bd7ced6e2184ae700e2adf55cbdb2bfed748d971b25defbc8be6daefbb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa822bd7ced6e2184ae700e2adf55cbdb2bfed748d971b25defbc8be6daefbb0", kill_on_drop: false }` [INFO] [stdout] aa822bd7ced6e2184ae700e2adf55cbdb2bfed748d971b25defbc8be6daefbb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a141ea432268e33c5b70e2d2d261d90156c9eba4ba2952bed8bfe80f4eaceec2 [INFO] running `Command { std: "docker" "start" "-a" "a141ea432268e33c5b70e2d2d261d90156c9eba4ba2952bed8bfe80f4eaceec2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:189:26 [INFO] [stderr] | [INFO] [stderr] 189 | let mut stream = try!(TcpStream::connect(host_port)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) 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: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [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: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [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: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `pjlink` (lib) generated 6 warnings (run `cargo fix --lib -p pjlink` to apply 5 suggestions) [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `pjlink` (example "get_info") generated 1 warning (run `cargo fix --example "get_info"` to apply 1 suggestion) [INFO] [stderr] warning: `pjlink` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pjlink-2c613ab720aa1b53) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests pjlink [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) 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: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [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: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [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: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - PjlinkDevice::get_lamp (line 597) ... FAILED [INFO] [stdout] test src/lib.rs - PjlinkDevice::set_input (line 445) ... 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] 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] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - PjlinkDevice::get_lamp (line 597) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `and` [INFO] [stdout] --> src/lib.rs:598:21 [INFO] [stdout] | [INFO] [stdout] 1 | pjlink::Lamp::hours and on //with hours being the total hours on that lamp [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PjlinkDevice::set_input (line 445) stdout ---- [INFO] [stdout] error: expected identifier, found `:` [INFO] [stdout] --> src/lib.rs:447:58 [INFO] [stdout] | [INFO] [stdout] 5 | let result = pjlink::PjlinkDevice::set_input(&self, input: InputType).? [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] error: unexpected token: `?` [INFO] [stdout] --> src/lib.rs:447:71 [INFO] [stdout] | [INFO] [stdout] 5 | let result = pjlink::PjlinkDevice::set_input(&self, input: InputType).? [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `match` [INFO] [stdout] --> src/lib.rs:447:72 [INFO] [stdout] | [INFO] [stdout] 5 | let result = pjlink::PjlinkDevice::set_input(&self, input: InputType).? [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | match device.get_input() { [INFO] [stdout] | ----- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/lib.rs:448:7 [INFO] [stdout] | [INFO] [stdout] 6 | match device.get_input() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputType` [INFO] [stdout] --> src/lib.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 9 | InputType::RGB(input_number) => println!("Input: RGB {}", input_number), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `InputType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pjlink::InputType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputType` [INFO] [stdout] --> src/lib.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 10 | InputType::Video(input_number) => println!("Input: Video {}", input_number), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `InputType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pjlink::InputType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputType` [INFO] [stdout] --> src/lib.rs:453:12 [INFO] [stdout] | [INFO] [stdout] 11 | InputType::Digital(input_number) => println!("Input: Digital {}", input_number), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `InputType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pjlink::InputType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputType` [INFO] [stdout] --> src/lib.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 12 | InputType::Storage(input_number) => println!("Input: Storage {}", input_number), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `InputType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pjlink::InputType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InputType` [INFO] [stdout] --> src/lib.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 13 | InputType::Network(input_number) => println!("Input: Network {}", input_number), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `InputType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pjlink::InputType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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::set_avmute (line 536) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `match` [INFO] [stdout] --> src/lib.rs:540:2 [INFO] [stdout] | [INFO] [stdout] 6 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | [INFO] [stdout] 8 | match device.set_avmute(mutes) { [INFO] [stdout] | ----- unexpected token [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:418:24 [INFO] [stdout] | [INFO] [stdout] 5 | pjlink::InputType::RGB(input_num) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:418:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_416_0() { [INFO] [stdout] | - help: try adding a return type: `-> InputType` [INFO] [stdout] 5 | pjlink::InputType::RGB(input_num) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `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] ---- src/lib.rs - PjlinkDevice::get_avmute (line 498) stdout ---- [INFO] [stdout] error: `or` is not a logical operator [INFO] [stdout] --> src/lib.rs:500:23 [INFO] [stdout] | [INFO] [stdout] 5 | pjlink::AvMute::Audio or Video [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators [INFO] [stdout] help: use `||` to perform logical disjunction [INFO] [stdout] | [INFO] [stdout] 5 - pjlink::AvMute::Audio or Video [INFO] [stdout] 5 + pjlink::AvMute::Audio || Video [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Video` in this scope [INFO] [stdout] --> src/lib.rs:500:26 [INFO] [stdout] | [INFO] [stdout] 5 | pjlink::AvMute::Audio or Video [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 + use pjlink::InputType::Video; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Audio` found for struct `AvMute` in the current scope [INFO] [stdout] --> src/lib.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 5 | pjlink::AvMute::Audio or Video [INFO] [stdout] | ^^^^^ associated item not found in `AvMute` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:500:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_498_0() { [INFO] [stdout] | - help: try adding a return type: `-> bool` [INFO] [stdout] 5 | pjlink::AvMute::Audio or Video [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PjlinkDevice::get_error_status (line 628) 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[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `ErrorType` [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] [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; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a141ea432268e33c5b70e2d2d261d90156c9eba4ba2952bed8bfe80f4eaceec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a141ea432268e33c5b70e2d2d261d90156c9eba4ba2952bed8bfe80f4eaceec2", kill_on_drop: false }` [INFO] [stdout] a141ea432268e33c5b70e2d2d261d90156c9eba4ba2952bed8bfe80f4eaceec2