[INFO] cloning repository https://github.com/TylerStanish/dns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TylerStanish/dns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerStanish%2Fdns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerStanish%2Fdns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb16ce0371ae5f1ea1d73430b67b5d6cf36035f1 [INFO] checking TylerStanish/dns against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerStanish%2Fdns" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TylerStanish/dns on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TylerStanish/dns [INFO] finished tweaking git repo https://github.com/TylerStanish/dns [INFO] tweaked toml for git repo https://github.com/TylerStanish/dns written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/TylerStanish/dns already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded resize-slice v0.1.3 [INFO] [stderr] Downloaded uninitialized v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0654f2ba9ab2ed8f20978541e53037483a9544dcee663457504f99a4f2c4f5bc [INFO] running `Command { std: "docker" "start" "-a" "0654f2ba9ab2ed8f20978541e53037483a9544dcee663457504f99a4f2c4f5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0654f2ba9ab2ed8f20978541e53037483a9544dcee663457504f99a4f2c4f5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0654f2ba9ab2ed8f20978541e53037483a9544dcee663457504f99a4f2c4f5bc", kill_on_drop: false }` [INFO] [stdout] 0654f2ba9ab2ed8f20978541e53037483a9544dcee663457504f99a4f2c4f5bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49dcf12ae3090bdd2c3da84ebe17d4f6206ef5653375023372043435216297b8 [INFO] running `Command { std: "docker" "start" "-a" "49dcf12ae3090bdd2c3da84ebe17d4f6206ef5653375023372043435216297b8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling uninitialized v0.0.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking ttl_cache v0.5.1 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking resize-slice v0.1.3 [INFO] [stderr] Checking dns v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Fixed src/serialization.rs (2 fixes) [INFO] [stderr] Fixed src/resolvers.rs (1 fix) [INFO] [stderr] Fixed src/authority.rs (1 fix) [INFO] [stderr] Fixed src/packet.rs (1 fix) [INFO] [stderr] Fixed src/query.rs (3 fixes) [INFO] [stderr] Fixed src/answer.rs (2 fixes) [INFO] [stderr] Fixed src/client.rs (5 fixes) [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/record.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use byteorder::{ByteOrder, NetworkEndian, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/header.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | _ => 0, // FIXME should this be 0? [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flags` is never read [INFO] [stdout] --> src/header.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let mut flags = 0u16; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/authority.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_nameserver` [INFO] [stdout] --> src/client.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn get_nameserver() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_error` [INFO] [stdout] --> src/packet.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new_error(err: ResponseCode) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/record.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/record.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/record.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new(preference: u16, exchange: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stub_resolver` [INFO] [stdout] --> src/resolvers.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn stub_resolver(_host: &str, req: packet::DnsPacket) -> packet::DnsPacket { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:307:23 [INFO] [stdout] | [INFO] [stdout] 307 | query.qtype = ResourceType::A; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:324:33 [INFO] [stdout] | [INFO] [stdout] 324 | expected_answer.qtype = ResourceType::A; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:336:23 [INFO] [stdout] | [INFO] [stdout] 336 | query.qtype = ResourceType::AAAA; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | expected_answer.qtype = ResourceType::AAAA; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:366:23 [INFO] [stdout] | [INFO] [stdout] 366 | query.qtype = ResourceType::CName; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:381:33 [INFO] [stdout] | [INFO] [stdout] 381 | expected_answer.qtype = ResourceType::CName; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:393:23 [INFO] [stdout] | [INFO] [stdout] 393 | query.qtype = ResourceType::MX; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:408:33 [INFO] [stdout] | [INFO] [stdout] 408 | expected_answer.qtype = ResourceType::MX; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:426:23 [INFO] [stdout] | [INFO] [stdout] 426 | query.qtype = ResourceType::StartOfAuthority; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:452:33 [INFO] [stdout] | [INFO] [stdout] 452 | expected_answer.qtype = ResourceType::StartOfAuthority; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:464:23 [INFO] [stdout] | [INFO] [stdout] 464 | query.qtype = ResourceType::NS; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:479:33 [INFO] [stdout] | [INFO] [stdout] 479 | expected_answer.qtype = ResourceType::NS; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/client.rs:493:23 [INFO] [stdout] | [INFO] [stdout] 493 | query.qtype = ResourceType::A; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/packet.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | query.qtype = ResourceType::A; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/packet.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | foo_query.qtype = ResourceType::A; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/packet.rs:216:30 [INFO] [stdout] | [INFO] [stdout] 216 | purdue_query.qtype = ResourceType::A; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/packet.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | answer.qtype = ResourceType::A; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/packet.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 289 | foo_answer.qtype = ResourceType::A; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/packet.rs:296:28 [INFO] [stdout] | [INFO] [stdout] 296 | bar_answer.qtype = ResourceType::A; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/packet.rs:343:28 [INFO] [stdout] | [INFO] [stdout] 343 | foo_answer.qtype = ResourceType::A; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceType` [INFO] [stdout] --> src/packet.rs:350:28 [INFO] [stdout] | [INFO] [stdout] 350 | bar_answer.qtype = ResourceType::A; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResourceType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoaInformation` [INFO] [stdout] --> src/authority.rs:120:40 [INFO] [stdout] | [INFO] [stdout] 120 | let expected_soa_information = SoaInformation::from_yaml(&yaml[0]["records"][0]["data"]); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::record::SoaInformation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoaInformation` [INFO] [stdout] --> src/authority.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 210 | let expected_soa_information = SoaInformation::from_yaml(&yaml[0]["records"][0]["data"]); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::record::SoaInformation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DnsQuery` [INFO] [stdout] --> src/client.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | let query = DnsQuery::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 | use crate::query::DnsQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DnsQuery` [INFO] [stdout] --> src/client.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | let mut query = DnsQuery::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 | use crate::query::DnsQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DnsQuery` [INFO] [stdout] --> src/client.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | let mut query = DnsQuery::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 | use crate::query::DnsQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DnsQuery` [INFO] [stdout] --> src/client.rs:305:25 [INFO] [stdout] | [INFO] [stdout] 305 | let mut query = DnsQuery::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 | use crate::query::DnsQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DnsQuery` [INFO] [stdout] --> src/client.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | let mut query = DnsQuery::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 | use crate::query::DnsQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DnsQuery` [INFO] [stdout] --> src/client.rs:364:25 [INFO] [stdout] | [INFO] [stdout] 364 | let mut query = DnsQuery::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 | use crate::query::DnsQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DnsQuery` [INFO] [stdout] --> src/client.rs:391:25 [INFO] [stdout] | [INFO] [stdout] 391 | let mut query = DnsQuery::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 | use crate::query::DnsQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DnsQuery` [INFO] [stdout] --> src/client.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | let mut query = DnsQuery::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 | use crate::query::DnsQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoaInformation` [INFO] [stdout] --> src/client.rs:444:31 [INFO] [stdout] | [INFO] [stdout] 444 | let soa_information = SoaInformation::from_yaml(&yaml[0]); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 | use crate::record::SoaInformation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DnsQuery` [INFO] [stdout] --> src/client.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | let mut query = DnsQuery::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 | use crate::query::DnsQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DnsQuery` [INFO] [stdout] --> src/client.rs:491:25 [INFO] [stdout] | [INFO] [stdout] 491 | let mut query = DnsQuery::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 | use crate::query::DnsQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `create_dir`, `remove_dir_all` [INFO] [stdout] --> src/authority.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | use std::fs::{create_dir, read_dir, remove_dir, remove_dir_all, File}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/authority.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `remove_file` [INFO] [stdout] --> src/client.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | use std::fs::{remove_file, File}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOrder` [INFO] [stdout] --> src/record.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use byteorder::{ByteOrder, NetworkEndian, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dns` due to 35 previous errors; 4 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "49dcf12ae3090bdd2c3da84ebe17d4f6206ef5653375023372043435216297b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49dcf12ae3090bdd2c3da84ebe17d4f6206ef5653375023372043435216297b8", kill_on_drop: false }` [INFO] [stdout] 49dcf12ae3090bdd2c3da84ebe17d4f6206ef5653375023372043435216297b8