[INFO] cloning repository https://github.com/jeeban-jyoti/Load-Balancer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeeban-jyoti/Load-Balancer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeeban-jyoti%2FLoad-Balancer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeeban-jyoti%2FLoad-Balancer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e210209dea9a1c74a325a89e73ca5f5c282cf3a2 [INFO] checking jeeban-jyoti/Load-Balancer against try#9228062c11d321a3ea08123f57e47533a3c88b00 for pr-154781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeeban-jyoti%2FLoad-Balancer" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jeeban-jyoti/Load-Balancer [INFO] finished tweaking git repo https://github.com/jeeban-jyoti/Load-Balancer [INFO] tweaked toml for git repo https://github.com/jeeban-jyoti/Load-Balancer written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeeban-jyoti/Load-Balancer on toolchain 9228062c11d321a3ea08123f57e47533a3c88b00 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9228062c11d321a3ea08123f57e47533a3c88b00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jeeban-jyoti/Load-Balancer 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" "+9228062c11d321a3ea08123f57e47533a3c88b00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded queues v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9228062c11d321a3ea08123f57e47533a3c88b00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b75186dd6eec13a153d03d2b127bb47f627639294c9564a73499117514269312 [INFO] running `Command { std: "docker" "start" "-a" "b75186dd6eec13a153d03d2b127bb47f627639294c9564a73499117514269312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b75186dd6eec13a153d03d2b127bb47f627639294c9564a73499117514269312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b75186dd6eec13a153d03d2b127bb47f627639294c9564a73499117514269312", kill_on_drop: false }` [INFO] [stdout] b75186dd6eec13a153d03d2b127bb47f627639294c9564a73499117514269312 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9228062c11d321a3ea08123f57e47533a3c88b00" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90fda5122fb650e56b0a03d20a0d486423980fdf87f2ec3fbbf41661256684ab [INFO] running `Command { std: "docker" "start" "-a" "90fda5122fb650e56b0a03d20a0d486423980fdf87f2ec3fbbf41661256684ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking shared_memory v0.12.4 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking MAIN v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find type `kevent` in crate `libc` [INFO] [stdout] --> src/worker.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | kev: &mut libc::kevent, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 19 - kev: &mut libc::kevent, [INFO] [stdout] 19 + kev: &mut libc::servent, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/worker.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut ev: kevent = zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 37 - let mut ev: kevent = zeroed(); [INFO] [stdout] 37 + let mut ev: servent = zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in this scope [INFO] [stdout] --> src/worker.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ADD` in this scope [INFO] [stdout] --> src/worker.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ENABLE` in this scope [INFO] [stdout] --> src/worker.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in crate `libc` [INFO] [stdout] --> src/worker.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | kev: &mut libc::kevent, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 19 - kev: &mut libc::kevent, [INFO] [stdout] 19 + kev: &mut libc::servent, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/worker.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut ev: kevent = mem::zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 - let mut ev: kevent = mem::zeroed(); [INFO] [stdout] 54 + let mut ev: servent = mem::zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/worker.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut ev: kevent = zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 37 - let mut ev: kevent = zeroed(); [INFO] [stdout] 37 + let mut ev: servent = zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in this scope [INFO] [stdout] --> src/worker.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ADD` in this scope [INFO] [stdout] --> src/worker.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ENABLE` in this scope [INFO] [stdout] --> src/worker.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/worker.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut ev: kevent = mem::zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 - let mut ev: kevent = mem::zeroed(); [INFO] [stdout] 54 + let mut ev: servent = mem::zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in crate `libc` [INFO] [stdout] --> src/worker.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | libc::EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_DELETE` in crate `libc` [INFO] [stdout] --> src/worker.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | libc::EV_DELETE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/unix/linux_like/linux/mod.rs:4927:1 [INFO] [stdout] | [INFO] [stdout] 4927 | pub const IN_DELETE: u32 = 0x0000_0200; [INFO] [stdout] | ------------------------ similarly named constant `IN_DELETE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 59 - libc::EV_DELETE, [INFO] [stdout] 59 + libc::IN_DELETE, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/worker.rs:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | let mut events: [kevent; 32] = zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 491 - let mut events: [kevent; 32] = zeroed(); [INFO] [stdout] 491 + let mut events: [servent; 32] = zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in this scope [INFO] [stdout] --> src/worker.rs:500:33 [INFO] [stdout] | [INFO] [stdout] 500 | if ev.filter == EVFILT_READ { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in crate `libc` [INFO] [stdout] --> src/conn_db.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | kev: &mut libc::kevent, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 12 - kev: &mut libc::kevent, [INFO] [stdout] 12 + kev: &mut libc::servent, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let mut ev: kevent = zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 79 - let mut ev: kevent = zeroed(); [INFO] [stdout] 79 + let mut ev: servent = zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in this scope [INFO] [stdout] --> src/conn_db.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ADD` in this scope [INFO] [stdout] --> src/conn_db.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ENABLE` in this scope [INFO] [stdout] --> src/conn_db.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | let mut events: [kevent; 32] = zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 93 - let mut events: [kevent; 32] = zeroed(); [INFO] [stdout] 93 + let mut events: [servent; 32] = zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in this scope [INFO] [stdout] --> src/conn_db.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | if ev.filter == EVFILT_READ { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | ... let mut client_ev: kevent = zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 114 - let mut client_ev: kevent = zeroed(); [INFO] [stdout] 114 + let mut client_ev: servent = zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in this scope [INFO] [stdout] --> src/conn_db.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | ... EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ADD` in this scope [INFO] [stdout] --> src/conn_db.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | ... EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ENABLE` in this scope [INFO] [stdout] --> src/conn_db.rs:119:42 [INFO] [stdout] | [INFO] [stdout] 119 | ... EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | ... let mut ev: kevent = mem::zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 139 - let mut ev: kevent = mem::zeroed(); [INFO] [stdout] 139 + let mut ev: servent = mem::zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in crate `libc` [INFO] [stdout] --> src/conn_db.rs:143:43 [INFO] [stdout] | [INFO] [stdout] 143 | ... libc::EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_DELETE` in crate `libc` [INFO] [stdout] --> src/conn_db.rs:144:43 [INFO] [stdout] | [INFO] [stdout] 144 | ... libc::EV_DELETE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/unix/linux_like/linux/mod.rs:4927:1 [INFO] [stdout] | [INFO] [stdout] 4927 | pub const IN_DELETE: u32 = 0x0000_0200; [INFO] [stdout] | ------------------------ similarly named constant `IN_DELETE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 144 - libc::EV_DELETE, [INFO] [stdout] 144 + libc::IN_DELETE, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | ... let mut ev: kevent = mem::zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 192 - let mut ev: kevent = mem::zeroed(); [INFO] [stdout] 192 + let mut ev: servent = mem::zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in crate `libc` [INFO] [stdout] --> src/conn_db.rs:196:43 [INFO] [stdout] | [INFO] [stdout] 196 | ... libc::EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_DELETE` in crate `libc` [INFO] [stdout] --> src/conn_db.rs:197:43 [INFO] [stdout] | [INFO] [stdout] 197 | ... libc::EV_DELETE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/unix/linux_like/linux/mod.rs:4927:1 [INFO] [stdout] | [INFO] [stdout] 4927 | pub const IN_DELETE: u32 = 0x0000_0200; [INFO] [stdout] | ------------------------ similarly named constant `IN_DELETE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 197 - libc::EV_DELETE, [INFO] [stdout] 197 + libc::IN_DELETE, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `request` [INFO] [stdout] --> src/worker.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use http::{request, Version}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in crate `libc` [INFO] [stdout] --> src/worker.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | libc::EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_DELETE` in crate `libc` [INFO] [stdout] --> src/worker.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | libc::EV_DELETE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/unix/linux_like/linux/mod.rs:4927:1 [INFO] [stdout] | [INFO] [stdout] 4927 | pub const IN_DELETE: u32 = 0x0000_0200; [INFO] [stdout] | ------------------------ similarly named constant `IN_DELETE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 59 - libc::EV_DELETE, [INFO] [stdout] 59 + libc::IN_DELETE, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/worker.rs:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | let mut events: [kevent; 32] = zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 491 - let mut events: [kevent; 32] = zeroed(); [INFO] [stdout] 491 + let mut events: [servent; 32] = zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in this scope [INFO] [stdout] --> src/worker.rs:500:33 [INFO] [stdout] | [INFO] [stdout] 500 | if ev.filter == EVFILT_READ { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in crate `libc` [INFO] [stdout] --> src/conn_db.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | kev: &mut libc::kevent, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 12 - kev: &mut libc::kevent, [INFO] [stdout] 12 + kev: &mut libc::servent, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let mut ev: kevent = zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 79 - let mut ev: kevent = zeroed(); [INFO] [stdout] 79 + let mut ev: servent = zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in this scope [INFO] [stdout] --> src/conn_db.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ADD` in this scope [INFO] [stdout] --> src/conn_db.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ENABLE` in this scope [INFO] [stdout] --> src/conn_db.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | let mut events: [kevent; 32] = zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 93 - let mut events: [kevent; 32] = zeroed(); [INFO] [stdout] 93 + let mut events: [servent; 32] = zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in this scope [INFO] [stdout] --> src/conn_db.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | if ev.filter == EVFILT_READ { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | ... let mut client_ev: kevent = zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 114 - let mut client_ev: kevent = zeroed(); [INFO] [stdout] 114 + let mut client_ev: servent = zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in this scope [INFO] [stdout] --> src/conn_db.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | ... EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ADD` in this scope [INFO] [stdout] --> src/conn_db.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | ... EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ENABLE` in this scope [INFO] [stdout] --> src/conn_db.rs:119:42 [INFO] [stdout] | [INFO] [stdout] 119 | ... EV_ADD | EV_ENABLE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | ... let mut ev: kevent = mem::zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 139 - let mut ev: kevent = mem::zeroed(); [INFO] [stdout] 139 + let mut ev: servent = mem::zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in crate `libc` [INFO] [stdout] --> src/conn_db.rs:143:43 [INFO] [stdout] | [INFO] [stdout] 143 | ... libc::EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_DELETE` in crate `libc` [INFO] [stdout] --> src/conn_db.rs:144:43 [INFO] [stdout] | [INFO] [stdout] 144 | ... libc::EV_DELETE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/unix/linux_like/linux/mod.rs:4927:1 [INFO] [stdout] | [INFO] [stdout] 4927 | pub const IN_DELETE: u32 = 0x0000_0200; [INFO] [stdout] | ------------------------ similarly named constant `IN_DELETE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 144 - libc::EV_DELETE, [INFO] [stdout] 144 + libc::IN_DELETE, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:192:45 [INFO] [stdout] | [INFO] [stdout] 192 | ... let mut ev: kevent = mem::zeroed(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/macros.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 192 - let mut ev: kevent = mem::zeroed(); [INFO] [stdout] 192 + let mut ev: servent = mem::zeroed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in crate `libc` [INFO] [stdout] --> src/conn_db.rs:196:43 [INFO] [stdout] | [INFO] [stdout] 196 | ... libc::EVFILT_READ as i32, [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_DELETE` in crate `libc` [INFO] [stdout] --> src/conn_db.rs:197:43 [INFO] [stdout] | [INFO] [stdout] 197 | ... libc::EV_DELETE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.172/src/unix/linux_like/linux/mod.rs:4927:1 [INFO] [stdout] | [INFO] [stdout] 4927 | pub const IN_DELETE: u32 = 0x0000_0200; [INFO] [stdout] | ------------------------ similarly named constant `IN_DELETE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 197 - libc::EV_DELETE, [INFO] [stdout] 197 + libc::IN_DELETE, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `request` [INFO] [stdout] --> src/worker.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use http::{request, Version}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/worker.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let _ = kevent(kq, &ev, 1, ptr::null_mut(), 0, ptr::null()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/worker.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let _ = kevent(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/worker.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let _ = kevent(kq, &ev, 1, ptr::null_mut(), 0, ptr::null()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/worker.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let _ = kevent(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `libc::sockaddr_in` has no field named `sin_len` [INFO] [stdout] --> src/worker.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | sin_len: mem::size_of::() as u8, [INFO] [stdout] | ^^^^^^^ `libc::sockaddr_in` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `libc::sockaddr_in` has no field named `sin_len` [INFO] [stdout] --> src/worker.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | sin_len: mem::size_of::() as u8, [INFO] [stdout] | ^^^^^^^ `libc::sockaddr_in` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/worker.rs:240:29 [INFO] [stdout] | [INFO] [stdout] 240 | sin_family: AF_INET as u8, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `u16`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/worker.rs:240:29 [INFO] [stdout] | [INFO] [stdout] 240 | sin_family: AF_INET as u8, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `u16`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kqueue` in this scope [INFO] [stdout] --> src/worker.rs:487:18 [INFO] [stdout] | [INFO] [stdout] 487 | let kq = kqueue(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kqueue` in this scope [INFO] [stdout] --> src/worker.rs:487:18 [INFO] [stdout] | [INFO] [stdout] 487 | let kq = kqueue(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/worker.rs:492:23 [INFO] [stdout] | [INFO] [stdout] 492 | let nev = kevent(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 492 - let nev = kevent(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] 492 + let nev = events(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/worker.rs:492:23 [INFO] [stdout] | [INFO] [stdout] 492 | let nev = kevent(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 492 - let nev = kevent(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] 492 + let nev = events(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kqueue` in this scope [INFO] [stdout] --> src/conn_db.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let kq = kqueue(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let _ = kevent(kq, &ev, 1, ptr::null_mut(), 0, ptr::null()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | let nev = kevent(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 94 - let nev = kevent(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] 94 + let nev = events(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kqueue` in this scope [INFO] [stdout] --> src/conn_db.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let kq = kqueue(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | let _ = kevent(kq, &ev, 1, ptr::null_mut(), 0, ptr::null()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | let nev = kevent(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 94 - let nev = kevent(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] 94 + let nev = events(kq, ptr::null(), 0, events.as_mut_ptr(), 32, ptr::null()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 125 | ... let _ = kevent(kq, &client_ev, 1, ptr::null_mut(), 0, ptr::null()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 125 - let _ = kevent(kq, &client_ev, 1, ptr::null_mut(), 0, ptr::null()); [INFO] [stdout] 125 + let _ = events(kq, &client_ev, 1, ptr::null_mut(), 0, ptr::null()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | ... kevent(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 151 - kevent(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] 151 + events(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 125 | ... let _ = kevent(kq, &client_ev, 1, ptr::null_mut(), 0, ptr::null()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 125 - let _ = kevent(kq, &client_ev, 1, ptr::null_mut(), 0, ptr::null()); [INFO] [stdout] 125 + let _ = events(kq, &client_ev, 1, ptr::null_mut(), 0, ptr::null()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | ... kevent(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 151 - kevent(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] 151 + events(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:204:37 [INFO] [stdout] | [INFO] [stdout] 204 | ... kevent(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 204 - kevent(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] 204 + events(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in this scope [INFO] [stdout] --> src/conn_db.rs:204:37 [INFO] [stdout] | [INFO] [stdout] 204 | ... kevent(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 204 - kevent(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] 204 + events(kq, &ev, 1, std::ptr::null_mut(), 0, std::ptr::null()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | sin_family: AF_INET as u8, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `u16`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `libc::sockaddr_in` has no field named `sin_len` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | sin_len: size_of::() as u8, [INFO] [stdout] | ^^^^^^^ `libc::sockaddr_in` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | sin_family: AF_INET as u8, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `u16`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `libc::sockaddr_in` has no field named `sin_len` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | sin_len: size_of::() as u8, [INFO] [stdout] | ^^^^^^^ `libc::sockaddr_in` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `MAIN` (bin "MAIN" test) due to 41 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0560. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `MAIN` (bin "MAIN") due to 41 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "90fda5122fb650e56b0a03d20a0d486423980fdf87f2ec3fbbf41661256684ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90fda5122fb650e56b0a03d20a0d486423980fdf87f2ec3fbbf41661256684ab", kill_on_drop: false }` [INFO] [stdout] 90fda5122fb650e56b0a03d20a0d486423980fdf87f2ec3fbbf41661256684ab