[INFO] crate dmx-termios 0.3.0 is already in cache [INFO] testing dmx-termios-0.3.0 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate dmx-termios 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate dmx-termios 0.3.0 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate dmx-termios 0.3.0 [INFO] finished tweaking crates.io crate dmx-termios 0.3.0 [INFO] tweaked toml for crates.io crate dmx-termios 0.3.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4fa0d92e425d7f8078c3ab592cd5aff1bac6f536e9d48e0543410e53f6731c9d [INFO] running `"docker" "start" "-a" "4fa0d92e425d7f8078c3ab592cd5aff1bac6f536e9d48e0543410e53f6731c9d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling dmx-termios v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/os/linux.rs:184:28 [INFO] [stderr] | [INFO] [stderr] 184 | pub const TCGETS2: c_int = (0x802c_542a as c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:191:45 [INFO] [stderr] | [INFO] [stderr] 191 | let mut termios: Termios = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [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 the type `i32` and will become `-2144578518i32` [INFO] [stderr] = help: consider using `u32` instead [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `"docker" "inspect" "4fa0d92e425d7f8078c3ab592cd5aff1bac6f536e9d48e0543410e53f6731c9d"` [INFO] running `"docker" "rm" "-f" "4fa0d92e425d7f8078c3ab592cd5aff1bac6f536e9d48e0543410e53f6731c9d"` [INFO] [stdout] 4fa0d92e425d7f8078c3ab592cd5aff1bac6f536e9d48e0543410e53f6731c9d [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3b8dc0bdfe3e6a2be2fb0e519829ee53a4d05788a1465f4eb611d062638892eb [INFO] running `"docker" "start" "-a" "3b8dc0bdfe3e6a2be2fb0e519829ee53a4d05788a1465f4eb611d062638892eb"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling dmx-termios v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/os/linux.rs:184:28 [INFO] [stderr] | [INFO] [stderr] 184 | pub const TCGETS2: c_int = (0x802c_542a as c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:191:45 [INFO] [stderr] | [INFO] [stderr] 191 | let mut termios: Termios = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [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 the type `i32` and will become `-2144578518i32` [INFO] [stderr] = help: consider using `u32` instead [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/os/linux.rs:184:28 [INFO] [stderr] | [INFO] [stderr] 184 | pub const TCGETS2: c_int = (0x802c_542a as c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:191:45 [INFO] [stderr] | [INFO] [stderr] 191 | let mut termios: Termios = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [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 the type `i32` and will become `-2144578518i32` [INFO] [stderr] = help: consider using `u32` instead [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `"docker" "inspect" "3b8dc0bdfe3e6a2be2fb0e519829ee53a4d05788a1465f4eb611d062638892eb"` [INFO] running `"docker" "rm" "-f" "3b8dc0bdfe3e6a2be2fb0e519829ee53a4d05788a1465f4eb611d062638892eb"` [INFO] [stdout] 3b8dc0bdfe3e6a2be2fb0e519829ee53a4d05788a1465f4eb611d062638892eb [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9659c99a8bfa2c56f585475fabecff88e8184ea65aceb0e5ae95f206761a9b75 [INFO] running `"docker" "start" "-a" "9659c99a8bfa2c56f585475fabecff88e8184ea65aceb0e5ae95f206761a9b75"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/os/linux.rs:184:28 [INFO] [stderr] | [INFO] [stderr] 184 | pub const TCGETS2: c_int = (0x802c_542a as c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:191:45 [INFO] [stderr] | [INFO] [stderr] 191 | let mut termios: Termios = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [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 the type `i32` and will become `-2144578518i32` [INFO] [stderr] = help: consider using `u32` instead [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/os/linux.rs:184:28 [INFO] [stderr] | [INFO] [stderr] 184 | pub const TCGETS2: c_int = (0x802c_542a as c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:191:45 [INFO] [stderr] | [INFO] [stderr] 191 | let mut termios: Termios = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [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 the type `i32` and will become `-2144578518i32` [INFO] [stderr] = help: consider using `u32` instead [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/dmx_termios-624b39479385afd1 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests dmx-termios [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> /opt/rustwide/workdir/src/os/linux.rs:184:28 [INFO] [stderr] | [INFO] [stderr] 184 | pub const TCGETS2: c_int = (0x802c_542a as c_int); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - (line 44) ... FAILED [INFO] [stdout] test src/lib.rs - (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - cfsetospeed (line 333) ... FAILED [INFO] [stdout] test src/lib.rs - cfgetospeed (line 248) ... FAILED [INFO] [stdout] test src/lib.rs - Termios (line 144) ... FAILED [INFO] [stdout] test src/lib.rs - cfsetispeed (line 290) ... FAILED [INFO] [stdout] test src/lib.rs - cfsetspeed (line 373) ... FAILED [INFO] [stdout] test src/lib.rs - cfgetispeed (line 233) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [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 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 - (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 - (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 - 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] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:336:28 [INFO] [stdout] | [INFO] [stdout] 5 | let mut termios = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [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 - 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] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:251:28 [INFO] [stdout] | [INFO] [stdout] 5 | let mut termios = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [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 - 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] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 9 | let mut termios = try!(Termios::from_fd(fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 19 | try!(cfsetspeed(&mut termios, B9600)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/lib.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 20 | try!(tcsetattr(fd, TCSANOW, &mut termios)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 3 warnings emitted [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 - 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] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:293:28 [INFO] [stdout] | [INFO] [stdout] 5 | let mut termios = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [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] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:376:28 [INFO] [stdout] | [INFO] [stdout] 5 | let mut termios = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [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 - 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] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:236:28 [INFO] [stdout] | [INFO] [stdout] 5 | let mut termios = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [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] running `"docker" "inspect" "9659c99a8bfa2c56f585475fabecff88e8184ea65aceb0e5ae95f206761a9b75"` [INFO] running `"docker" "rm" "-f" "9659c99a8bfa2c56f585475fabecff88e8184ea65aceb0e5ae95f206761a9b75"` [INFO] [stdout] 9659c99a8bfa2c56f585475fabecff88e8184ea65aceb0e5ae95f206761a9b75