Skip to content

error[E0425]: cannot find value term in this scope #115

Description

@yurivict

Build fails:

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:286:9
    |
286 |         term.c_iflag |= libc::IUTF8;
    |         ^^^^ not found in this scope

error[E0425]: cannot find value `IUTF8` in crate `libc`
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:286:31
    |
286 |         term.c_iflag |= libc::IUTF8;
    |                               ^^^^^ not found in `libc`

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:290:5
    |
290 |     term.c_cc[libc::VEOF] = 4;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:291:5
    |
291 |     term.c_cc[libc::VEOL] = 255;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:292:5
    |
292 |     term.c_cc[libc::VEOL2] = 255;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:293:5
    |
293 |     term.c_cc[libc::VERASE] = 0x7f;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:294:5
    |
294 |     term.c_cc[libc::VWERASE] = 23;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:295:5
    |
295 |     term.c_cc[libc::VKILL] = 21;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:296:5
    |
296 |     term.c_cc[libc::VREPRINT] = 18;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:297:5
    |
297 |     term.c_cc[libc::VINTR] = 3;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:298:5
    |
298 |     term.c_cc[libc::VQUIT] = 0x1c;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:299:5
    |
299 |     term.c_cc[libc::VSUSP] = 26;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:300:5
    |
300 |     term.c_cc[libc::VSTART] = 17;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:301:5
    |
301 |     term.c_cc[libc::VSTOP] = 19;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:302:5
    |
302 |     term.c_cc[libc::VLNEXT] = 22;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:303:5
    |
303 |     term.c_cc[libc::VDISCARD] = 15;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:304:5
    |
304 |     term.c_cc[libc::VMIN] = 1;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:305:5
    |
305 |     term.c_cc[libc::VTIME] = 0;
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `term` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:313:5
    |
313 |     term
    |     ^^^^ not found in this scope

error[E0425]: cannot find value `TIOCSWINSZ` in this scope
   --> /usr/ports/x11/rio/work/rio-0.0.8/cargo-crates/teletypewriter-2.0.1/src/unix/mod.rs:413:44
    |
413 |         match unsafe { libc::ioctl(**self, TIOCSWINSZ, &winsize as *const _) } {
    |                                            ^^^^^^^^^^ not found in this scope
    |
help: consider importing this constant
    |

The "teletypewriter" crate has this repository set as source.

Version: 0.0.8
rust-1.70.0
FreeBSD 13.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions