[INFO] cloning repository https://github.com/0xNeffarion/nautic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xNeffarion/nautic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xNeffarion%2Fnautic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xNeffarion%2Fnautic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4292abad8764377e33bf323243695a01fdd05b5 [INFO] checking 0xNeffarion/nautic against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xNeffarion%2Fnautic" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/0xNeffarion/nautic [INFO] finished tweaking git repo https://github.com/0xNeffarion/nautic [INFO] tweaked toml for git repo https://github.com/0xNeffarion/nautic written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0xNeffarion/nautic on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/0xNeffarion/nautic already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.49 [INFO] [stderr] Downloaded derive_builder_macro v0.12.0 [INFO] [stderr] Downloaded socket2 v0.5.4 [INFO] [stderr] Downloaded derive_builder v0.12.0 [INFO] [stderr] Downloaded darling_macro v0.14.4 [INFO] [stderr] Downloaded darling_core v0.14.4 [INFO] [stderr] Downloaded derive_builder_core v0.12.0 [INFO] [stderr] Downloaded darling v0.14.4 [INFO] [stderr] Downloaded semver v1.0.19 [INFO] [stderr] Downloaded thiserror-impl v1.0.49 [INFO] [stderr] Downloaded url v2.4.1 [INFO] [stderr] Downloaded gimli v0.28.0 [INFO] [stderr] Downloaded tokio v1.32.0 [INFO] [stderr] Downloaded bitter v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea92d5dfc46dd407b8604e50a155faed981df8e8df57094bf22fd31703f60f00 [INFO] running `Command { std: "docker" "start" "-a" "ea92d5dfc46dd407b8604e50a155faed981df8e8df57094bf22fd31703f60f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea92d5dfc46dd407b8604e50a155faed981df8e8df57094bf22fd31703f60f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea92d5dfc46dd407b8604e50a155faed981df8e8df57094bf22fd31703f60f00", kill_on_drop: false }` [INFO] [stdout] ea92d5dfc46dd407b8604e50a155faed981df8e8df57094bf22fd31703f60f00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b005ad9cf601d140fda37f87c780db6f7dcd23e6180fac7951bf2d680920f692 [INFO] running `Command { std: "docker" "start" "-a" "b005ad9cf601d140fda37f87c780db6f7dcd23e6180fac7951bf2d680920f692", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking bitter v0.6.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking nautic_dns v0.0.1-beta (/opt/rustwide/workdir/nautic_dns) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageType` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | if header.flags.message_type == MessageType::Response { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::protocol::MessageType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name_len` in this scope [INFO] [stdout] --> nautic_dns/src/protocol/record.rs:71:68 [INFO] [stdout] | [INFO] [stdout] 71 | let data = decode_rdata(&class, &r#type, message, cursor + name_len + 10)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> nautic_dns/src/protocol/record.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub name: LabelSequence, [INFO] [stdout] | ---- a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 75 | name, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name_len` in this scope [INFO] [stdout] --> nautic_dns/src/protocol/record.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | name_len + 10 + length as usize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageType` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | if header.flags.message_type == MessageType::Response { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::protocol::MessageType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name_len` in this scope [INFO] [stdout] --> nautic_dns/src/protocol/record.rs:71:68 [INFO] [stdout] | [INFO] [stdout] 71 | let data = decode_rdata(&class, &r#type, message, cursor + name_len + 10)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> nautic_dns/src/protocol/record.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub name: LabelSequence, [INFO] [stdout] | ---- a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 75 | name, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name_len` in this scope [INFO] [stdout] --> nautic_dns/src/protocol/record.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | name_len + 10 + length as usize, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `try_scan` has an incompatible type for trait [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn try_scan(message: &[u8], cursor: usize) -> Result<(Self, usize), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ByteScan`, found `(Message, usize)` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> nautic_dns/src/protocol/mod.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | fn try_scan(message: &[u8], cursor: usize) -> ScanResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected signature `fn(&_, _) -> Result, _>` [INFO] [stdout] found signature `fn(&_, _) -> Result<(Message, usize), _>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 16 - fn try_scan(message: &[u8], cursor: usize) -> Result<(Self, usize), Self::Error> { [INFO] [stdout] 16 + fn try_scan(message: &[u8], cursor: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `try_scan` has an incompatible type for trait [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn try_scan(message: &[u8], cursor: usize) -> Result<(Self, usize), Self::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ByteScan`, found `(Message, usize)` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> nautic_dns/src/protocol/mod.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | fn try_scan(message: &[u8], cursor: usize) -> ScanResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected signature `fn(&_, _) -> Result, _>` [INFO] [stdout] found signature `fn(&_, _) -> Result<(Message, usize), _>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 16 - fn try_scan(message: &[u8], cursor: usize) -> Result<(Self, usize), Self::Error> { [INFO] [stdout] 16 + fn try_scan(message: &[u8], cursor: usize) -> Result, String> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_resolver` [INFO] [stdout] --> nautic_dns/src/resolver.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | remote_resolver: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_resolver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain` [INFO] [stdout] --> nautic_dns/src/resolver.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let domain = parse_domain(target)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_resolver` [INFO] [stdout] --> nautic_dns/src/resolver.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | remote_resolver: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_resolver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domain` [INFO] [stdout] --> nautic_dns/src/resolver.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let domain = parse_domain(target)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | let (header, header_len) = Header::try_scan(message, cursor)?; [INFO] [stdout] | ---------------------------------^ the trait `From` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, protocol::errors::MessageError>` [INFO] [stdout] | [INFO] [stdout] note: `protocol::errors::MessageError` needs to implement `Into` [INFO] [stdout] --> nautic_dns/src/protocol/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum MessageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `String` implements `From<&String>` [INFO] [stdout] `String` implements `From<&mut str>` [INFO] [stdout] `String` implements `From<&str>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From` [INFO] [stdout] `String` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let (header, header_len) = Header::try_scan(message, cursor)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ---------------------------------- this expression has type `ByteScan` [INFO] [stdout] | | [INFO] [stdout] | expected `ByteScan
`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ByteScan` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:18:79 [INFO] [stdout] | [INFO] [stdout] 18 | let (query, query_len) = Query::try_scan(message, cursor + header_len)?; [INFO] [stdout] | ---------------------------------------------^ the trait `From` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, protocol::errors::BitParseError>` [INFO] [stdout] | [INFO] [stdout] note: `protocol::errors::BitParseError` needs to implement `Into` [INFO] [stdout] --> nautic_dns/src/protocol/errors.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum BitParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `String` implements `From<&String>` [INFO] [stdout] `String` implements `From<&mut str>` [INFO] [stdout] `String` implements `From<&str>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From` [INFO] [stdout] `String` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let (query, query_len) = Query::try_scan(message, cursor + header_len)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---------------------------------------------- this expression has type `ByteScan` [INFO] [stdout] | | [INFO] [stdout] | expected `ByteScan`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ByteScan` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:25:77 [INFO] [stdout] | [INFO] [stdout] 25 | let (record, record_len) = Record::try_scan(message, cursor)?; [INFO] [stdout] | ---------------------------------^ the trait `From` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, protocol::errors::BitParseError>` [INFO] [stdout] | [INFO] [stdout] note: `protocol::errors::BitParseError` needs to implement `Into` [INFO] [stdout] --> nautic_dns/src/protocol/errors.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum BitParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `String` implements `From<&String>` [INFO] [stdout] `String` implements `From<&mut str>` [INFO] [stdout] `String` implements `From<&str>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From` [INFO] [stdout] `String` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let (record, record_len) = Record::try_scan(message, cursor)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ---------------------------------- this expression has type `ByteScan` [INFO] [stdout] | | [INFO] [stdout] | expected `ByteScan`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ByteScan` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:17:69 [INFO] [stdout] | [INFO] [stdout] 17 | let (header, header_len) = Header::try_scan(message, cursor)?; [INFO] [stdout] | ---------------------------------^ the trait `From` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, protocol::errors::MessageError>` [INFO] [stdout] | [INFO] [stdout] note: `protocol::errors::MessageError` needs to implement `Into` [INFO] [stdout] --> nautic_dns/src/protocol/errors.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum MessageError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `String` implements `From<&String>` [INFO] [stdout] `String` implements `From<&mut str>` [INFO] [stdout] `String` implements `From<&str>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From` [INFO] [stdout] `String` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let (header, header_len) = Header::try_scan(message, cursor)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ---------------------------------- this expression has type `ByteScan` [INFO] [stdout] | | [INFO] [stdout] | expected `ByteScan
`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ByteScan` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:18:79 [INFO] [stdout] | [INFO] [stdout] 18 | let (query, query_len) = Query::try_scan(message, cursor + header_len)?; [INFO] [stdout] | ---------------------------------------------^ the trait `From` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, protocol::errors::BitParseError>` [INFO] [stdout] | [INFO] [stdout] note: `protocol::errors::BitParseError` needs to implement `Into` [INFO] [stdout] --> nautic_dns/src/protocol/errors.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum BitParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `String` implements `From<&String>` [INFO] [stdout] `String` implements `From<&mut str>` [INFO] [stdout] `String` implements `From<&str>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From` [INFO] [stdout] `String` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let (query, query_len) = Query::try_scan(message, cursor + header_len)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ---------------------------------------------- this expression has type `ByteScan` [INFO] [stdout] | | [INFO] [stdout] | expected `ByteScan`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ByteScan` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `String` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:25:77 [INFO] [stdout] | [INFO] [stdout] 25 | let (record, record_len) = Record::try_scan(message, cursor)?; [INFO] [stdout] | ---------------------------------^ the trait `From` is not implemented for `String` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, protocol::errors::BitParseError>` [INFO] [stdout] | [INFO] [stdout] note: `protocol::errors::BitParseError` needs to implement `Into` [INFO] [stdout] --> nautic_dns/src/protocol/errors.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum BitParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `String` implements `From<&String>` [INFO] [stdout] `String` implements `From<&mut str>` [INFO] [stdout] `String` implements `From<&str>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From` [INFO] [stdout] `String` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let (record, record_len) = Record::try_scan(message, cursor)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ---------------------------------- this expression has type `ByteScan` [INFO] [stdout] | | [INFO] [stdout] | expected `ByteScan`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ByteScan` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Message` has no field named `query` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | query, [INFO] [stdout] | ^^^^^ `Message` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `question`, `answer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Message` has no field named `query` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | query, [INFO] [stdout] | ^^^^^ `Message` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `question`, `answer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Message` has no field named `answers` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | answers, [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 42 - answers, [INFO] [stdout] 42 + answer, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Message` has no field named `answers` [INFO] [stdout] --> nautic_dns/src/protocol/message.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | answers, [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 42 - answers, [INFO] [stdout] 42 + answer, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_rdata` in this scope [INFO] [stdout] --> nautic_dns/src/protocol/record.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | let data = decode_rdata(&class, &r#type, message, cursor + name_len + 10)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_rdata` in this scope [INFO] [stdout] --> nautic_dns/src/protocol/record.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | let data = decode_rdata(&class, &r#type, message, cursor + name_len + 10)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0425, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nautic_dns` (lib) due to 14 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0425, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nautic_dns` (lib test) due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b005ad9cf601d140fda37f87c780db6f7dcd23e6180fac7951bf2d680920f692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b005ad9cf601d140fda37f87c780db6f7dcd23e6180fac7951bf2d680920f692", kill_on_drop: false }` [INFO] [stdout] b005ad9cf601d140fda37f87c780db6f7dcd23e6180fac7951bf2d680920f692