[INFO] cloning repository https://github.com/gtadam/rust-dns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gtadam/rust-dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgtadam%2Frust-dns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgtadam%2Frust-dns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a95b3eec594dc57959f1f345bf5305b9524b664 [INFO] checking gtadam/rust-dns against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgtadam%2Frust-dns" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gtadam/rust-dns on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gtadam/rust-dns [INFO] finished tweaking git repo https://github.com/gtadam/rust-dns [INFO] tweaked toml for git repo https://github.com/gtadam/rust-dns written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/gtadam/rust-dns already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1d21ed25d291ceb41c9dea3551d910747f03a0a557f72b3f67632be22dc0e28 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f1d21ed25d291ceb41c9dea3551d910747f03a0a557f72b3f67632be22dc0e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1d21ed25d291ceb41c9dea3551d910747f03a0a557f72b3f67632be22dc0e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1d21ed25d291ceb41c9dea3551d910747f03a0a557f72b3f67632be22dc0e28", kill_on_drop: false }` [INFO] [stdout] f1d21ed25d291ceb41c9dea3551d910747f03a0a557f72b3f67632be22dc0e28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f501d987818776def45a932dfae23ec1de03a96d9bab88c9c90f8bcd5bdb016 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7f501d987818776def45a932dfae23ec1de03a96d9bab88c9c90f8bcd5bdb016", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking rust-dns v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `let` [INFO] [stdout] --> src/main.rs:41:2 [INFO] [stdout] | [INFO] [stdout] 39 | println!("Rust DNS Resolver\n") [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 40 | [INFO] [stdout] 41 | let mut addr: Vec = vec![(0 as u8), (0 as u8), (0 as u8), (0 as u8)]; [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | for j in range(1u, 6) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `let` [INFO] [stdout] --> src/main.rs:41:2 [INFO] [stdout] | [INFO] [stdout] 39 | println!("Rust DNS Resolver\n") [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 40 | [INFO] [stdout] 41 | let mut addr: Vec = vec![(0 as u8), (0 as u8), (0 as u8), (0 as u8)]; [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | for j in range(1u, 6) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | for i in range(0u, 5) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | for j in range(0u,4) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | while i < 4u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | while i < 8u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | while j < 2u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | for i in range(0u, 4) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | for i in range(0u, 8) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | for i in range(0u, 5) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | for j in range(0u, 2) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | for j in range(0u,4) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | while i < 4u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | while i < 8u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | while j < 2u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | for i in range(0u, 4) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | for i in range(0u, 8) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | for j in range(0u, 2) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:323:18 [INFO] [stdout] | [INFO] [stdout] 323 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:323:18 [INFO] [stdout] | [INFO] [stdout] 323 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/data.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/resource.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | for i in range(0u, self.rdata.length.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/resource.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | for i in range(0u, self.rdata.length.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | for i in range(0u, self.header.nscount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | for i in range(0u, self.header.arcount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | for i in range(0u, self.header.nscount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | for i in range(0u, self.header.arcount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | for i in range(0u, self.header.nscount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | for i in range(0u, self.header.arcount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:135:18 [INFO] [stdout] | [INFO] [stdout] 135 | for i in range(0u, self.header.nscount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/message.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 140 | for i in range(0u, self.header.arcount.to_uint().unwrap()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::net::udp::UdpSocket; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::net::ip::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::SignedInt` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::num::SignedInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `SignedInt` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Command` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/server.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::net::udp::UdpSocket; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/server.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::net::ip::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::args` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::os::args; [INFO] [stdout] | ^^^^^^^^^^^^^ no `args` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::SignedInt` [INFO] [stdout] --> src/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::num::SignedInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `SignedInt` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/resource.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::net::ip::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/message.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::net::ip::{SocketAddr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::net::udp::UdpSocket; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/header.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::net::ip::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::SignedInt` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::num::SignedInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `SignedInt` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Command` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/server.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::net::udp::UdpSocket; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/server.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::net::ip::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::args` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::os::args; [INFO] [stdout] | ^^^^^^^^^^^^^ no `args` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::SignedInt` [INFO] [stdout] --> src/server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::num::SignedInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `SignedInt` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/resource.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::net::ip::{Ipv4Addr, SocketAddr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/message.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::net::ip::{SocketAddr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/header.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/server.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/server.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/header.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[deriving(Default,Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/header.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[deriving(Default,Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/question.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[deriving(Default,Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/question.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[deriving(Default,Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/data.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[deriving(Default,Clone,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/data.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[deriving(Default,Clone,Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/resource.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[deriving(Default,Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/resource.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[deriving(Default,Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/message.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[deriving(Default,Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/message.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[deriving(Default,Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope [INFO] [stdout] --> src/server.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub socket: UdpSocket, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub ip_lookup: HashMap, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/server.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub option: int [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/server.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(addr: Vec, opt: int) -> Server { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let mut sock = SocketAddr {ip: Ipv4Addr(addr[0], addr[1], addr[2], addr[3]), port: 53}; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/server.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | let mut sock = SocketAddr {ip: Ipv4Addr(addr[0], addr[1], addr[2], addr[3]), port: 53}; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UdpSocket` [INFO] [stdout] --> src/server.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | socket: match UdpSocket::bind(sock) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/server.rs:63:55 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn process(&mut self, buffer: &mut [u8], length: uint, src: SocketAddr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope [INFO] [stdout] --> src/server.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub socket: UdpSocket, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:63:66 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn process(&mut self, buffer: &mut [u8], length: uint, src: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/server.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | for i in range(0, self.waiting_queue.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub ip_lookup: HashMap, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/server.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub option: int [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:147:62 [INFO] [stdout] | [INFO] [stdout] 147 | fn message_direction(&mut self, message: &mut Message, src: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/server.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(addr: Vec, opt: int) -> Server { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let mut sock = SocketAddr {ip: Ipv4Addr(addr[0], addr[1], addr[2], addr[3]), port: 53}; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:168:52 [INFO] [stdout] | [INFO] [stdout] 168 | fn request(&mut self, message: &mut Message, src: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/server.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | let mut sock = SocketAddr {ip: Ipv4Addr(addr[0], addr[1], addr[2], addr[3]), port: 53}; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | self.send_message(message, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UdpSocket` [INFO] [stdout] --> src/server.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | socket: match UdpSocket::bind(sock) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/server.rs:170:46 [INFO] [stdout] | [INFO] [stdout] 170 | self.send_message(message, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/server.rs:63:55 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn process(&mut self, buffer: &mut [u8], length: uint, src: SocketAddr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | self.send_message(&mut ns_query, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:63:66 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn process(&mut self, buffer: &mut [u8], length: uint, src: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/server.rs:198:53 [INFO] [stdout] | [INFO] [stdout] 198 | self.send_message(&mut ns_query, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/server.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | for i in range(0, self.waiting_queue.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | let sa: SocketAddr = self.query_origin_addr(message).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:147:62 [INFO] [stdout] | [INFO] [stdout] 147 | fn message_direction(&mut self, message: &mut Message, src: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:325:36 [INFO] [stdout] | [INFO] [stdout] 325 | self.send_message(&mut ns_query, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/server.rs:325:52 [INFO] [stdout] | [INFO] [stdout] 325 | self.send_message(&mut ns_query, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:168:52 [INFO] [stdout] | [INFO] [stdout] 168 | fn request(&mut self, message: &mut Message, src: SocketAddr) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | self.send_message(message, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:331:68 [INFO] [stdout] | [INFO] [stdout] 331 | fn send_message<'a>(&'a mut self, message: &'a mut Message, sock: SocketAddr) -> &mut Message { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/server.rs:170:46 [INFO] [stdout] | [INFO] [stdout] 170 | self.send_message(message, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | self.send_message(&mut ns_query, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/server.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | for i in range(0, message.header.ancount as uint) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/server.rs:198:53 [INFO] [stdout] | [INFO] [stdout] 198 | self.send_message(&mut ns_query, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/server.rs:398:47 [INFO] [stdout] | [INFO] [stdout] 398 | for i in range(0, message.header.ancount as uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/server.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | for i in range(0, message.header.arcount as uint) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | let sa: SocketAddr = self.query_origin_addr(message).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/server.rs:410:47 [INFO] [stdout] | [INFO] [stdout] 410 | for i in range(0, message.header.arcount as uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:325:36 [INFO] [stdout] | [INFO] [stdout] 325 | self.send_message(&mut ns_query, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/server.rs:325:52 [INFO] [stdout] | [INFO] [stdout] 325 | self.send_message(&mut ns_query, SocketAddr {ip: Ipv4Addr(198, 41, 0, 4), port: 53}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:428:67 [INFO] [stdout] | [INFO] [stdout] 428 | fn query_origin_addr(&mut self, message: &mut Message) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | let mut length: uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:331:68 [INFO] [stdout] | [INFO] [stdout] 331 | fn send_message<'a>(&'a mut self, message: &'a mut Message, sock: SocketAddr) -> &mut Message { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | length = ((byte_buffer - 0xc0) as uint) << 8; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/server.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | for i in range(0, message.header.ancount as uint) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/server.rs:398:47 [INFO] [stdout] | [INFO] [stdout] 398 | for i in range(0, message.header.ancount as uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let mut i: uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/server.rs:410:12 [INFO] [stdout] | [INFO] [stdout] 410 | for i in range(0, message.header.arcount as uint) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | for i in range(0u, 5) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/server.rs:410:47 [INFO] [stdout] | [INFO] [stdout] 410 | for i in range(0, message.header.arcount as uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | for j in range(0u,4) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/server.rs:428:67 [INFO] [stdout] | [INFO] [stdout] 428 | fn query_origin_addr(&mut self, message: &mut Message) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:81:67 [INFO] [stdout] | [INFO] [stdout] 81 | fn dereference_pointer(&mut self, msg_copy: &mut Vec, index: uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | let mut length: uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let mut length: uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | length = ((byte_buffer - 0xc0) as uint) << 8; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let mut i: uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | for i in range(0, length) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | for i in range(0u, 5) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | let mut i: uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | for j in range(0u,4) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:81:67 [INFO] [stdout] | [INFO] [stdout] 81 | fn dereference_pointer(&mut self, msg_copy: &mut Vec, index: uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | let mut i: uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let mut length: uint; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | let mut j: uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | for i in range(0, length) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | let mut i: uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | for i in range(0u, 4) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | let mut i: uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | let mut j: uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | for i in range(0u, 8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | for i in range(0u, 4) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | for j in range(0u, 2) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | for i in range(0u, 8) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | for j in range(0u, 2) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | for i in range(0, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | for i in range(0, self.length.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | for i in range(0, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | for i in range(0, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | fn u8_to_u32(&mut self, idx: uint) -> u32 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | for i in range(0, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | for i in range(0, self.length.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | for i in range(0, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | for i in range(0, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | for j in range(0, self.label[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/data.rs:262:31 [INFO] [stdout] | [INFO] [stdout] 262 | fn u8_to_u32(&mut self, idx: uint) -> u32 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | for i in range(0, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/resource.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | for i in range(0u, self.rdata.length.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 8 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:290:12 [INFO] [stdout] | [INFO] [stdout] 290 | for i in range(0, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/resource.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn ip_addr(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | for j in range(0, self.label[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/resource.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | let sock = SocketAddr {ip: Ipv4Addr(ip_addr[0], ip_addr[1], ip_addr[2], ip_addr[3]), port: 53}; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | for i in range(0u, self.label.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/resource.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | let sock = SocketAddr {ip: Ipv4Addr(ip_addr[0], ip_addr[1], ip_addr[2], ip_addr[3]), port: 53}; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/message.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub server: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/data.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | for j in range(0u, self.label[i].len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/message.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_in(&mut self, data: &mut [u8], length: uint) -> Result<(), String>{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/resource.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | for i in range(0u, self.rdata.length.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 8 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/resource.rs:100:38 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn ip_addr(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/resource.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | let sock = SocketAddr {ip: Ipv4Addr(ip_addr[0], ip_addr[1], ip_addr[2], ip_addr[3]), port: 53}; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | for i in range(0u, self.header.nscount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/resource.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | let sock = SocketAddr {ip: Ipv4Addr(ip_addr[0], ip_addr[1], ip_addr[2], ip_addr[3]), port: 53}; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | for i in range(0u, self.header.arcount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/message.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub server: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/message.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read_in(&mut self, data: &mut [u8], length: uint) -> Result<(), String>{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | for i in range(0u, self.header.nscount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/message.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn next_server(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | for i in range(0u, self.header.arcount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/message.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn next_server(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | for i in range(0u, self.header.nscount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | for i in range(0u, self.header.qdcount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | for i in range(0u, self.header.arcount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | for i in range(0u, self.header.ancount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/message.rs:167:55 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn make_copy(&mut self, data: &mut [u8], length: uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | for i in range(0u, self.header.nscount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | for i in range(0, length) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | for i in range(0u, self.header.arcount.to_uint().unwrap()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | for i in range(0u16, self.header.ancount) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/message.rs:167:55 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn make_copy(&mut self, data: &mut [u8], length: uint) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/message.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | if self.answers[i as uint].rtype == t { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut i: uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | for i in range(0, length) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | for j in range(1u, 6) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/message.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | for i in range(0u16, self.header.ancount) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | let mut j: uint = 6; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/message.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | if self.answers[i as uint].rtype == t { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/main.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let mut num: u8 = from_str(str::from_utf8(buffer.as_slice()).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut i: uint = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/main.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | let mut num: u8 = from_str(str::from_utf8(buffer.as_slice()).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | for j in range(1u, 6) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | let mut j: uint = 6; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/main.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let mut num: u8 = from_str(str::from_utf8(buffer.as_slice()).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/main.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | let mut num: u8 = from_str(str::from_utf8(buffer.as_slice()).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `message::Message` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use message::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `question::Question` [INFO] [stdout] --> src/server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use question::Question; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server.rs:158:2 [INFO] [stdout] | [INFO] [stdout] 158 | /// ancount nscount arcount action [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 159 | (0, 0, 0) => {return}, [INFO] [stdout] | ------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/server.rs:161:6 [INFO] [stdout] | [INFO] [stdout] 161 | (2...999, _, _) => {self.process_multiple_answers(message)}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/server.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | (0, 1...999, 0) => {self.process_name_servers(message)}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/server.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | (0, _, 1...999) => {self.process_additional_records(message)}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/data.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | while(self.length[idx] != 0u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `message::Message` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use message::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/data.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | while(self.length[idx] != 0u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `question::Question` [INFO] [stdout] --> src/server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use question::Question; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server.rs:158:2 [INFO] [stdout] | [INFO] [stdout] 158 | /// ancount nscount arcount action [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 159 | (0, 0, 0) => {return}, [INFO] [stdout] | ------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/server.rs:161:6 [INFO] [stdout] | [INFO] [stdout] 161 | (2...999, _, _) => {self.process_multiple_answers(message)}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/server.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | (0, 1...999, 0) => {self.process_name_servers(message)}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/server.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | (0, _, 1...999) => {self.process_additional_records(message)}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/data.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | while(self.length[idx] != 0u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/data.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | while(self.length[idx] != 0u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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/server.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate term; [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] [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/server.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | let mut t = term::stdout().unwrap(); [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] [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/server.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | t.fg(term::color::RED).unwrap(); [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] [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/server.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate term; [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] [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/server.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | let mut t = term::stdout().unwrap(); [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] [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/server.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | t.fg(term::color::RED).unwrap(); [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | if ((time::precise_time_ns() as i64) - self.waiting_queue[i].timestamp).abs() > (800000000) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | self.waiting_queue[i].timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | message.timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | ns_query.timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | msg.timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | message.timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:326:24 [INFO] [stdout] | [INFO] [stdout] 326 | ns_query.timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:382:40 [INFO] [stdout] | [INFO] [stdout] 382 | if (num + temp_res.cache_timeout) < time::precise_time_ns() as i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:404:41 [INFO] [stdout] | [INFO] [stdout] 404 | message.answers[i].cache_timeout = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:421:44 [INFO] [stdout] | [INFO] [stdout] 421 | message.additional[i].cache_timeout = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | if ((time::precise_time_ns() as i64) - self.waiting_queue[i].timestamp).abs() > (800000000) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:134:41 [INFO] [stdout] | [INFO] [stdout] 134 | self.waiting_queue[i].timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | message.timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | ns_query.timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | msg.timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | message.timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:326:24 [INFO] [stdout] | [INFO] [stdout] 326 | ns_query.timestamp = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:382:40 [INFO] [stdout] | [INFO] [stdout] 382 | if (num + temp_res.cache_timeout) < time::precise_time_ns() as i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:404:41 [INFO] [stdout] | [INFO] [stdout] 404 | message.answers[i].cache_timeout = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `server::time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/server.rs:421:44 [INFO] [stdout] | [INFO] [stdout] 421 | message.additional[i].cache_timeout = time::precise_time_ns() as i64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/header.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn read_in(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 38 | pub fn read_in(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/header.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn read_in(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 38 | pub fn read_in(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/question.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read_in(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read_in(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/question.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read_in(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read_in(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/data.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_hostname(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_hostname(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/data.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_hostname(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_hostname(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/data.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn read_soa(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 60 | pub fn read_soa(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/data.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn read_soa(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 60 | pub fn read_soa(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/data.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn read_ipv4_addr(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 103 | pub fn read_ipv4_addr(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/data.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn read_ipv4_addr(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 103 | pub fn read_ipv4_addr(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/data.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn read_ipv6_addr(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 115 | pub fn read_ipv6_addr(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/data.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn read_ipv6_addr(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 115 | pub fn read_ipv6_addr(&mut self, reader: &mut BufReader) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/resource.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn read_in(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 33 | pub fn read_in(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BufReader` [INFO] [stdout] --> src/resource.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn read_in(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `R` [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 33 | pub fn read_in(&mut self, reader: &mut BufReader, msg_copy: &mut Vec) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 136 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0425, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 136 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0425, E0432, E0433, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-dns` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7f501d987818776def45a932dfae23ec1de03a96d9bab88c9c90f8bcd5bdb016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f501d987818776def45a932dfae23ec1de03a96d9bab88c9c90f8bcd5bdb016", kill_on_drop: false }` [INFO] [stdout] 7f501d987818776def45a932dfae23ec1de03a96d9bab88c9c90f8bcd5bdb016