[INFO] fetching crate ferrous-serialport 4.0.2... [INFO] testing ferrous-serialport-4.0.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate ferrous-serialport 4.0.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate ferrous-serialport 4.0.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-12/source/Cargo.toml [INFO] crate crates.io crate ferrous-serialport 4.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40fea6db3325934e0b7e000df8f309e92344a5ef538e362823f23dff441b3d0f [INFO] running `Command { std: "docker" "start" "-a" "40fea6db3325934e0b7e000df8f309e92344a5ef538e362823f23dff441b3d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40fea6db3325934e0b7e000df8f309e92344a5ef538e362823f23dff441b3d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40fea6db3325934e0b7e000df8f309e92344a5ef538e362823f23dff441b3d0f", kill_on_drop: false }` [INFO] [stdout] 40fea6db3325934e0b7e000df8f309e92344a5ef538e362823f23dff441b3d0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fa2110748d4254f6fe682a6f888897da9adf601854f05f9b55a609943a886e6 [INFO] running `Command { std: "docker" "start" "-a" "3fa2110748d4254f6fe682a6f888897da9adf601854f05f9b55a609943a886e6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nix v0.16.1 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling ferrous-serialport v4.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.67s [INFO] running `Command { std: "docker" "inspect" "3fa2110748d4254f6fe682a6f888897da9adf601854f05f9b55a609943a886e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa2110748d4254f6fe682a6f888897da9adf601854f05f9b55a609943a886e6", kill_on_drop: false }` [INFO] [stdout] 3fa2110748d4254f6fe682a6f888897da9adf601854f05f9b55a609943a886e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64deac1f8ae7d6c2c8d1cf7be84edb457239764ec3e45eaba40193146e562f01 [INFO] running `Command { std: "docker" "start" "-a" "64deac1f8ae7d6c2c8d1cf7be84edb457239764ec3e45eaba40193146e562f01", kill_on_drop: false }` [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling ferrous-serialport v4.0.2 (/opt/rustwide/workdir) [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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [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 undeclared crate or module `serialport` [INFO] [stdout] [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 undeclared crate or module `serialport` [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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [INFO] [stdout] [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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [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] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [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[E0433]: failed to resolve: use of undeclared crate or module `serialport` [INFO] [stdout] --> tests/test_serialport.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let ports = serialport::available_ports().expect("No ports found!"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serialport` [INFO] [stdout] --> tests/test_serialport.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let ports = serialport::available_ports().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serialport` [INFO] [stdout] --> tests/test_serialport.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let _port = serialport::new(p.port_name, 9600).open(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serialport` [INFO] [stdout] --> tests/test_serialport.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let _port = serialport::new("/dev/ttyUSB0", 9600).open(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serialport` [INFO] [stdout] --> tests/test_serialport.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let _port = serialport::new("/dev/ttyUSB0", 9600).open_native(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serialport` [INFO] [stdout] --> tests/test_serialport.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let _port = serialport::new("/dev/ttyUSB0", 9600) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataBits` [INFO] [stdout] --> tests/test_serialport.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | .data_bits(DataBits::Five) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DataBits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlowControl` [INFO] [stdout] --> tests/test_serialport.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | .flow_control(FlowControl::None) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FlowControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parity` [INFO] [stdout] --> tests/test_serialport.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | .parity(Parity::None) [INFO] [stdout] | ^^^^^^ use of undeclared type `Parity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StopBits` [INFO] [stdout] --> tests/test_serialport.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | .stop_bits(StopBits::One) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StopBits` [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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serialport` [INFO] [stdout] --> tests/test_serialport.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | let port1_config = serialport::new("/dev/ttyUSB0", 9600) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DataBits` [INFO] [stdout] --> tests/test_serialport.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | .data_bits(DataBits::Five) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DataBits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FlowControl` [INFO] [stdout] --> tests/test_serialport.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | .flow_control(FlowControl::None) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `FlowControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parity` [INFO] [stdout] --> tests/test_serialport.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | .parity(Parity::None) [INFO] [stdout] | ^^^^^^ use of undeclared type `Parity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StopBits` [INFO] [stdout] --> tests/test_serialport.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | .stop_bits(StopBits::One) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StopBits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> examples/pseudo_terminal.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> examples/pseudo_terminal.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::prelude` [INFO] [stdout] --> examples/pseudo_terminal.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::unix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [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] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TTYPort` [INFO] [stdout] --> tests/test_tty.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut master, mut slave) = TTYPort::pair().expect("Unable to create ptty pair"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ferrous_serialport::TTYPort; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TTYPort` [INFO] [stdout] --> tests/test_tty.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | let (mut master, _slave) = TTYPort::pair().expect("Unable to create ptty pair"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ferrous_serialport::TTYPort; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TTYPort` [INFO] [stdout] --> tests/test_tty.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | let (master, mut slave) = TTYPort::pair().expect("Unable to create ptty pair"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ferrous_serialport::TTYPort; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TTYPort` [INFO] [stdout] --> tests/test_tty.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | let (master, mut slave) = TTYPort::pair().expect("Unable to create ptty pair"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use ferrous_serialport::TTYPort; [INFO] [stdout] | [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` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] error: could not compile `ferrous-serialport` due to 17 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` due to 3 previous errors [INFO] [stderr] error: could not compile `ferrous-serialport` due to 2 previous errors [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> examples/duplex.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> tests/test_tty.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TTYPort` [INFO] [stdout] --> tests/test_try_clone.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | let (master, mut slave) = TTYPort::pair().expect("Unable to create ptty pair"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use ferrous_serialport::TTYPort; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TTYPort` [INFO] [stdout] --> tests/test_try_clone.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | let (master, mut slave) = TTYPort::pair().expect("Unable to create ptty pair"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use ferrous_serialport::TTYPort; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `serialport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` due to 3 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` due to 3 previous errors [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> tests/test_tty.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` due to 6 previous errors; 3 warnings emitted [INFO] [stdout] warning: unused import: `std::os::unix::prelude` [INFO] [stdout] --> tests/test_tty.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` due to 4 previous errors; 2 warnings emitted [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stderr] error: could not compile `ferrous-serialport` due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> tests/test_try_clone.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> tests/test_try_clone.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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] running `Command { std: "docker" "inspect" "64deac1f8ae7d6c2c8d1cf7be84edb457239764ec3e45eaba40193146e562f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64deac1f8ae7d6c2c8d1cf7be84edb457239764ec3e45eaba40193146e562f01", kill_on_drop: false }` [INFO] [stdout] 64deac1f8ae7d6c2c8d1cf7be84edb457239764ec3e45eaba40193146e562f01