[INFO] fetching crate ferrous-serialport 4.0.2... [INFO] checking ferrous-serialport-4.0.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ferrous-serialport 4.0.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate ferrous-serialport 4.0.2 [INFO] finished tweaking crates.io crate ferrous-serialport 4.0.2 [INFO] tweaked toml for crates.io crate ferrous-serialport 4.0.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ferrous-serialport 4.0.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ferrous-serialport 4.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e852149c89f2a0c4555126d8cebd99581460b3ae7b9320ca3fdc4ead2d408a27 [INFO] running `Command { std: "docker" "start" "-a" "e852149c89f2a0c4555126d8cebd99581460b3ae7b9320ca3fdc4ead2d408a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e852149c89f2a0c4555126d8cebd99581460b3ae7b9320ca3fdc4ead2d408a27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e852149c89f2a0c4555126d8cebd99581460b3ae7b9320ca3fdc4ead2d408a27", kill_on_drop: false }` [INFO] [stdout] e852149c89f2a0c4555126d8cebd99581460b3ae7b9320ca3fdc4ead2d408a27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73b0834227dd5b0b7b334ac9527b4697e7aa715083c5e9426020e537aa062992 [INFO] running `Command { std: "docker" "start" "-a" "73b0834227dd5b0b7b334ac9527b4697e7aa715083c5e9426020e537aa062992", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking ferrous-serialport v4.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/termios.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/termios.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/termios.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/termios.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/tty.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/tty.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/termios.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/termios.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/termios.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/termios.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/tty.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dragonflybsd` [INFO] [stdout] --> src/posix/tty.rs:588:9 [INFO] [stdout] | [INFO] [stdout] 588 | target_os = "dragonflybsd", [INFO] [stdout] | ^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"dragonfly"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serialport` [INFO] [stdout] --> examples/transmit.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serialport::{DataBits, StopBits}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serialport` [INFO] [stdout] --> examples/list_ports.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serialport::{available_ports, SerialPortType}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/transmit.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let builder = serialport::new(port_name, baud_rate) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serialport` [INFO] [stdout] --> examples/hardware_check.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use serialport::{ClearBuffer, DataBits, FlowControl, Parity, SerialPort, StopBits}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serialport` [INFO] [stdout] --> tests/test_try_clone.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serialport; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/transmit.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | Err(ref e) if e.kind() == io::ErrorKind::TimedOut => (), [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serialport` [INFO] [stdout] --> examples/clear_output_buffer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use serialport::ClearBuffer; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serialport` [INFO] [stdout] --> examples/pseudo_terminal.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use serialport::{SerialPort, TTYPort}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` (example "list_ports") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `serialport` [INFO] [stdout] --> tests/test_tty.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serialport; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` (test "test_try_clone") due to 1 previous error [INFO] [stderr] error: could not compile `ferrous-serialport` (example "pseudo_terminal") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_tty.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | Some(Err(ref e)) => assert_eq!(e.kind(), std::io::ErrorKind::TimedOut), [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/clear_output_buffer.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let mut port = serialport::new(port_name, rate) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/clear_output_buffer.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | Err(ref e) if e.kind() == io::ErrorKind::TimedOut => (), [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` (test "test_tty") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/receive_data.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let port = serialport::new(port_name, baud_rate) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` (example "clear_output_buffer") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/receive_data.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | Err(ref e) if e.kind() == io::ErrorKind::TimedOut => (), [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` (example "receive_data") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` (example "transmit") due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serialport` [INFO] [stdout] --> tests/test_serialport.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serialport::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/hardware_check.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | let mut port1 = match serialport::new(port1_name, 9600).open() { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/hardware_check.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | let mut port2 = match serialport::new(port2_name, 9600).open() { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/hardware_check.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | fn test_single_port(port: &mut dyn serialport::SerialPort, loopback: bool) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/hardware_check.rs:265:36 [INFO] [stdout] | [INFO] [stdout] 265 | fn test_dual_ports(port1: &mut dyn serialport::SerialPort, port2: &mut dyn serialport::SerialPort) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/hardware_check.rs:265:76 [INFO] [stdout] | [INFO] [stdout] 265 | fn test_dual_ports(port1: &mut dyn serialport::SerialPort, port2: &mut dyn serialport::SerialPort) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/hardware_check.rs:423:32 [INFO] [stdout] | [INFO] [stdout] 423 | fn set_defaults(port: &mut dyn serialport::SerialPort) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` (example "hardware_check") due to 7 previous errors [INFO] [stdout] error[E0432]: unresolved import `serialport` [INFO] [stdout] --> examples/clear_input_buffer.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use serialport::ClearBuffer; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/clear_input_buffer.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | let port = serialport::new(port_name, rate) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` (example "clear_input_buffer") due to 2 previous errors [INFO] [stderr] error: could not compile `ferrous-serialport` (test "test_serialport") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/duplex.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let port_name = &serialport::available_ports().expect("No serial port")[0].port_name; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serialport` [INFO] [stdout] --> examples/duplex.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let mut port = serialport::new(port_name, 9600) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serialport` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serialport`, use `cargo add serialport` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/duplex.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | Err(ref e) if e.kind() == io::ErrorKind::TimedOut => (), [INFO] [stdout] | ^^^^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` (example "duplex") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "73b0834227dd5b0b7b334ac9527b4697e7aa715083c5e9426020e537aa062992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73b0834227dd5b0b7b334ac9527b4697e7aa715083c5e9426020e537aa062992", kill_on_drop: false }` [INFO] [stdout] 73b0834227dd5b0b7b334ac9527b4697e7aa715083c5e9426020e537aa062992