[INFO] crate dmx-termios 0.3.0 is already in cache [INFO] extracting crate dmx-termios 0.3.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/dmx-termios/0.3.0 [INFO] extracting crate dmx-termios 0.3.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/dmx-termios/0.3.0 [INFO] validating manifest of dmx-termios-0.3.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of dmx-termios-0.3.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing dmx-termios-0.3.0 [INFO] finished frobbing dmx-termios-0.3.0 [INFO] frobbed toml for dmx-termios-0.3.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/dmx-termios/0.3.0/Cargo.toml [INFO] started frobbing dmx-termios-0.3.0 [INFO] finished frobbing dmx-termios-0.3.0 [INFO] frobbed toml for dmx-termios-0.3.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/dmx-termios/0.3.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing dmx-termios-0.3.0 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/dmx-termios/0.3.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 6453e3a4da5300698826fdf6742d665b71f70f204e47e50039edda7a6ad927d4 [INFO] running `"docker" "start" "-a" "6453e3a4da5300698826fdf6742d665b71f70f204e47e50039edda7a6ad927d4"` [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling dmx-termios v0.3.0 (/opt/crater/workdir) [INFO] [stderr] warning: literal out of range for i32 [INFO] [stderr] --> src/os/linux.rs:184:29 [INFO] [stderr] | [INFO] [stderr] 184 | pub const TCGETS2: c_int = (0x802c_542a as c_int); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(overflowing_literals)]` on by default [INFO] [stderr] = note: the literal `0x802c_542a` (decimal `2150388778`) does not fit into an `i32` and will become `-2144578518i32` [INFO] [stderr] = help: consider using `u32` instead [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `"docker" "inspect" "6453e3a4da5300698826fdf6742d665b71f70f204e47e50039edda7a6ad927d4"` [INFO] running `"docker" "rm" "-f" "6453e3a4da5300698826fdf6742d665b71f70f204e47e50039edda7a6ad927d4"` [INFO] [stdout] 6453e3a4da5300698826fdf6742d665b71f70f204e47e50039edda7a6ad927d4 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/dmx-termios/0.3.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] d23b2b887b35d17ec12f52ad79d9ebf61867f2878b7b0d8bd93eccb095c15b4a [INFO] running `"docker" "start" "-a" "d23b2b887b35d17ec12f52ad79d9ebf61867f2878b7b0d8bd93eccb095c15b4a"` [INFO] [stderr] Compiling dmx-termios v0.3.0 (/opt/crater/workdir) [INFO] [stderr] warning: literal out of range for i32 [INFO] [stderr] --> src/os/linux.rs:184:29 [INFO] [stderr] | [INFO] [stderr] 184 | pub const TCGETS2: c_int = (0x802c_542a as c_int); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(overflowing_literals)]` on by default [INFO] [stderr] = note: the literal `0x802c_542a` (decimal `2150388778`) does not fit into an `i32` and will become `-2144578518i32` [INFO] [stderr] = help: consider using `u32` instead [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `"docker" "inspect" "d23b2b887b35d17ec12f52ad79d9ebf61867f2878b7b0d8bd93eccb095c15b4a"` [INFO] running `"docker" "rm" "-f" "d23b2b887b35d17ec12f52ad79d9ebf61867f2878b7b0d8bd93eccb095c15b4a"` [INFO] [stdout] d23b2b887b35d17ec12f52ad79d9ebf61867f2878b7b0d8bd93eccb095c15b4a [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/dmx-termios/0.3.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] 84d3400d4616f7bac045ed00118c3ea1e63ccb9a3a62cf7f12e041daa9436482 [INFO] running `"docker" "start" "-a" "84d3400d4616f7bac045ed00118c3ea1e63ccb9a3a62cf7f12e041daa9436482"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/dmx_termios-a8f2b2331ab4d4c4 [INFO] [stderr] Doc-tests dmx-termios [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - (line 44) ... FAILED [INFO] [stdout] test src/lib.rs - cfgetispeed (line 233) ... FAILED [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - cfgetospeed (line 248) ... FAILED [INFO] [stdout] test src/lib.rs - cfsetispeed (line 290) ... FAILED [INFO] [stdout] test src/lib.rs - (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - Termios (line 144) ... FAILED [INFO] [stdout] test src/lib.rs - cfsetospeed (line 333) ... FAILED [INFO] [stdout] test src/lib.rs - cfsetspeed (line 373) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `termios` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 3 | use termios::*; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `termios`? [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Termios` [INFO] [stdout] --> src/lib.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 5 | let mut termios = Termios::from_fd(fd).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Termios` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 44) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `termios` [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 3 | use termios::*; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `termios`? [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Termios` [INFO] [stdout] --> src/lib.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 5 | let mut termios = Termios::from_fd(fd).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Termios` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cfgetispeed` in this scope [INFO] [stdout] --> src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 6 | cfgetispeed(&termios); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cfgetospeed` in this scope [INFO] [stdout] --> src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 7 | cfgetospeed(&termios); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cfsetispeed` in this scope [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 8 | cfsetispeed(&mut termios, B9600).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B9600` in this scope [INFO] [stdout] --> src/lib.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 8 | cfsetispeed(&mut termios, B9600).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cfsetospeed` in this scope [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 9 | cfsetospeed(&mut termios, B9600).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B9600` in this scope [INFO] [stdout] --> src/lib.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 9 | cfsetospeed(&mut termios, B9600).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tcsetattr` in this scope [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 10 | tcsetattr(fd, TCSANOW, &termios).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TCSANOW` in this scope [INFO] [stdout] --> src/lib.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 10 | tcsetattr(fd, TCSANOW, &termios).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, 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 - cfgetispeed (line 233) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `termios` [INFO] [stdout] --> src/lib.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termios::{Termios,B9600,cfsetispeed,cfgetispeed}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `termios`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 28) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `termios` [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 3 | use termios::*; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `termios`? [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Termios` [INFO] [stdout] --> src/lib.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 5 | let mut termios = Termios::from_fd(fd).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Termios` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREAD` in this scope [INFO] [stdout] --> src/lib.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 6 | termios.c_cflag |= CREAD | CLOCAL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCAL` in this scope [INFO] [stdout] --> src/lib.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 6 | termios.c_cflag |= CREAD | CLOCAL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ICANON` in this scope [INFO] [stdout] --> src/lib.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 7 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ECHO` in this scope [INFO] [stdout] --> src/lib.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 7 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ECHOE` in this scope [INFO] [stdout] --> src/lib.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 7 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ECHOK` in this scope [INFO] [stdout] --> src/lib.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 7 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ECHONL` in this scope [INFO] [stdout] --> src/lib.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 7 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ISIG` in this scope [INFO] [stdout] --> src/lib.rs:33:63 [INFO] [stdout] | [INFO] [stdout] 7 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IEXTEN` in this scope [INFO] [stdout] --> src/lib.rs:33:70 [INFO] [stdout] | [INFO] [stdout] 7 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPOST` in this scope [INFO] [stdout] --> src/lib.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 8 | termios.c_oflag &= !OPOST; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INLCR` in this scope [INFO] [stdout] --> src/lib.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 9 | termios.c_iflag &= !(INLCR | IGNCR | ICRNL | IGNBRK); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IGNCR` in this scope [INFO] [stdout] --> src/lib.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 9 | termios.c_iflag &= !(INLCR | IGNCR | ICRNL | IGNBRK); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ICRNL` in this scope [INFO] [stdout] --> src/lib.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 9 | termios.c_iflag &= !(INLCR | IGNCR | ICRNL | IGNBRK); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IGNBRK` in this scope [INFO] [stdout] --> src/lib.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 9 | termios.c_iflag &= !(INLCR | IGNCR | ICRNL | IGNBRK); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VMIN` in this scope [INFO] [stdout] --> src/lib.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 11 | termios.c_cc[VMIN] = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VTIME` in this scope [INFO] [stdout] --> src/lib.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 12 | termios.c_cc[VTIME] = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, 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 - cfgetospeed (line 248) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `termios` [INFO] [stdout] --> src/lib.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termios::{Termios,B9600,cfsetospeed,cfgetospeed}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `termios`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - cfsetispeed (line 290) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `termios` [INFO] [stdout] --> src/lib.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termios::{Termios,B9600,cfsetispeed,cfgetispeed}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `termios`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 78) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `termios` [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termios::{Termios,cfsetspeed}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `termios`? [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `termios` [INFO] [stdout] --> src/lib.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 8 | cfsetspeed(termios, termios::os::linux::B4000000) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `termios` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Termios (line 144) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `termios` [INFO] [stdout] --> src/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 7 | use termios::*; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `termios`? [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Termios` [INFO] [stdout] --> src/lib.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 9 | let mut termios = try!(Termios::from_fd(fd)); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Termios` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREAD` in this scope [INFO] [stdout] --> src/lib.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 11 | termios.c_cflag |= CREAD | CLOCAL; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLOCAL` in this scope [INFO] [stdout] --> src/lib.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 11 | termios.c_cflag |= CREAD | CLOCAL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ICANON` in this scope [INFO] [stdout] --> src/lib.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 12 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ECHO` in this scope [INFO] [stdout] --> src/lib.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 12 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ECHOE` in this scope [INFO] [stdout] --> src/lib.rs:154:42 [INFO] [stdout] | [INFO] [stdout] 12 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ECHOK` in this scope [INFO] [stdout] --> src/lib.rs:154:50 [INFO] [stdout] | [INFO] [stdout] 12 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ECHONL` in this scope [INFO] [stdout] --> src/lib.rs:154:58 [INFO] [stdout] | [INFO] [stdout] 12 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ISIG` in this scope [INFO] [stdout] --> src/lib.rs:154:67 [INFO] [stdout] | [INFO] [stdout] 12 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IEXTEN` in this scope [INFO] [stdout] --> src/lib.rs:154:74 [INFO] [stdout] | [INFO] [stdout] 12 | termios.c_lflag &= !(ICANON | ECHO | ECHOE | ECHOK | ECHONL | ISIG | IEXTEN); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPOST` in this scope [INFO] [stdout] --> src/lib.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 13 | termios.c_oflag &= !OPOST; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INLCR` in this scope [INFO] [stdout] --> src/lib.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 14 | termios.c_iflag &= !(INLCR | IGNCR | ICRNL | IGNBRK); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IGNCR` in this scope [INFO] [stdout] --> src/lib.rs:156:34 [INFO] [stdout] | [INFO] [stdout] 14 | termios.c_iflag &= !(INLCR | IGNCR | ICRNL | IGNBRK); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ICRNL` in this scope [INFO] [stdout] --> src/lib.rs:156:42 [INFO] [stdout] | [INFO] [stdout] 14 | termios.c_iflag &= !(INLCR | IGNCR | ICRNL | IGNBRK); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IGNBRK` in this scope [INFO] [stdout] --> src/lib.rs:156:50 [INFO] [stdout] | [INFO] [stdout] 14 | termios.c_iflag &= !(INLCR | IGNCR | ICRNL | IGNBRK); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VMIN` in this scope [INFO] [stdout] --> src/lib.rs:158:18 [INFO] [stdout] | [INFO] [stdout] 16 | termios.c_cc[VMIN] = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VTIME` in this scope [INFO] [stdout] --> src/lib.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 17 | termios.c_cc[VTIME] = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cfsetspeed` in this scope [INFO] [stdout] --> src/lib.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 19 | try!(cfsetspeed(&mut termios, B9600)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B9600` in this scope [INFO] [stdout] --> src/lib.rs:161:35 [INFO] [stdout] | [INFO] [stdout] 19 | try!(cfsetspeed(&mut termios, B9600)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tcsetattr` in this scope [INFO] [stdout] --> src/lib.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 20 | try!(tcsetattr(fd, TCSANOW, &mut termios)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TCSANOW` in this scope [INFO] [stdout] --> src/lib.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 20 | try!(tcsetattr(fd, TCSANOW, &mut termios)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, 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 - cfsetospeed (line 333) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `termios` [INFO] [stdout] --> src/lib.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termios::{Termios,B9600,cfsetospeed,cfgetospeed}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `termios`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - cfsetspeed (line 373) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `termios` [INFO] [stdout] --> src/lib.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termios::{Termios,B9600,cfsetspeed,cfgetispeed,cfgetospeed}; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `termios`? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/lib.rs - (line 28) [INFO] [stdout] src/lib.rs - (line 44) [INFO] [stdout] src/lib.rs - (line 78) [INFO] [stdout] src/lib.rs - Termios (line 144) [INFO] [stdout] src/lib.rs - cfgetispeed (line 233) [INFO] [stdout] src/lib.rs - cfgetospeed (line 248) [INFO] [stdout] src/lib.rs - cfsetispeed (line 290) [INFO] [stdout] src/lib.rs - cfsetospeed (line 333) [INFO] [stdout] src/lib.rs - cfsetspeed (line 373) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "84d3400d4616f7bac045ed00118c3ea1e63ccb9a3a62cf7f12e041daa9436482"` [INFO] running `"docker" "rm" "-f" "84d3400d4616f7bac045ed00118c3ea1e63ccb9a3a62cf7f12e041daa9436482"` [INFO] [stdout] 84d3400d4616f7bac045ed00118c3ea1e63ccb9a3a62cf7f12e041daa9436482