[INFO] cloning repository https://github.com/zonyon/dnsproject [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zonyon/dnsproject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzonyon%2Fdnsproject", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzonyon%2Fdnsproject'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbe252a162b71e2bac954cb238039ef1643d78dc [INFO] testing zonyon/dnsproject against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzonyon%2Fdnsproject" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zonyon/dnsproject [INFO] finished tweaking git repo https://github.com/zonyon/dnsproject [INFO] tweaked toml for git repo https://github.com/zonyon/dnsproject written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zonyon/dnsproject on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zonyon/dnsproject 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07f3579858dd574913bf2191fede69ad3f7df37f233c35658ca9a8d05ee4be8f [INFO] running `Command { std: "docker" "start" "-a" "07f3579858dd574913bf2191fede69ad3f7df37f233c35658ca9a8d05ee4be8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07f3579858dd574913bf2191fede69ad3f7df37f233c35658ca9a8d05ee4be8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f3579858dd574913bf2191fede69ad3f7df37f233c35658ca9a8d05ee4be8f", kill_on_drop: false }` [INFO] [stdout] 07f3579858dd574913bf2191fede69ad3f7df37f233c35658ca9a8d05ee4be8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 00924b659ff0d8c025d7b0702dfb106a25a70ed890aaf0b71d3be6069bca08cf [INFO] running `Command { std: "docker" "start" "-a" "00924b659ff0d8c025d7b0702dfb106a25a70ed890aaf0b71d3be6069bca08cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tp2bis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/DnsHeader.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AAAA`, `A`, `Cname`, `MX`, `NS`, and `Ptr` [INFO] [stdout] --> src/DnsQuestion.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::DnsQuestion::Dnsrtype::{A, AAAA, Cname, MX, NS, Ptr}; [INFO] [stdout] | ^ ^^^^ ^^^^^ ^^ ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/DnsQuestion.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if (c != 0x0001) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if (c != 0x0001) { [INFO] [stdout] 34 + if c != 0x0001 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::DnsHeader::DnsHeader` [INFO] [stdout] --> src/DnsRR.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::DnsHeader::DnsHeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `answer` [INFO] [stdout] --> src/DnsPacket.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let answer: u16 = self.header.ancount(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_answer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authority` [INFO] [stdout] --> src/DnsPacket.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let authority: u16 = self.header.nscount(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authority` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `additional` [INFO] [stdout] --> src/DnsPacket.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let additional: u16 = self.header.arcount(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_additional` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/DnsPacket.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn genereRR(mut self){ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/DnsQuestion.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(a: &str, b: Dnsrtype, mut c: u16) -> DnsQuestion { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe { listRR.push(c); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe { listRR.push(k); } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/DnsHeader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DnsHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | qr: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | opcode: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | aa: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 10 | tc: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | rd: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | ra: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | z: bool, [INFO] [stdout] | ^ [INFO] [stdout] 14 | rcode: i16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | qdcount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | ancount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | nscount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | arcount: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/DnsHeader.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl DnsHeader { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn id(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn qr(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn opcode(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn aa(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn tc(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn rd(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn ra(&self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn z(&self) -> bool { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn rcode(&self) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn qdcount(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn ancount(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn nscount(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn arcount(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn set_id(&mut self, id: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn set_qr(&mut self, qr: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn set_opcode(&mut self, opcode: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn set_aa(&mut self, aa: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn set_tc(&mut self, tc: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn set_rd(&mut self, rd: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn set_ra(&mut self, ra: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_z(&mut self, z: bool) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn set_rcode(&mut self, rcode: i16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn set_qdcount(&mut self, qdcount: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn set_ancount(&mut self, ancount: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn set_nscount(&mut self, nscount: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn set_arcount(&mut self, arcount: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `question` are never read [INFO] [stdout] --> src/DnsPacket.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DnsPacket { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 5 | header: DnsHeader::DnsHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 6 | question: DnsQuestion::DnsQuestion, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `genereRR` is never used [INFO] [stdout] --> src/DnsPacket.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl DnsPacket{ [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn genereRR(mut self){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `qname`, `Dnsrtype`, and `qclass` are never read [INFO] [stdout] --> src/DnsQuestion.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct DnsQuestion { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 4 | qname: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Dnsrtype: Dnsrtype, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | qclass: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `A`, `NS`, `MX`, `Cname`, and `Ptr` are never constructed [INFO] [stdout] --> src/DnsQuestion.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Dnsrtype { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 12 | A, [INFO] [stdout] | ^ [INFO] [stdout] 13 | AAAA, [INFO] [stdout] 14 | NS, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | MX, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | Cname, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Ptr [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `no` is never used [INFO] [stdout] --> src/DnsQuestion.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Dnsrtype { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 20 | pub fn no(&self) -> i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `qclass`, `set_Dnsrtype`, `set_qclass`, `Dnsrtype`, `qname`, and `set_qname` are never used [INFO] [stdout] --> src/DnsQuestion.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl DnsQuestion { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn qclass(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn set_Dnsrtype(&mut self, Dnsrtype: Dnsrtype) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn set_qclass(&mut self, qclass: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn Dnsrtype(&self) -> &Dnsrtype { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn qname(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn set_qname(&mut self, qname: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `question`, `ttl`, `rdlength`, and `rdata` are never read [INFO] [stdout] --> src/DnsRR.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DnsRR { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 5 | question : DnsQuestion::DnsQuestion, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 6 | ttl: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | rdlength: i16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | rdata: u32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dnsrtype` is never used [INFO] [stdout] --> src/DnsRR.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Dnsrtype { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/DnsRR.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl DnsRR { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn question(&self) -> &DnsQuestion::DnsQuestion { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn ttl(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn rdlength(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn rdata(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn set_question(&mut self, question: DnsQuestion::DnsQuestion) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn set_ttl(&mut self, ttl: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn set_rdlength(&mut self, rdlength: i16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_rdata(&mut self, rdata: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DnsHeader` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod DnsHeader; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `dns_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DnsPacket` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod DnsPacket; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `dns_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DnsQuestion` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod DnsQuestion; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `dns_question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DnsRR` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod DnsRR; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `dns_rr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `listRR` should have a snake case name [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut listRR: Vec = vec![]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `list_rr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/DnsHeader.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | while LIST_ID.contains(&temp) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `genereRR` should have a snake case name [INFO] [stdout] --> src/DnsPacket.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn genereRR(mut self){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `genere_rr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Dnsrtype` should have a snake case name [INFO] [stdout] --> src/DnsQuestion.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Dnsrtype: Dnsrtype, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_Dnsrtype` should have a snake case name [INFO] [stdout] --> src/DnsQuestion.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn set_Dnsrtype(&mut self, Dnsrtype: Dnsrtype) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `set_dnsrtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Dnsrtype` should have a snake case name [INFO] [stdout] --> src/DnsQuestion.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn set_Dnsrtype(&mut self, Dnsrtype: Dnsrtype) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Dnsrtype` should have a snake case name [INFO] [stdout] --> src/DnsQuestion.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn Dnsrtype(&self) -> &Dnsrtype { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dnsrtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcJyARV6/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-c8e6b3dd20c42aad.rlib,librand_chacha-123a255f47bbba21.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-7bfa413b8931c491.rlib,libgetrandom-ced4152599f0d793.rlib,liblibc-6da46c267cddcc84.rlib,libcfg_if-66d55f6b302e88c8.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcJyARV6/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tp2bis-6fd85807651279c3" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-ced4152599f0d793.rlib(getrandom-ced4152599f0d793.getrandom.18e9ff9ff7457d40-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.8/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17h0cbbaafc3d5aad5cE+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tp2bis` (bin "tp2bis") due to 1 previous error; 33 warnings emitted [INFO] running `Command { std: "docker" "inspect" "00924b659ff0d8c025d7b0702dfb106a25a70ed890aaf0b71d3be6069bca08cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00924b659ff0d8c025d7b0702dfb106a25a70ed890aaf0b71d3be6069bca08cf", kill_on_drop: false }` [INFO] [stdout] 00924b659ff0d8c025d7b0702dfb106a25a70ed890aaf0b71d3be6069bca08cf