[INFO] cloning repository https://github.com/nuts-rice/dnsServer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nuts-rice/dnsServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnuts-rice%2FdnsServer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnuts-rice%2FdnsServer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4255afe40e0ff611fd485112c50acf326832e89d [INFO] checking nuts-rice/dnsServer against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnuts-rice%2FdnsServer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nuts-rice/dnsServer on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nuts-rice/dnsServer [INFO] finished tweaking git repo https://github.com/nuts-rice/dnsServer [INFO] tweaked toml for git repo https://github.com/nuts-rice/dnsServer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/nuts-rice/dnsServer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ba0b5160d266461eeff002f37d2c8fc2b6f618645c1e34fad0a95a5af08c870b [INFO] running `Command { std: "docker" "start" "-a" "ba0b5160d266461eeff002f37d2c8fc2b6f618645c1e34fad0a95a5af08c870b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba0b5160d266461eeff002f37d2c8fc2b6f618645c1e34fad0a95a5af08c870b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba0b5160d266461eeff002f37d2c8fc2b6f618645c1e34fad0a95a5af08c870b", kill_on_drop: false }` [INFO] [stdout] ba0b5160d266461eeff002f37d2c8fc2b6f618645c1e34fad0a95a5af08c870b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aad64eb37d4d1675a4b3ffafabd18179d11734075ca342a68c8eabf062a0f6a8 [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" "aad64eb37d4d1675a4b3ffafabd18179d11734075ca342a68c8eabf062a0f6a8", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking dnsServer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;` or `{`, found `=>` [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 12 | { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new() => BytePacketBuffer [INFO] [stdout] | ^^ expected `;` or `{` [INFO] [stdout] ... [INFO] [stdout] 23 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let res = ((try!(self.read()) as u16) << 8 | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 89 | let res = ((self.read()? as u16) << 8 | [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 89 | let res = ((r#try!(self.read()) as u16) << 8 | [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | (try!(self.read()) as u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 90 | (self.read()? as u16); [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 90 | (r#try!(self.read()) as u16); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/main.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | (try!(self.read()) as u16); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `}` [INFO] [stdout] --> src/main.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | } [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let res = ((try!(self.read()) as u32) << 24) | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 96 | let res = ((self.read()? as u32) << 24) | [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 96 | let res = ((r#try!(self.read()) as u32) << 24) | [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | ((try!(self.read()) as u32) << 16) | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 97 | ((self.read()? as u32) << 16) | [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 97 | ((r#try!(self.read()) as u32) << 16) | [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | ((try!(self.read()) as u32) << 8) | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 98 | ((self.read()? as u32) << 8) | [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 98 | ((r#try!(self.read()) as u32) << 8) | [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | ((try!(self.read()) as u32) << 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 99 | ((self.read()? as u32) << 0); [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 99 | ((r#try!(self.read()) as u32) << 0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | let len = try!(self.get(pos)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 129 | let len = self.get(pos)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 129 | let len = r#try!(self.get(pos)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | try!(self.seek(pos+2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 139 | self.seek(pos+2)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 139 | r#try!(self.seek(pos+2)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let b2 = try!(self.get(pos+1)) as u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 143 | let b2 = self.get(pos+1)? as u16; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 143 | let b2 = r#try!(self.get(pos+1)) as u16; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `;` [INFO] [stdout] --> src/main.rs:144:58 [INFO] [stdout] | [INFO] [stdout] 144 | let offset = (((len as u16) ^ 0xC0 << 8) | b2; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 8 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `.`, `::`, `<`, or `?`, found `;` [INFO] [stdout] --> src/main.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 145 | pos = offset as usize; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 8 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/main.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | jumped = true; [INFO] [stdout] | ^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `}` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | } [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | let str_buffer = try!(self.get_range(pos, len as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 168 | let str_buffer = self.get_range(pos, len as usize)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 168 | let str_buffer = r#try!(self.get_range(pos, len as usize)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` or `{`, found `=>` [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 12 | { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn new() => BytePacketBuffer [INFO] [stdout] | ^^ expected `;` or `{` [INFO] [stdout] ... [INFO] [stdout] 23 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let res = ((try!(self.read()) as u16) << 8 | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 89 | let res = ((self.read()? as u16) << 8 | [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 89 | let res = ((r#try!(self.read()) as u16) << 8 | [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | (try!(self.read()) as u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 90 | (self.read()? as u16); [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 90 | (r#try!(self.read()) as u16); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/main.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 90 | (try!(self.read()) as u16); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `}` [INFO] [stdout] --> src/main.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | } [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let res = ((try!(self.read()) as u32) << 24) | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 96 | let res = ((self.read()? as u32) << 24) | [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 96 | let res = ((r#try!(self.read()) as u32) << 24) | [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | ((try!(self.read()) as u32) << 16) | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 97 | ((self.read()? as u32) << 16) | [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 97 | ((r#try!(self.read()) as u32) << 16) | [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | ((try!(self.read()) as u32) << 8) | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 98 | ((self.read()? as u32) << 8) | [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 98 | ((r#try!(self.read()) as u32) << 8) | [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | ((try!(self.read()) as u32) << 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 99 | ((self.read()? as u32) << 0); [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 99 | ((r#try!(self.read()) as u32) << 0); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | let len = try!(self.get(pos)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 129 | let len = self.get(pos)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 129 | let len = r#try!(self.get(pos)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | try!(self.seek(pos+2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 139 | self.seek(pos+2)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 139 | r#try!(self.seek(pos+2)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let b2 = try!(self.get(pos+1)) as u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 143 | let b2 = self.get(pos+1)? as u16; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 143 | let b2 = r#try!(self.get(pos+1)) as u16; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `;` [INFO] [stdout] --> src/main.rs:144:58 [INFO] [stdout] | [INFO] [stdout] 144 | let offset = (((len as u16) ^ 0xC0 << 8) | b2; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 8 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `)`, `,`, `.`, `::`, `<`, or `?`, found `;` [INFO] [stdout] --> src/main.rs:145:34 [INFO] [stdout] | [INFO] [stdout] 145 | pos = offset as usize; [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected one of 8 possible tokens [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;` [INFO] [stdout] --> src/main.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | jumped = true; [INFO] [stdout] | ^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `}` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | } [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/main.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | let str_buffer = try!(self.get_range(pos, len as usize)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 168 | let str_buffer = self.get_range(pos, len as usize)?; [INFO] [stdout] | -- ^ [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 168 | let str_buffer = r#try!(self.get_range(pos, len as usize)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn pos(&self ) -> usize [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | fn step(&mut self, steps: usize) -> Result<()> [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | fn seek(&mut self, pos: usize) -> Result<()> [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | fn read(&mut self) -> Result [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn get(&mut self, pos: usize) -> Result [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_range(&mut self, start:usize, len: usize) -> Result<&[u8]> [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_u16(&mut self) -> Result [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | fn read_u32(&mut self ) -> Result [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | fn read_qname(&mut self, outstr: &mut String ) -> Result<()> [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn pos(&self ) -> usize [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | fn step(&mut self, steps: usize) -> Result<()> [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | fn seek(&mut self, pos: usize) -> Result<()> [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | fn read(&mut self) -> Result [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn get(&mut self, pos: usize) -> Result [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_range(&mut self, start:usize, len: usize) -> Result<&[u8]> [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_u16(&mut self) -> Result [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | fn read_u32(&mut self ) -> Result [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | fn read_qname(&mut self, outstr: &mut String ) -> Result<()> [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorKind` [INFO] [stdout] --> src/main.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(Error:: new (ErrorKind:: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorKind` [INFO] [stdout] --> src/main.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(Error:: new (ErrorKind:: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorKind` [INFO] [stdout] --> src/main.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | return Err(Error:: new (ErrorKind:: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorKind` [INFO] [stdout] --> src/main.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | return Err(Error:: new (ErrorKind:: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorKind` [INFO] [stdout] --> src/main.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | return Err(Error :: new (ErrorKind :: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ErrorKind` [INFO] [stdout] --> src/main.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | return Err(Error :: new (ErrorKind :: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stdout] --> src/main.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(Error:: new (ErrorKind:: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stdout] --> src/main.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | return Err(Error:: new (ErrorKind:: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stdout] --> src/main.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | return Err(Error:: new (ErrorKind:: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stdout] --> src/main.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | return Err(Error :: new (ErrorKind :: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stdout] --> src/main.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | return Err(Error:: new (ErrorKind:: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 124 | / loop [INFO] [stdout] 125 | | { [INFO] [stdout] 126 | | //right here, we're going to ALWAYS be at the [INFO] [stdout] 127 | | //start of the label. [INFO] [stdout] 128 | | //!!! Note: labels always start with length byte !!! [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `dnsServer` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub struct BytePacketBuffer [INFO] [stdout] 4 | | { [INFO] [stdout] 5 | | pub buf: [u8; 512], [INFO] [stdout] 6 | | pub pos: usize [INFO] [stdout] ... | [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | fn step(&mut self, steps: usize) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | fn seek(&mut self, pos: usize) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fn read(&mut self) -> Result [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | fn get(&mut self, pos: usize) -> Result [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_range(&mut self, start:usize, len: usize) -> Result<&[u8]> [INFO] [stdout] | ^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_u16(&mut self) -> Result [INFO] [stdout] | ^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | fn read_u32(&mut self ) -> Result [INFO] [stdout] | ^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Error` [INFO] [stdout] --> src/main.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | return Err(Error :: new (ErrorKind :: InvalidInput, "End of Buffer!")); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 124 | / loop [INFO] [stdout] 125 | | { [INFO] [stdout] 126 | | //right here, we're going to ALWAYS be at the [INFO] [stdout] 127 | | //start of the label. [INFO] [stdout] 128 | | //!!! Note: labels always start with length byte !!! [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | fn step(&mut self, steps: usize) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | fn seek(&mut self, pos: usize) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 107 | fn read_qname(&mut self, outstr: &mut String ) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fn read(&mut self) -> Result [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | fn get(&mut self, pos: usize) -> Result [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_range(&mut self, start:usize, len: usize) -> Result<&[u8]> [INFO] [stdout] | ^^^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 87 | fn read_u16(&mut self) -> Result [INFO] [stdout] | ^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | fn read_u32(&mut self ) -> Result [INFO] [stdout] | ^^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/main.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 107 | fn read_qname(&mut self, outstr: &mut String ) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^ expected 2 type arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dnsServer`. [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" "aad64eb37d4d1675a4b3ffafabd18179d11734075ca342a68c8eabf062a0f6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad64eb37d4d1675a4b3ffafabd18179d11734075ca342a68c8eabf062a0f6a8", kill_on_drop: false }` [INFO] [stdout] aad64eb37d4d1675a4b3ffafabd18179d11734075ca342a68c8eabf062a0f6a8