[INFO] cloning repository https://github.com/Myrannas/rusted-nio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Myrannas/rusted-nio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyrannas%2Frusted-nio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyrannas%2Frusted-nio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bcdf165bd89681130a6b6f7c8f4ef57f2ee2d77 [INFO] checking Myrannas/rusted-nio/5bcdf165bd89681130a6b6f7c8f4ef57f2ee2d77 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyrannas%2Frusted-nio" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Myrannas/rusted-nio on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Myrannas/rusted-nio [INFO] finished tweaking git repo https://github.com/Myrannas/rusted-nio [INFO] tweaked toml for git repo https://github.com/Myrannas/rusted-nio written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Myrannas/rusted-nio already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0100eef64c76b7e54ba2be118a2acc85d84a9284abfed7431486174f2b36195d [INFO] running `Command { std: "docker" "start" "-a" "0100eef64c76b7e54ba2be118a2acc85d84a9284abfed7431486174f2b36195d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0100eef64c76b7e54ba2be118a2acc85d84a9284abfed7431486174f2b36195d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0100eef64c76b7e54ba2be118a2acc85d84a9284abfed7431486174f2b36195d", kill_on_drop: false }` [INFO] [stdout] 0100eef64c76b7e54ba2be118a2acc85d84a9284abfed7431486174f2b36195d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 975af2996131965500c0f9706f62834584c3d7d2efbcf8ca91c9ae9d9e57ae38 [INFO] running `Command { std: "docker" "start" "-a" "975af2996131965500c0f9706f62834584c3d7d2efbcf8ca91c9ae9d9e57ae38", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rusty v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/main.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | ... debug!("Received {} events", events.len()) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 51 | ... [INFO] [stdout] 52 | ... for event in events.iter() { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/main.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | ... debug!("Received {} events", events.len()) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 51 | ... [INFO] [stdout] 52 | ... for event in events.iter() { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `u32`, not a shift [INFO] [stdout] --> src/sockets.rs:41:48 [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl(a1 as u32 << 24 | a2 as u32 << 16 | a3 as u32 << 8 | a4 as u32)} [INFO] [stdout] | ^^ -- interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl((a1 as u32) << 24 | a2 as u32 << 16 | a3 as u32 << 8 | a4 as u32)} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `u32`, not a shift [INFO] [stdout] --> src/sockets.rs:41:48 [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl(a1 as u32 << 24 | a2 as u32 << 16 | a3 as u32 << 8 | a4 as u32)} [INFO] [stdout] | ^^ -- interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl((a1 as u32) << 24 | a2 as u32 << 16 | a3 as u32 << 8 | a4 as u32)} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `u32`, not a shift [INFO] [stdout] --> src/sockets.rs:41:66 [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl(a1 as u32 << 24 | a2 as u32 << 16 | a3 as u32 << 8 | a4 as u32)} [INFO] [stdout] | ^^ -- interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl(a1 as u32 << 24 | (a2 as u32) << 16 | a3 as u32 << 8 | a4 as u32)} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `u32`, not a shift [INFO] [stdout] --> src/sockets.rs:41:84 [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl(a1 as u32 << 24 | a2 as u32 << 16 | a3 as u32 << 8 | a4 as u32)} [INFO] [stdout] | ^^ - interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl(a1 as u32 << 24 | a2 as u32 << 16 | (a3 as u32) << 8 | a4 as u32)} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `u32`, not a shift [INFO] [stdout] --> src/sockets.rs:41:66 [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl(a1 as u32 << 24 | a2 as u32 << 16 | a3 as u32 << 8 | a4 as u32)} [INFO] [stdout] | ^^ -- interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl(a1 as u32 << 24 | (a2 as u32) << 16 | a3 as u32 << 8 | a4 as u32)} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `u32`, not a shift [INFO] [stdout] --> src/sockets.rs:41:84 [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl(a1 as u32 << 24 | a2 as u32 << 16 | a3 as u32 << 8 | a4 as u32)} [INFO] [stdout] | ^^ - interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 41 | s_addr : unsafe{htonl(a1 as u32 << 24 | a2 as u32 << 16 | (a3 as u32) << 8 | a4 as u32)} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `native` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate native; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `native` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate native; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/errors.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::funcs::c95::stdio::perror; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/epoll.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::funcs::posix88::unistd::close; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/sockets.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::types::os::common::bsd44::{sockaddr, sockaddr_in, in_addr}; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/sockets.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use libc::funcs::bsd43::{socket,bind,listen,accept}; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/sockets.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::consts::os::bsd44::{AF_INET,SOCK_STREAM}; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/sockets.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::consts::os::extra::O_NONBLOCK; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/sockets.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::funcs::posix88::unistd::close; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/sockets.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::funcs::posix88::fcntl::{fcntl}; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/errors.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::funcs::c95::stdio::perror; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/sockets.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use libc::consts::os::posix88::{EWOULDBLOCK,EAGAIN}; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/epoll.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::funcs::posix88::unistd::close; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/sockets.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use libc::consts::os::posix01::{F_GETFL,F_SETFL}; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `libc` [INFO] [stdout] --> src/sockets.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::types::os::common::bsd44::{sockaddr, sockaddr_in, in_addr}; [INFO] [stdout] | ^^^^^ could not find `types` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/sockets.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use libc::funcs::bsd43::{socket,bind,listen,accept}; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/sockets.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::consts::os::bsd44::{AF_INET,SOCK_STREAM}; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/sockets.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::consts::os::extra::O_NONBLOCK; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/sockets.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::funcs::posix88::unistd::close; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/sockets.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::funcs::posix88::fcntl::{fcntl}; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/sockets.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use libc::consts::os::posix88::{EWOULDBLOCK,EAGAIN}; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/sockets.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use libc::consts::os::posix01::{F_GETFL,F_SETFL}; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/signals.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::consts::os::posix88::{SIGTERM,SIGQUIT,SIGINT}; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/signals.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use libc::consts::os::posix88::{SIGTERM,SIGQUIT,SIGINT}; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::errno` [INFO] [stdout] --> src/sockets.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::os::errno; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `errno` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::errno` [INFO] [stdout] --> src/sockets.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::os::errno; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `errno` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/main.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[phase(plugin, link)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `phase` in this scope [INFO] [stdout] --> src/main.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[phase(plugin, link)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/epoll.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/epoll.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/epoll.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/epoll.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/epoll.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | debug!("Creating new epoll instance"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/epoll.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | debug!("Creating new epoll instance"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/epoll.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | error!("Unable to add event ({}) to epoll instance ({})", event, self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/epoll.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | error!("Unable to add event ({}) to epoll instance ({})", event, self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/epoll.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | debug!("Added new event ({}) to epoll instance ({})", event, self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/epoll.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | debug!("Added new event ({}) to epoll instance ({})", event, self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/epoll.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | error!("Error polling ({})", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/epoll.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | error!("Error polling ({})", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/sockets.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[deriving(Eq, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/sockets.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[deriving(Eq, PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/sockets.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/sockets.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/sockets.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | error!("Error encountered while modifying socket mode to be non-blocking"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/sockets.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | error!("Error encountered while modifying socket mode to be non-blocking"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/sockets.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | error!("Error encountered while modifying socket mode to be non-blocking"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/sockets.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | error!("Error encountered while modifying socket mode to be non-blocking"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | debug!("Closing remote socket ({})", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | debug!("Closing remote socket ({})", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/sockets.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 94 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/sockets.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 94 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | debug!("Attempting to create socket descriptor"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | debug!("Attempting to create socket descriptor"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | debug!("Binding to socket ({}) on with address ({})", socket, address); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | debug!("Binding to socket ({}) on with address ({})", socket, address); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/sockets.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | error!("Error binding to socket - errno {} for descriptor {}", result, fd); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/sockets.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | error!("Error binding to socket - errno {} for descriptor {}", result, fd); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/sockets.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | error!("Error creating socket descriptor - errno {}", fd); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/sockets.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | error!("Error creating socket descriptor - errno {}", fd); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | debug!("Listening to socket ({})", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | debug!("Listening to socket ({})", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | debug!("Error accepting socket ({})", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | debug!("Error accepting socket ({})", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | debug!("Closing socket ({})", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/sockets.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | debug!("Closing socket ({})", self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/signals.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[deriving(Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/signals.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[deriving(Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/signals.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | debug!("Signal callback"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/signals.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | debug!("Signal callback"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/signals.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | error!("Unable to register signal handler"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/signals.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | error!("Unable to register signal handler"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/signals.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | error!("Unable to register signal handler"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/signals.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | error!("Unable to register signal handler"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/signals.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | error!("Unable to register signal handler"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/signals.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | error!("Unable to register signal handler"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | error!("Error listening for socket {}", socket); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | error!("Error listening for socket {}", socket); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | error!("Error binding epoll {} to listen socket {}", epoll, socket); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | error!("Error binding epoll {} to listen socket {}", epoll, socket); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | ... debug!("Accepted client {}", new_client); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/main.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | ... debug!("Accepted client {}", new_client); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | error!("Encountered error polling epoll instance") [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/main.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | error!("Encountered error polling epoll instance") [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/epoll.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(flags : u32, buffer_size: uint) -> EPoll { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CtlAdd` in this scope [INFO] [stdout] --> src/epoll.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | let result = unsafe {epoll_ctl(self.handle, CtlAdd as i32, fd, event)}; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use epoll::EPollOperation::CtlAdd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/epoll.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | return Ok(self.event_buffer.as_slice().slice(0, result as uint)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IPv4` in this scope [INFO] [stdout] --> src/sockets.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn localhost(port:u16) -> Address { IPv4(127,0,0,1, port) } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use sockets::Address::IPv4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `IPv4` in this scope [INFO] [stdout] --> src/sockets.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | IPv4(a1, a2, a3, a4, port) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use sockets::Address::IPv4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `IPv4` in this scope [INFO] [stdout] --> src/sockets.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | IPv4(_,_,_,_,_) => AF_INET [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use sockets::Address::IPv4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IPv4` in this scope [INFO] [stdout] --> src/sockets.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | let mut addr = IPv4(0,0,0,0,0).to_addr(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use sockets::Address::IPv4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/sockets.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | if errno() == EAGAIN as int || errno() == EWOULDBLOCK as int { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/epoll.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(flags : u32, buffer_size: uint) -> EPoll { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/sockets.rs:145:61 [INFO] [stdout] | [INFO] [stdout] 145 | if errno() == EAGAIN as int || errno() == EWOULDBLOCK as int { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SignalTerminate` in this scope [INFO] [stdout] --> src/signals.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe {current_signal = SignalTerminate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use signals::SignalType::SignalTerminate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CtlAdd` in this scope [INFO] [stdout] --> src/epoll.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | let result = unsafe {epoll_ctl(self.handle, CtlAdd as i32, fd, event)}; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use epoll::EPollOperation::CtlAdd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SignalQuit` in this scope [INFO] [stdout] --> src/signals.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe {current_signal = SignalQuit}; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use signals::SignalType::SignalQuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/epoll.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | return Ok(self.event_buffer.as_slice().slice(0, result as uint)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SignalInterrupt` in this scope [INFO] [stdout] --> src/signals.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe {current_signal = SignalInterrupt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use signals::SignalType::SignalInterrupt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IPv4` in this scope [INFO] [stdout] --> src/sockets.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn localhost(port:u16) -> Address { IPv4(127,0,0,1, port) } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use sockets::Address::IPv4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `IPv4` in this scope [INFO] [stdout] --> src/sockets.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | IPv4(a1, a2, a3, a4, port) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use sockets::Address::IPv4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SignalInterrupt` in module `signals` [INFO] [stdout] --> src/main.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | if last_signal == signals::SignalInterrupt || last_signal == signals::SignalQuit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `signals` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use signals::SignalType::SignalInterrupt; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignalInterrupt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - if last_signal == signals::SignalInterrupt || last_signal == signals::SignalQuit { [INFO] [stdout] 41 + if last_signal == SignalInterrupt || last_signal == signals::SignalQuit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `IPv4` in this scope [INFO] [stdout] --> src/sockets.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | IPv4(_,_,_,_,_) => AF_INET [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use sockets::Address::IPv4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SignalQuit` in module `signals` [INFO] [stdout] --> src/main.rs:41:75 [INFO] [stdout] | [INFO] [stdout] 41 | if last_signal == signals::SignalInterrupt || last_signal == signals::SignalQuit { [INFO] [stdout] | ^^^^^^^^^^ not found in `signals` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use signals::SignalType::SignalQuit; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignalQuit`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - if last_signal == signals::SignalInterrupt || last_signal == signals::SignalQuit { [INFO] [stdout] 41 + if last_signal == signals::SignalInterrupt || last_signal == SignalQuit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IPv4` in this scope [INFO] [stdout] --> src/sockets.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | let mut addr = IPv4(0,0,0,0,0).to_addr(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use sockets::Address::IPv4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sockets.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | try!(remote.make_non_blocking()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/sockets.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | if errno() == EAGAIN as int || errno() == EWOULDBLOCK as int { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/sockets.rs:145:61 [INFO] [stdout] | [INFO] [stdout] 145 | if errno() == EAGAIN as int || errno() == EWOULDBLOCK as int { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SignalTerminate` in this scope [INFO] [stdout] --> src/signals.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe {current_signal = SignalTerminate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use signals::SignalType::SignalTerminate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SignalQuit` in this scope [INFO] [stdout] --> src/signals.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe {current_signal = SignalQuit}; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use signals::SignalType::SignalQuit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SignalInterrupt` in this scope [INFO] [stdout] --> src/signals.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe {current_signal = SignalInterrupt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 + use signals::SignalType::SignalInterrupt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SignalInterrupt` in module `signals` [INFO] [stdout] --> src/main.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | if last_signal == signals::SignalInterrupt || last_signal == signals::SignalQuit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `signals` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use signals::SignalType::SignalInterrupt; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignalInterrupt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - if last_signal == signals::SignalInterrupt || last_signal == signals::SignalQuit { [INFO] [stdout] 41 + if last_signal == SignalInterrupt || last_signal == signals::SignalQuit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SignalQuit` in module `signals` [INFO] [stdout] --> src/main.rs:41:75 [INFO] [stdout] | [INFO] [stdout] 41 | if last_signal == signals::SignalInterrupt || last_signal == signals::SignalQuit { [INFO] [stdout] | ^^^^^^^^^^ not found in `signals` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use signals::SignalType::SignalQuit; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignalQuit`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - if last_signal == signals::SignalInterrupt || last_signal == signals::SignalQuit { [INFO] [stdout] 41 + if last_signal == signals::SignalInterrupt || last_signal == SignalQuit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sockets.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | try!(remote.make_non_blocking()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:73:107 [INFO] [stdout] | [INFO] [stdout] 73 | ... let result = unsafe {epoll_wait(self.handle, self.event_buffer.as_mut_ptr(), self.event_buffer.len() as libc::c_int, timeout as lib... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:73:107 [INFO] [stdout] | [INFO] [stdout] 73 | ... let result = unsafe {epoll_wait(self.handle, self.event_buffer.as_mut_ptr(), self.event_buffer.len() as libc::c_int, timeout as lib... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:73:131 [INFO] [stdout] | [INFO] [stdout] 73 | ...ut_ptr(), self.event_buffer.len() as libc::c_int, timeout as libc::c_int)}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:73:131 [INFO] [stdout] | [INFO] [stdout] 73 | ...ut_ptr(), self.event_buffer.len() as libc::c_int, timeout as libc::c_int)}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn epoll_create1(flags: i32) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn epoll_create1(flags: i32) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:38:79 [INFO] [stdout] | [INFO] [stdout] 38 | fn epoll_ctl(epoll: i32, operation: i32, fd: i32, event: *mut EPollEvent) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:38:79 [INFO] [stdout] | [INFO] [stdout] 38 | fn epoll_ctl(epoll: i32, operation: i32, fd: i32, event: *mut EPollEvent) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | fn epoll_wait(epoll: i32, events: *mut EPollEvent, maxEvents: libc::c_int, timeout: libc::c_int) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | fn epoll_wait(epoll: i32, events: *mut EPollEvent, maxEvents: libc::c_int, timeout: libc::c_int) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:39:86 [INFO] [stdout] | [INFO] [stdout] 39 | fn epoll_wait(epoll: i32, events: *mut EPollEvent, maxEvents: libc::c_int, timeout: libc::c_int) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:39:86 [INFO] [stdout] | [INFO] [stdout] 39 | fn epoll_wait(epoll: i32, events: *mut EPollEvent, maxEvents: libc::c_int, timeout: libc::c_int) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:39:102 [INFO] [stdout] | [INFO] [stdout] 39 | fn epoll_wait(epoll: i32, events: *mut EPollEvent, maxEvents: libc::c_int, timeout: libc::c_int) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/epoll.rs:39:102 [INFO] [stdout] | [INFO] [stdout] 39 | fn epoll_wait(epoll: i32, events: *mut EPollEvent, maxEvents: libc::c_int, timeout: libc::c_int) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/sockets.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/sockets.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/sockets.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub handle: libc::c_int, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/sockets.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub handle: libc::c_int, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/sockets.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | pub handle: libc::c_int [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/sockets.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | pub handle: libc::c_int [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/signals.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/signals.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/signals.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | fn signal(signal: libc::c_int, callback: extern fn(i32)) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/signals.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | fn signal(signal: libc::c_int, callback: extern fn(i32)) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/signals.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | fn signal(signal: libc::c_int, callback: extern fn(i32)) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/signals.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | fn signal(signal: libc::c_int, callback: extern fn(i32)) -> libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `phase` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(phase)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/signals.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | static mut current_signal : SignalType = None; [INFO] [stdout] | ^^^^ expected `SignalType`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `SignalType` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/signals.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | static mut current_signal : SignalType = None; [INFO] [stdout] | ^^^^ expected `SignalType`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `SignalType` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_c_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/errors.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | let cstr = message.to_c_str(); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_c_str` found for reference `&str` in the current scope [INFO] [stdout] --> src/errors.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | let cstr = message.to_c_str(); [INFO] [stdout] | ^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_fn` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/epoll.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | let event_buffer = Vec::from_fn(buffer_size,|_| {EPollEvent{events:0 , data:0}}); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:421:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:585:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_fn` found for struct `Vec<_, _>` in the current scope [INFO] [stdout] --> src/epoll.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | let event_buffer = Vec::from_fn(buffer_size,|_| {EPollEvent{events:0 , data:0}}); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:421:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:585:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice` found for reference `&[EPollEvent]` in the current scope [INFO] [stdout] --> src/epoll.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | return Ok(self.event_buffer.as_slice().slice(0, result as uint)) [INFO] [stdout] | ^^^^^ method not found in `&[EPollEvent]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice` found for reference `&[EPollEvent]` in the current scope [INFO] [stdout] --> src/epoll.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | return Ok(self.event_buffer.as_slice().slice(0, result as uint)) [INFO] [stdout] | ^^^^^ method not found in `&[EPollEvent]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/signals.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 17 | static mut current_signal : SignalType = None; [INFO] [stdout] | ---------- expected due to this type [INFO] [stdout] ... [INFO] [stdout] 40 | current_signal = None; [INFO] [stdout] | ^^^^ expected `SignalType`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `SignalType` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/signals.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 17 | static mut current_signal : SignalType = None; [INFO] [stdout] | ---------- expected due to this type [INFO] [stdout] ... [INFO] [stdout] 40 | current_signal = None; [INFO] [stdout] | ^^^^ expected `SignalType`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `SignalType` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | let mut event = epoll::EPollEvent::new(socket.handle as u64, [epoll::EPollEventType::EPollIn, epoll::EPollEventType::EPollEt]); [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[EPollEventType]`, found `[EPollEventType; 2]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[EPollEventType]` [INFO] [stdout] found array `[EPollEventType; 2]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/epoll.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new(data: u64, events: &[EPollEventType]) -> EPollEvent { [INFO] [stdout] | ^^^ ------------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 29 | let mut event = epoll::EPollEvent::new(socket.handle as u64, &[epoll::EPollEventType::EPollIn, epoll::EPollEventType::EPollEt]); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | let mut event = epoll::EPollEvent::new(socket.handle as u64, [epoll::EPollEventType::EPollIn, epoll::EPollEventType::EPollEt]); [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[EPollEventType]`, found `[EPollEventType; 2]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[EPollEventType]` [INFO] [stdout] found array `[EPollEventType; 2]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/epoll.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new(data: u64, events: &[EPollEventType]) -> EPollEvent { [INFO] [stdout] | ^^^ ------------------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 29 | let mut event = epoll::EPollEvent::new(socket.handle as u64, &[epoll::EPollEventType::EPollIn, epoll::EPollEventType::EPollEt]); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*event` which is behind a shared reference [INFO] [stdout] --> src/epoll.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | event_mask = event_mask | (*event as u32); [INFO] [stdout] | ^^^^^^ move occurs because `*event` has type `EPollEventType`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `EPollEventType` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/epoll.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum EPollEventType [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 90 | event_mask = event_mask | (*event as u32); [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*event` which is behind a shared reference [INFO] [stdout] --> src/epoll.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | event_mask = event_mask | (*event as u32); [INFO] [stdout] | ^^^^^^ move occurs because `*event` has type `EPollEventType`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `EPollEventType` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/epoll.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum EPollEventType [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 90 | event_mask = event_mask | (*event as u32); [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 84 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0463, E0507, E0531, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 84 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0463, E0507, E0531, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty` (bin "rusty") due to 85 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rusty` (bin "rusty" test) due to 85 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "975af2996131965500c0f9706f62834584c3d7d2efbcf8ca91c9ae9d9e57ae38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "975af2996131965500c0f9706f62834584c3d7d2efbcf8ca91c9ae9d9e57ae38", kill_on_drop: false }` [INFO] [stdout] 975af2996131965500c0f9706f62834584c3d7d2efbcf8ca91c9ae9d9e57ae38