[INFO] fetching crate pf-rs 13.0.2... [INFO] testing pf-rs-13.0.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate pf-rs 13.0.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate pf-rs 13.0.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pf-rs 13.0.2 [INFO] finished tweaking crates.io crate pf-rs 13.0.2 [INFO] tweaked toml for crates.io crate pf-rs 13.0.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] a8a671d3189a82b7de4080c7049ea3681aea96e863a844ffe1517480e146b641 [INFO] running `Command { std: "docker" "start" "-a" "a8a671d3189a82b7de4080c7049ea3681aea96e863a844ffe1517480e146b641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8a671d3189a82b7de4080c7049ea3681aea96e863a844ffe1517480e146b641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a671d3189a82b7de4080c7049ea3681aea96e863a844ffe1517480e146b641", kill_on_drop: false }` [INFO] [stdout] a8a671d3189a82b7de4080c7049ea3681aea96e863a844ffe1517480e146b641 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bfda31315c64034b0b32265ec7dd6a21fd61c5cd7ad4c49d29feee9a6ff9fed [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" "2bfda31315c64034b0b32265ec7dd6a21fd61c5cd7ad4c49d29feee9a6ff9fed", 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] Compiling libc v0.2.123 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling pf-rs v13.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | / cfor!(let mut i = 31; tmp & (1 << i) > 0; i -= 1; // or (i = 31; tmp & (1 << i); --i) [INFO] [stdout] 324 | | { [INFO] [stdout] 325 | | b += 1; //C b++; [INFO] [stdout] 326 | | } [INFO] [stdout] 327 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | / cfor!(let mut i = 31; i > 31-b; i -= 1; // for (i = 31; i > 31-b; --i) [INFO] [stdout] 404 | | { [INFO] [stdout] 405 | | m.pfa.addr32[j] |= 1 << i; // m->addr32[j] |= (1 << i); [INFO] [stdout] 406 | | } [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | / cfor!(let mut i = 0; i < 4; i += 1; // for (i = 0; i < 4; i++) [INFO] [stdout] 418 | | { [INFO] [stdout] 419 | | addr.pfa.addr32[i] = addr.pfa.addr32[i] & m.pfa.addr32[i]; // n->addr32[i] = n->addr32[i] & m->addr32[i]; [INFO] [stdout] 420 | | } [INFO] [stdout] 421 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:633:13 [INFO] [stdout] | [INFO] [stdout] 633 | / cfor!(let mut p_resp = res; p_resp != std::ptr::null_mut(); p_resp = (*p_resp).ai_next; [INFO] [stdout] 634 | | { [INFO] [stdout] 635 | | let resp = *p_resp; [INFO] [stdout] 636 | | [INFO] [stdout] ... | [INFO] [stdout] 701 | | } [INFO] [stdout] 702 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:941:9 [INFO] [stdout] | [INFO] [stdout] 941 | / cfor!(let mut p_resp = res; p_resp != std::ptr::null_mut(); p_resp = (*p_resp).ai_next; [INFO] [stdout] 942 | | { [INFO] [stdout] 943 | | let resp = *p_resp; [INFO] [stdout] 944 | | [INFO] [stdout] ... | [INFO] [stdout] 1096 | | } [INFO] [stdout] 1097 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:1012:21 [INFO] [stdout] | [INFO] [stdout] 1012 | / cfor!(let mut p_resp1 = res1; p_resp1 != std::ptr::null_mut(); p_resp1 = (*p_resp1).ai_next; [INFO] [stdout] 1013 | | { [INFO] [stdout] 1014 | | let resp1 = *p_resp1; [INFO] [stdout] 1015 | | [INFO] [stdout] ... | [INFO] [stdout] 1072 | | } [INFO] [stdout] 1073 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::NixPath` [INFO] [stdout] --> src/pf.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use nix::NixPath; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pf.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | let mut i: usize = 31; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp` is never read [INFO] [stdout] --> src/pf.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | let mut tmp: u32 = 0; [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: unused variable: `af` [INFO] [stdout] --> src/pf.rs:307:29 [INFO] [stdout] | [INFO] [stdout] 307 | unsafe fn unmask(&self, af: libc::sa_family_t) -> libc::c_int [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/pf.rs:470:21 [INFO] [stdout] | [INFO] [stdout] 470 | Err(e) => return Ok(None), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/pf.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let ps = [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mask` is never read [INFO] [stdout] --> src/pf.rs:722:17 [INFO] [stdout] | [INFO] [stdout] 722 | let mut mask: libc::c_int = -1; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bits` is never read [INFO] [stdout] --> src/pf.rs:821:17 [INFO] [stdout] | [INFO] [stdout] 821 | let mut bits: libc::c_int = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sources` is assigned to, but never used [INFO] [stdout] --> src/pf.rs:936:17 [INFO] [stdout] | [INFO] [stdout] 936 | let mut sources: libc::c_int = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sources` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `killed` is assigned to, but never used [INFO] [stdout] --> src/pf.rs:937:17 [INFO] [stdout] | [INFO] [stdout] 937 | let mut killed: u32 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_killed` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dests` is assigned to, but never used [INFO] [stdout] --> src/pf.rs:938:17 [INFO] [stdout] | [INFO] [stdout] 938 | let mut dests: libc::c_int = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dests` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pfrb_size` [INFO] [stdout] --> src/pf.rs:1387:13 [INFO] [stdout] | [INFO] [stdout] 1387 | let pfrb_size = b.pfrb_caddr.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pfrb_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pfrb_size` [INFO] [stdout] --> src/pf.rs:1401:13 [INFO] [stdout] | [INFO] [stdout] 1401 | let pfrb_size = b.pfrb_caddr.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pfrb_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/pf_tokenizer.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | Some(c) => [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pf.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let mut i: usize = 31; [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/pf.rs:481:21 [INFO] [stdout] | [INFO] [stdout] 481 | let mut addr_wrap: pf_addr_wrap = pf_addr_wrap::set_ipmask(PfAddr::PF_ADDR_ADDRMASK, maskv4, addr); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pf.rs:819:19 [INFO] [stdout] | [INFO] [stdout] 819 | unsafe fn new(mut n: node_host, is_test: libc::c_int, not: libc::c_int) -> PfResult [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pf.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | let mut addr = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IF_NAMESIZE` [INFO] [stdout] --> src/pf.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | const IF_NAMESIZE: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AI_NUMERICHOST` [INFO] [stdout] --> src/pf.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | const AI_NUMERICHOST: libc::c_int = 0x00000004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_TABLES` [INFO] [stdout] --> src/pf.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | PFRB_TABLES = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_TSTATS` [INFO] [stdout] --> src/pf.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | PFRB_TSTATS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_ADDRS` [INFO] [stdout] --> src/pf.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | PFRB_ADDRS, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_ASTATS` [INFO] [stdout] --> src/pf.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | PFRB_ASTATS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_IFACES` [INFO] [stdout] --> src/pf.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | PFRB_IFACES, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_TRANS` [INFO] [stdout] --> src/pf.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | PFRB_TRANS, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_MAX` [INFO] [stdout] --> src/pf.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | PFRB_MAX [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_ADDRMASK` [INFO] [stdout] --> src/pf.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | PF_ADDR_ADDRMASK = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_NOROUTE` [INFO] [stdout] --> src/pf.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | PF_ADDR_NOROUTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_DYNIFTL` [INFO] [stdout] --> src/pf.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | PF_ADDR_DYNIFTL, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_TABLE` [INFO] [stdout] --> src/pf.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | PF_ADDR_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_URPFFAILED` [INFO] [stdout] --> src/pf.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | PF_ADDR_URPFFAILED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_RANGE` [INFO] [stdout] --> src/pf.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | PF_ADDR_RANGE [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_empty` [INFO] [stdout] --> src/pf.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn new_empty() -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfctl_addrprefix` [INFO] [stdout] --> src/pf.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | unsafe fn pfctl_addrprefix<'addr>(&mut self, addr: &'addr str) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unmask` [INFO] [stdout] --> src/pf.rs:307:15 [INFO] [stdout] | [INFO] [stdout] 307 | unsafe fn unmask(&self, af: libc::sa_family_t) -> libc::c_int [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_zeroed` [INFO] [stdout] --> src/pf.rs:348:15 [INFO] [stdout] | [INFO] [stdout] 348 | unsafe fn new_zeroed() -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_ipmask` [INFO] [stdout] --> src/pf.rs:389:15 [INFO] [stdout] | [INFO] [stdout] 389 | unsafe fn set_ipmask(pf_addr_type: PfAddr, bits: libc::c_int, mut addr: pf_addr) -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `node_host` [INFO] [stdout] --> src/pf.rs:448:8 [INFO] [stdout] | [INFO] [stdout] 448 | struct node_host [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host_v4v6` [INFO] [stdout] --> src/pf.rs:464:15 [INFO] [stdout] | [INFO] [stdout] 464 | unsafe fn host_v4v6<'pfcmd>(s: &'pfcmd str, maskv4: libc::c_int, maskv6: libc::c_int) -> PfResult>> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host_dns` [INFO] [stdout] --> src/pf.rs:572:15 [INFO] [stdout] | [INFO] [stdout] 572 | unsafe fn host_dns<'pfcmd>(s: &'pfcmd str, maskv4: libc::c_int, maskv6: libc::c_int) -> PfResult>> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/pf.rs:718:15 [INFO] [stdout] | [INFO] [stdout] 718 | unsafe fn host<'pfcmd>(s: &'pfcmd str) -> PfResult> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pf.rs:819:15 [INFO] [stdout] | [INFO] [stdout] 819 | unsafe fn new(mut n: node_host, is_test: libc::c_int, not: libc::c_int) -> PfResult [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pf.rs:902:15 [INFO] [stdout] | [INFO] [stdout] 902 | unsafe fn new>(fd: libc::c_int, is_test: bool, src: H, dest: Option) -> PfResult<()> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_add_tables` [INFO] [stdout] --> src/pf.rs:1126:15 [INFO] [stdout] | [INFO] [stdout] 1126 | unsafe fn new_add_tables(tbl: pfr_table, size: libc::c_int, flags: libc::c_int) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_addrs` [INFO] [stdout] --> src/pf.rs:1138:15 [INFO] [stdout] | [INFO] [stdout] 1138 | unsafe fn new_addrs(tbl: pfr_table, addr: *mut libc::c_void, size: libc::c_int, flags: libc::c_int) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IoCtl` [INFO] [stdout] --> src/pf.rs:1152:8 [INFO] [stdout] | [INFO] [stdout] 1152 | struct IoCtl{} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_VOID` [INFO] [stdout] --> src/pf.rs:1156:5 [INFO] [stdout] | [INFO] [stdout] 1156 | const IOC_VOID: libc::c_ulong = 0x20000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_OUT` [INFO] [stdout] --> src/pf.rs:1158:5 [INFO] [stdout] | [INFO] [stdout] 1158 | const IOC_OUT: libc::c_ulong = 0x40000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_IN` [INFO] [stdout] --> src/pf.rs:1160:5 [INFO] [stdout] | [INFO] [stdout] 1160 | const IOC_IN: libc::c_ulong = 0x80000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_INOUT` [INFO] [stdout] --> src/pf.rs:1162:5 [INFO] [stdout] | [INFO] [stdout] 1162 | const IOC_INOUT: libc::c_ulong = (Self::IOC_IN|Self::IOC_OUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_DIRMASK` [INFO] [stdout] --> src/pf.rs:1164:5 [INFO] [stdout] | [INFO] [stdout] 1164 | const IOC_DIRMASK: libc::c_ulong = (Self::IOC_VOID|Self::IOC_OUT|Self::IOC_IN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOCPARM_SHIFT` [INFO] [stdout] --> src/pf.rs:1167:5 [INFO] [stdout] | [INFO] [stdout] 1167 | const IOCPARM_SHIFT: libc::c_ulong = 13; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOCPARM_MASK` [INFO] [stdout] --> src/pf.rs:1169:5 [INFO] [stdout] | [INFO] [stdout] 1169 | const IOCPARM_MASK: libc::c_ulong = ((1 << Self::IOCPARM_SHIFT) - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `IOCPARM_LEN` [INFO] [stdout] --> src/pf.rs:1171:8 [INFO] [stdout] | [INFO] [stdout] 1171 | fn IOCPARM_LEN(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `IOCBASECMD` [INFO] [stdout] --> src/pf.rs:1176:8 [INFO] [stdout] | [INFO] [stdout] 1176 | fn IOCBASECMD(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `IOCGROUP` [INFO] [stdout] --> src/pf.rs:1181:8 [INFO] [stdout] | [INFO] [stdout] 1181 | fn IOCGROUP(x: libc::c_uint) -> libc::c_uint [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iowr` [INFO] [stdout] --> src/pf.rs:1187:14 [INFO] [stdout] | [INFO] [stdout] 1187 | const fn iowr(group: char, num: libc::c_ulong, len: usize) -> libc::c_ulong [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DIOCRADDTABLES` [INFO] [stdout] --> src/pf.rs:1192:5 [INFO] [stdout] | [INFO] [stdout] 1192 | const DIOCRADDTABLES: libc::c_ulong = Self::iowr('D', 61, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DIOCRADDADDRS` [INFO] [stdout] --> src/pf.rs:1193:5 [INFO] [stdout] | [INFO] [stdout] 1193 | const DIOCRADDADDRS: libc::c_ulong = Self::iowr('D', 67, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DIOCRDELADDRS` [INFO] [stdout] --> src/pf.rs:1194:5 [INFO] [stdout] | [INFO] [stdout] 1194 | const DIOCRDELADDRS: libc::c_ulong = Self::iowr('D', 68, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DIOCRTSTADDRS` [INFO] [stdout] --> src/pf.rs:1195:5 [INFO] [stdout] | [INFO] [stdout] 1195 | const DIOCRTSTADDRS: libc::c_ulong = Self::iowr('D', 73, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DIOCKILLSTATES` [INFO] [stdout] --> src/pf.rs:1196:5 [INFO] [stdout] | [INFO] [stdout] 1196 | const DIOCKILLSTATES: libc::c_ulong = Self::iowr('D', 41, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_PERSIST` [INFO] [stdout] --> src/pf.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1211 | const PFR_TFLAG_PERSIST: libc::c_uint = 0x00000001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_CONST` [INFO] [stdout] --> src/pf.rs:1212:5 [INFO] [stdout] | [INFO] [stdout] 1212 | const PFR_TFLAG_CONST: libc::c_uint = 0x00000002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_ACTIVE` [INFO] [stdout] --> src/pf.rs:1213:5 [INFO] [stdout] | [INFO] [stdout] 1213 | const PFR_TFLAG_ACTIVE: libc::c_uint = 0x00000004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_INACTIVE` [INFO] [stdout] --> src/pf.rs:1214:5 [INFO] [stdout] | [INFO] [stdout] 1214 | const PFR_TFLAG_INACTIVE: libc::c_uint = 0x00000008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_REFERENCED` [INFO] [stdout] --> src/pf.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | const PFR_TFLAG_REFERENCED: libc::c_uint = 0x00000010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_REFDANCHOR` [INFO] [stdout] --> src/pf.rs:1216:5 [INFO] [stdout] | [INFO] [stdout] 1216 | const PFR_TFLAG_REFDANCHOR: libc::c_uint = 0x00000020; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_COUNTERS` [INFO] [stdout] --> src/pf.rs:1217:5 [INFO] [stdout] | [INFO] [stdout] 1217 | const PFR_TFLAG_COUNTERS: libc::c_uint = 0x00000040; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pf.rs:1219:15 [INFO] [stdout] | [INFO] [stdout] 1219 | unsafe fn new(pfrt_name: &str) -> PfResult [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfr_add_tables` [INFO] [stdout] --> src/pf.rs:1243:15 [INFO] [stdout] | [INFO] [stdout] 1243 | unsafe fn pfr_add_tables(&mut self, fd: libc::c_int, size: libc::c_int, nadd: &mut libc::c_int, flags: libc::c_int, test: bool) -> Pf... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfr_add_addrs` [INFO] [stdout] --> src/pf.rs:1270:15 [INFO] [stdout] | [INFO] [stdout] 1270 | unsafe fn pfr_add_addrs( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfr_del_addrs` [INFO] [stdout] --> src/pf.rs:1310:15 [INFO] [stdout] | [INFO] [stdout] 1310 | unsafe fn pfr_del_addrs(&mut self, fd: libc::c_int, mut b: PfrBuffer, ndel: &mut libc::c_int, flags: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfr_tst_addrs` [INFO] [stdout] --> src/pf.rs:1336:15 [INFO] [stdout] | [INFO] [stdout] 1336 | unsafe fn pfr_tst_addrs(&mut self, fd: libc::c_int, mut b: PfrBuffer, nmatch: &mut libc::c_int, flags: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_table` [INFO] [stdout] --> src/pf.rs:1362:15 [INFO] [stdout] | [INFO] [stdout] 1362 | unsafe fn create_table(&mut self, fd: libc::c_int, test: bool) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_addrs` [INFO] [stdout] --> src/pf.rs:1382:15 [INFO] [stdout] | [INFO] [stdout] 1382 | unsafe fn add_addrs(&mut self, fd: libc::c_int, b: PfrBuffer, test: bool) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `del_addrs` [INFO] [stdout] --> src/pf.rs:1396:15 [INFO] [stdout] | [INFO] [stdout] 1396 | unsafe fn del_addrs(&mut self, fd: libc::c_int, b: PfrBuffer) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tst_addrs` [INFO] [stdout] --> src/pf.rs:1410:15 [INFO] [stdout] | [INFO] [stdout] 1410 | unsafe fn tst_addrs(&mut self, fd: libc::c_int, b: PfrBuffer) -> PfResult [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pfrb_type` [INFO] [stdout] --> src/pf.rs:1431:5 [INFO] [stdout] | [INFO] [stdout] 1431 | pfrb_type: Pfrb, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pf.rs:1450:8 [INFO] [stdout] | [INFO] [stdout] 1450 | fn new(pfrb_type: Pfrb) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append_addr` [INFO] [stdout] --> src/pf.rs:1458:15 [INFO] [stdout] | [INFO] [stdout] 1458 | unsafe fn append_addr<'pfcmd>(&mut self, s: &'pfcmd str, is_test: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_addr_from_str` [INFO] [stdout] --> src/pf.rs:1487:15 [INFO] [stdout] | [INFO] [stdout] 1487 | unsafe fn load_addr_from_str>(&mut self, s: H, is_test: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_addr_from_file` [INFO] [stdout] --> src/pf.rs:1503:15 [INFO] [stdout] | [INFO] [stdout] 1503 | unsafe fn load_addr_from_file>(&mut self, path: P, is_test: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfr_buf_add` [INFO] [stdout] --> src/pf.rs:1578:8 [INFO] [stdout] | [INFO] [stdout] 1578 | fn pfr_buf_add(&mut self, addr: pfr_addr) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append_addr_host` [INFO] [stdout] --> src/pf.rs:1592:15 [INFO] [stdout] | [INFO] [stdout] 1592 | unsafe fn append_addr_host(&mut self, vn: Vec, is_test: libc::c_int, not: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fd` [INFO] [stdout] --> src/pf.rs:1618:5 [INFO] [stdout] | [INFO] [stdout] 1618 | fd: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `test` [INFO] [stdout] --> src/pf.rs:1619:5 [INFO] [stdout] | [INFO] [stdout] 1619 | test: bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfctl_kill_state` [INFO] [stdout] --> src/pf.rs:1644:15 [INFO] [stdout] | [INFO] [stdout] 1644 | unsafe fn pfctl_kill_state>(&self, src: H, dest: Option) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfctl_table` [INFO] [stdout] --> src/pf.rs:1649:15 [INFO] [stdout] | [INFO] [stdout] 1649 | unsafe fn pfctl_table>(&self, table_name: T, cmd: PfCmd) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PfListTokenizer` [INFO] [stdout] --> src/pf_tokenizer.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) struct PfListTokenizer<'token> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/pf_tokenizer.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_str(text_buf: &'token str) -> PfResult> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_next` [INFO] [stdout] --> src/pf_tokenizer.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn move_next(&mut self) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cur_char` [INFO] [stdout] --> src/pf_tokenizer.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_cur_char(&self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `foresee_char` [INFO] [stdout] --> src/pf_tokenizer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn foresee_char(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_eof` [INFO] [stdout] --> src/pf_tokenizer.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn is_eof(&mut self) -> bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_next` [INFO] [stdout] --> src/pf_tokenizer.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn read_next(&mut self) -> PfResult> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `htonl` [INFO] [stdout] --> src/portable/net.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn htonl(x: u32) -> u32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ntohl` [INFO] [stdout] --> src/portable/net.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn ntohl(x: u32) -> u32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IOCPARM_LEN` should have a snake case name [INFO] [stdout] --> src/pf.rs:1171:8 [INFO] [stdout] | [INFO] [stdout] 1171 | fn IOCPARM_LEN(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `iocparm_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IOCBASECMD` should have a snake case name [INFO] [stdout] --> src/pf.rs:1176:8 [INFO] [stdout] | [INFO] [stdout] 1176 | fn IOCBASECMD(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `iocbasecmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IOCGROUP` should have a snake case name [INFO] [stdout] --> src/pf.rs:1181:8 [INFO] [stdout] | [INFO] [stdout] 1181 | fn IOCGROUP(x: libc::c_uint) -> libc::c_uint [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `iocgroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 108 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.86s [INFO] running `Command { std: "docker" "inspect" "2bfda31315c64034b0b32265ec7dd6a21fd61c5cd7ad4c49d29feee9a6ff9fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bfda31315c64034b0b32265ec7dd6a21fd61c5cd7ad4c49d29feee9a6ff9fed", kill_on_drop: false }` [INFO] [stdout] 2bfda31315c64034b0b32265ec7dd6a21fd61c5cd7ad4c49d29feee9a6ff9fed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", 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] 85b3d7a1d0657c7b863c007c50b288f0a01416a40a7a77bcab1ad8e32f2343fe [INFO] running `Command { std: "docker" "start" "-a" "85b3d7a1d0657c7b863c007c50b288f0a01416a40a7a77bcab1ad8e32f2343fe", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | / cfor!(let mut i = 31; tmp & (1 << i) > 0; i -= 1; // or (i = 31; tmp & (1 << i); --i) [INFO] [stdout] 324 | | { [INFO] [stdout] 325 | | b += 1; //C b++; [INFO] [stdout] 326 | | } [INFO] [stdout] 327 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | / cfor!(let mut i = 31; i > 31-b; i -= 1; // for (i = 31; i > 31-b; --i) [INFO] [stdout] 404 | | { [INFO] [stdout] 405 | | m.pfa.addr32[j] |= 1 << i; // m->addr32[j] |= (1 << i); [INFO] [stdout] 406 | | } [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | / cfor!(let mut i = 0; i < 4; i += 1; // for (i = 0; i < 4; i++) [INFO] [stdout] 418 | | { [INFO] [stdout] 419 | | addr.pfa.addr32[i] = addr.pfa.addr32[i] & m.pfa.addr32[i]; // n->addr32[i] = n->addr32[i] & m->addr32[i]; [INFO] [stdout] 420 | | } [INFO] [stdout] 421 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:633:13 [INFO] [stdout] | [INFO] [stdout] 633 | / cfor!(let mut p_resp = res; p_resp != std::ptr::null_mut(); p_resp = (*p_resp).ai_next; [INFO] [stdout] 634 | | { [INFO] [stdout] 635 | | let resp = *p_resp; [INFO] [stdout] 636 | | [INFO] [stdout] ... | [INFO] [stdout] 701 | | } [INFO] [stdout] 702 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:941:9 [INFO] [stdout] | [INFO] [stdout] 941 | / cfor!(let mut p_resp = res; p_resp != std::ptr::null_mut(); p_resp = (*p_resp).ai_next; [INFO] [stdout] 942 | | { [INFO] [stdout] 943 | | let resp = *p_resp; [INFO] [stdout] 944 | | [INFO] [stdout] ... | [INFO] [stdout] 1096 | | } [INFO] [stdout] 1097 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:1012:21 [INFO] [stdout] | [INFO] [stdout] 1012 | / cfor!(let mut p_resp1 = res1; p_resp1 != std::ptr::null_mut(); p_resp1 = (*p_resp1).ai_next; [INFO] [stdout] 1013 | | { [INFO] [stdout] 1014 | | let resp1 = *p_resp1; [INFO] [stdout] 1015 | | [INFO] [stdout] ... | [INFO] [stdout] 1072 | | } [INFO] [stdout] 1073 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::NixPath` [INFO] [stdout] --> src/pf.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use nix::NixPath; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pf.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | let mut i: usize = 31; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp` is never read [INFO] [stdout] --> src/pf.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | let mut tmp: u32 = 0; [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: unused variable: `af` [INFO] [stdout] --> src/pf.rs:307:29 [INFO] [stdout] | [INFO] [stdout] 307 | unsafe fn unmask(&self, af: libc::sa_family_t) -> libc::c_int [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/pf.rs:470:21 [INFO] [stdout] | [INFO] [stdout] 470 | Err(e) => return Ok(None), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/pf.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let ps = [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mask` is never read [INFO] [stdout] --> src/pf.rs:722:17 [INFO] [stdout] | [INFO] [stdout] 722 | let mut mask: libc::c_int = -1; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bits` is never read [INFO] [stdout] --> src/pf.rs:821:17 [INFO] [stdout] | [INFO] [stdout] 821 | let mut bits: libc::c_int = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sources` is assigned to, but never used [INFO] [stdout] --> src/pf.rs:936:17 [INFO] [stdout] | [INFO] [stdout] 936 | let mut sources: libc::c_int = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sources` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `killed` is assigned to, but never used [INFO] [stdout] --> src/pf.rs:937:17 [INFO] [stdout] | [INFO] [stdout] 937 | let mut killed: u32 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_killed` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dests` is assigned to, but never used [INFO] [stdout] --> src/pf.rs:938:17 [INFO] [stdout] | [INFO] [stdout] 938 | let mut dests: libc::c_int = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dests` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pfrb_size` [INFO] [stdout] --> src/pf.rs:1387:13 [INFO] [stdout] | [INFO] [stdout] 1387 | let pfrb_size = b.pfrb_caddr.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pfrb_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pfrb_size` [INFO] [stdout] --> src/pf.rs:1401:13 [INFO] [stdout] | [INFO] [stdout] 1401 | let pfrb_size = b.pfrb_caddr.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pfrb_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/pf_tokenizer.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | Some(c) => [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pf.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let mut i: usize = 31; [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/pf.rs:481:21 [INFO] [stdout] | [INFO] [stdout] 481 | let mut addr_wrap: pf_addr_wrap = pf_addr_wrap::set_ipmask(PfAddr::PF_ADDR_ADDRMASK, maskv4, addr); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pf.rs:819:19 [INFO] [stdout] | [INFO] [stdout] 819 | unsafe fn new(mut n: node_host, is_test: libc::c_int, not: libc::c_int) -> PfResult [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pf.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | let mut addr = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IF_NAMESIZE` [INFO] [stdout] --> src/pf.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | const IF_NAMESIZE: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AI_NUMERICHOST` [INFO] [stdout] --> src/pf.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | const AI_NUMERICHOST: libc::c_int = 0x00000004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_TABLES` [INFO] [stdout] --> src/pf.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | PFRB_TABLES = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_TSTATS` [INFO] [stdout] --> src/pf.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | PFRB_TSTATS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_ADDRS` [INFO] [stdout] --> src/pf.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | PFRB_ADDRS, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_ASTATS` [INFO] [stdout] --> src/pf.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | PFRB_ASTATS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_IFACES` [INFO] [stdout] --> src/pf.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | PFRB_IFACES, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_TRANS` [INFO] [stdout] --> src/pf.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | PFRB_TRANS, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_MAX` [INFO] [stdout] --> src/pf.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | PFRB_MAX [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_ADDRMASK` [INFO] [stdout] --> src/pf.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | PF_ADDR_ADDRMASK = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_NOROUTE` [INFO] [stdout] --> src/pf.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | PF_ADDR_NOROUTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_DYNIFTL` [INFO] [stdout] --> src/pf.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | PF_ADDR_DYNIFTL, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_TABLE` [INFO] [stdout] --> src/pf.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | PF_ADDR_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_URPFFAILED` [INFO] [stdout] --> src/pf.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | PF_ADDR_URPFFAILED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_RANGE` [INFO] [stdout] --> src/pf.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | PF_ADDR_RANGE [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_empty` [INFO] [stdout] --> src/pf.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn new_empty() -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfctl_addrprefix` [INFO] [stdout] --> src/pf.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | unsafe fn pfctl_addrprefix<'addr>(&mut self, addr: &'addr str) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unmask` [INFO] [stdout] --> src/pf.rs:307:15 [INFO] [stdout] | [INFO] [stdout] 307 | unsafe fn unmask(&self, af: libc::sa_family_t) -> libc::c_int [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_zeroed` [INFO] [stdout] --> src/pf.rs:348:15 [INFO] [stdout] | [INFO] [stdout] 348 | unsafe fn new_zeroed() -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_ipmask` [INFO] [stdout] --> src/pf.rs:389:15 [INFO] [stdout] | [INFO] [stdout] 389 | unsafe fn set_ipmask(pf_addr_type: PfAddr, bits: libc::c_int, mut addr: pf_addr) -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `node_host` [INFO] [stdout] --> src/pf.rs:448:8 [INFO] [stdout] | [INFO] [stdout] 448 | struct node_host [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host_v4v6` [INFO] [stdout] --> src/pf.rs:464:15 [INFO] [stdout] | [INFO] [stdout] 464 | unsafe fn host_v4v6<'pfcmd>(s: &'pfcmd str, maskv4: libc::c_int, maskv6: libc::c_int) -> PfResult>> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host_dns` [INFO] [stdout] --> src/pf.rs:572:15 [INFO] [stdout] | [INFO] [stdout] 572 | unsafe fn host_dns<'pfcmd>(s: &'pfcmd str, maskv4: libc::c_int, maskv6: libc::c_int) -> PfResult>> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/pf.rs:718:15 [INFO] [stdout] | [INFO] [stdout] 718 | unsafe fn host<'pfcmd>(s: &'pfcmd str) -> PfResult> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pf.rs:819:15 [INFO] [stdout] | [INFO] [stdout] 819 | unsafe fn new(mut n: node_host, is_test: libc::c_int, not: libc::c_int) -> PfResult [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pf.rs:902:15 [INFO] [stdout] | [INFO] [stdout] 902 | unsafe fn new>(fd: libc::c_int, is_test: bool, src: H, dest: Option) -> PfResult<()> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_add_tables` [INFO] [stdout] --> src/pf.rs:1126:15 [INFO] [stdout] | [INFO] [stdout] 1126 | unsafe fn new_add_tables(tbl: pfr_table, size: libc::c_int, flags: libc::c_int) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_addrs` [INFO] [stdout] --> src/pf.rs:1138:15 [INFO] [stdout] | [INFO] [stdout] 1138 | unsafe fn new_addrs(tbl: pfr_table, addr: *mut libc::c_void, size: libc::c_int, flags: libc::c_int) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IoCtl` [INFO] [stdout] --> src/pf.rs:1152:8 [INFO] [stdout] | [INFO] [stdout] 1152 | struct IoCtl{} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_VOID` [INFO] [stdout] --> src/pf.rs:1156:5 [INFO] [stdout] | [INFO] [stdout] 1156 | const IOC_VOID: libc::c_ulong = 0x20000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_OUT` [INFO] [stdout] --> src/pf.rs:1158:5 [INFO] [stdout] | [INFO] [stdout] 1158 | const IOC_OUT: libc::c_ulong = 0x40000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_IN` [INFO] [stdout] --> src/pf.rs:1160:5 [INFO] [stdout] | [INFO] [stdout] 1160 | const IOC_IN: libc::c_ulong = 0x80000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_INOUT` [INFO] [stdout] --> src/pf.rs:1162:5 [INFO] [stdout] | [INFO] [stdout] 1162 | const IOC_INOUT: libc::c_ulong = (Self::IOC_IN|Self::IOC_OUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_DIRMASK` [INFO] [stdout] --> src/pf.rs:1164:5 [INFO] [stdout] | [INFO] [stdout] 1164 | const IOC_DIRMASK: libc::c_ulong = (Self::IOC_VOID|Self::IOC_OUT|Self::IOC_IN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOCPARM_SHIFT` [INFO] [stdout] --> src/pf.rs:1167:5 [INFO] [stdout] | [INFO] [stdout] 1167 | const IOCPARM_SHIFT: libc::c_ulong = 13; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOCPARM_MASK` [INFO] [stdout] --> src/pf.rs:1169:5 [INFO] [stdout] | [INFO] [stdout] 1169 | const IOCPARM_MASK: libc::c_ulong = ((1 << Self::IOCPARM_SHIFT) - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `IOCPARM_LEN` [INFO] [stdout] --> src/pf.rs:1171:8 [INFO] [stdout] | [INFO] [stdout] 1171 | fn IOCPARM_LEN(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `IOCBASECMD` [INFO] [stdout] --> src/pf.rs:1176:8 [INFO] [stdout] | [INFO] [stdout] 1176 | fn IOCBASECMD(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `IOCGROUP` [INFO] [stdout] --> src/pf.rs:1181:8 [INFO] [stdout] | [INFO] [stdout] 1181 | fn IOCGROUP(x: libc::c_uint) -> libc::c_uint [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iowr` [INFO] [stdout] --> src/pf.rs:1187:14 [INFO] [stdout] | [INFO] [stdout] 1187 | const fn iowr(group: char, num: libc::c_ulong, len: usize) -> libc::c_ulong [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DIOCRADDTABLES` [INFO] [stdout] --> src/pf.rs:1192:5 [INFO] [stdout] | [INFO] [stdout] 1192 | const DIOCRADDTABLES: libc::c_ulong = Self::iowr('D', 61, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DIOCRADDADDRS` [INFO] [stdout] --> src/pf.rs:1193:5 [INFO] [stdout] | [INFO] [stdout] 1193 | const DIOCRADDADDRS: libc::c_ulong = Self::iowr('D', 67, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DIOCRDELADDRS` [INFO] [stdout] --> src/pf.rs:1194:5 [INFO] [stdout] | [INFO] [stdout] 1194 | const DIOCRDELADDRS: libc::c_ulong = Self::iowr('D', 68, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DIOCRTSTADDRS` [INFO] [stdout] --> src/pf.rs:1195:5 [INFO] [stdout] | [INFO] [stdout] 1195 | const DIOCRTSTADDRS: libc::c_ulong = Self::iowr('D', 73, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DIOCKILLSTATES` [INFO] [stdout] --> src/pf.rs:1196:5 [INFO] [stdout] | [INFO] [stdout] 1196 | const DIOCKILLSTATES: libc::c_ulong = Self::iowr('D', 41, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_PERSIST` [INFO] [stdout] --> src/pf.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1211 | const PFR_TFLAG_PERSIST: libc::c_uint = 0x00000001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_CONST` [INFO] [stdout] --> src/pf.rs:1212:5 [INFO] [stdout] | [INFO] [stdout] 1212 | const PFR_TFLAG_CONST: libc::c_uint = 0x00000002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_ACTIVE` [INFO] [stdout] --> src/pf.rs:1213:5 [INFO] [stdout] | [INFO] [stdout] 1213 | const PFR_TFLAG_ACTIVE: libc::c_uint = 0x00000004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_INACTIVE` [INFO] [stdout] --> src/pf.rs:1214:5 [INFO] [stdout] | [INFO] [stdout] 1214 | const PFR_TFLAG_INACTIVE: libc::c_uint = 0x00000008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_REFERENCED` [INFO] [stdout] --> src/pf.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | const PFR_TFLAG_REFERENCED: libc::c_uint = 0x00000010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_REFDANCHOR` [INFO] [stdout] --> src/pf.rs:1216:5 [INFO] [stdout] | [INFO] [stdout] 1216 | const PFR_TFLAG_REFDANCHOR: libc::c_uint = 0x00000020; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_COUNTERS` [INFO] [stdout] --> src/pf.rs:1217:5 [INFO] [stdout] | [INFO] [stdout] 1217 | const PFR_TFLAG_COUNTERS: libc::c_uint = 0x00000040; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pf.rs:1219:15 [INFO] [stdout] | [INFO] [stdout] 1219 | unsafe fn new(pfrt_name: &str) -> PfResult [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfr_add_tables` [INFO] [stdout] --> src/pf.rs:1243:15 [INFO] [stdout] | [INFO] [stdout] 1243 | unsafe fn pfr_add_tables(&mut self, fd: libc::c_int, size: libc::c_int, nadd: &mut libc::c_int, flags: libc::c_int, test: bool) -> Pf... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfr_add_addrs` [INFO] [stdout] --> src/pf.rs:1270:15 [INFO] [stdout] | [INFO] [stdout] 1270 | unsafe fn pfr_add_addrs( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfr_del_addrs` [INFO] [stdout] --> src/pf.rs:1310:15 [INFO] [stdout] | [INFO] [stdout] 1310 | unsafe fn pfr_del_addrs(&mut self, fd: libc::c_int, mut b: PfrBuffer, ndel: &mut libc::c_int, flags: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfr_tst_addrs` [INFO] [stdout] --> src/pf.rs:1336:15 [INFO] [stdout] | [INFO] [stdout] 1336 | unsafe fn pfr_tst_addrs(&mut self, fd: libc::c_int, mut b: PfrBuffer, nmatch: &mut libc::c_int, flags: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_table` [INFO] [stdout] --> src/pf.rs:1362:15 [INFO] [stdout] | [INFO] [stdout] 1362 | unsafe fn create_table(&mut self, fd: libc::c_int, test: bool) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_addrs` [INFO] [stdout] --> src/pf.rs:1382:15 [INFO] [stdout] | [INFO] [stdout] 1382 | unsafe fn add_addrs(&mut self, fd: libc::c_int, b: PfrBuffer, test: bool) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `del_addrs` [INFO] [stdout] --> src/pf.rs:1396:15 [INFO] [stdout] | [INFO] [stdout] 1396 | unsafe fn del_addrs(&mut self, fd: libc::c_int, b: PfrBuffer) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tst_addrs` [INFO] [stdout] --> src/pf.rs:1410:15 [INFO] [stdout] | [INFO] [stdout] 1410 | unsafe fn tst_addrs(&mut self, fd: libc::c_int, b: PfrBuffer) -> PfResult [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pfrb_type` [INFO] [stdout] --> src/pf.rs:1431:5 [INFO] [stdout] | [INFO] [stdout] 1431 | pfrb_type: Pfrb, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pf.rs:1450:8 [INFO] [stdout] | [INFO] [stdout] 1450 | fn new(pfrb_type: Pfrb) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append_addr` [INFO] [stdout] --> src/pf.rs:1458:15 [INFO] [stdout] | [INFO] [stdout] 1458 | unsafe fn append_addr<'pfcmd>(&mut self, s: &'pfcmd str, is_test: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_addr_from_str` [INFO] [stdout] --> src/pf.rs:1487:15 [INFO] [stdout] | [INFO] [stdout] 1487 | unsafe fn load_addr_from_str>(&mut self, s: H, is_test: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_addr_from_file` [INFO] [stdout] --> src/pf.rs:1503:15 [INFO] [stdout] | [INFO] [stdout] 1503 | unsafe fn load_addr_from_file>(&mut self, path: P, is_test: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfr_buf_add` [INFO] [stdout] --> src/pf.rs:1578:8 [INFO] [stdout] | [INFO] [stdout] 1578 | fn pfr_buf_add(&mut self, addr: pfr_addr) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `append_addr_host` [INFO] [stdout] --> src/pf.rs:1592:15 [INFO] [stdout] | [INFO] [stdout] 1592 | unsafe fn append_addr_host(&mut self, vn: Vec, is_test: libc::c_int, not: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fd` [INFO] [stdout] --> src/pf.rs:1618:5 [INFO] [stdout] | [INFO] [stdout] 1618 | fd: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `test` [INFO] [stdout] --> src/pf.rs:1619:5 [INFO] [stdout] | [INFO] [stdout] 1619 | test: bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfctl_kill_state` [INFO] [stdout] --> src/pf.rs:1644:15 [INFO] [stdout] | [INFO] [stdout] 1644 | unsafe fn pfctl_kill_state>(&self, src: H, dest: Option) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pfctl_table` [INFO] [stdout] --> src/pf.rs:1649:15 [INFO] [stdout] | [INFO] [stdout] 1649 | unsafe fn pfctl_table>(&self, table_name: T, cmd: PfCmd) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PfListTokenizer` [INFO] [stdout] --> src/pf_tokenizer.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) struct PfListTokenizer<'token> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/pf_tokenizer.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn from_str(text_buf: &'token str) -> PfResult> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_next` [INFO] [stdout] --> src/pf_tokenizer.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn move_next(&mut self) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cur_char` [INFO] [stdout] --> src/pf_tokenizer.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_cur_char(&self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `foresee_char` [INFO] [stdout] --> src/pf_tokenizer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn foresee_char(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_eof` [INFO] [stdout] --> src/pf_tokenizer.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn is_eof(&mut self) -> bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_next` [INFO] [stdout] --> src/pf_tokenizer.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn read_next(&mut self) -> PfResult> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `htonl` [INFO] [stdout] --> src/portable/net.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn htonl(x: u32) -> u32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ntohl` [INFO] [stdout] --> src/portable/net.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn ntohl(x: u32) -> u32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IOCPARM_LEN` should have a snake case name [INFO] [stdout] --> src/pf.rs:1171:8 [INFO] [stdout] | [INFO] [stdout] 1171 | fn IOCPARM_LEN(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `iocparm_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pf-rs v13.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `IOCBASECMD` should have a snake case name [INFO] [stdout] --> src/pf.rs:1176:8 [INFO] [stdout] | [INFO] [stdout] 1176 | fn IOCBASECMD(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `iocbasecmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IOCGROUP` should have a snake case name [INFO] [stdout] --> src/pf.rs:1181:8 [INFO] [stdout] | [INFO] [stdout] 1181 | fn IOCGROUP(x: libc::c_uint) -> libc::c_uint [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `iocgroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 108 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:323:13 [INFO] [stdout] | [INFO] [stdout] 323 | / cfor!(let mut i = 31; tmp & (1 << i) > 0; i -= 1; // or (i = 31; tmp & (1 << i); --i) [INFO] [stdout] 324 | | { [INFO] [stdout] 325 | | b += 1; //C b++; [INFO] [stdout] 326 | | } [INFO] [stdout] 327 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | / cfor!(let mut i = 31; i > 31-b; i -= 1; // for (i = 31; i > 31-b; --i) [INFO] [stdout] 404 | | { [INFO] [stdout] 405 | | m.pfa.addr32[j] |= 1 << i; // m->addr32[j] |= (1 << i); [INFO] [stdout] 406 | | } [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | / cfor!(let mut i = 0; i < 4; i += 1; // for (i = 0; i < 4; i++) [INFO] [stdout] 418 | | { [INFO] [stdout] 419 | | addr.pfa.addr32[i] = addr.pfa.addr32[i] & m.pfa.addr32[i]; // n->addr32[i] = n->addr32[i] & m->addr32[i]; [INFO] [stdout] 420 | | } [INFO] [stdout] 421 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:633:13 [INFO] [stdout] | [INFO] [stdout] 633 | / cfor!(let mut p_resp = res; p_resp != std::ptr::null_mut(); p_resp = (*p_resp).ai_next; [INFO] [stdout] 634 | | { [INFO] [stdout] 635 | | let resp = *p_resp; [INFO] [stdout] 636 | | [INFO] [stdout] ... | [INFO] [stdout] 701 | | } [INFO] [stdout] 702 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:941:9 [INFO] [stdout] | [INFO] [stdout] 941 | / cfor!(let mut p_resp = res; p_resp != std::ptr::null_mut(); p_resp = (*p_resp).ai_next; [INFO] [stdout] 942 | | { [INFO] [stdout] 943 | | let resp = *p_resp; [INFO] [stdout] 944 | | [INFO] [stdout] ... | [INFO] [stdout] 1096 | | } [INFO] [stdout] 1097 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/common.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | $init; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] ::: src/pf.rs:1012:21 [INFO] [stdout] | [INFO] [stdout] 1012 | / cfor!(let mut p_resp1 = res1; p_resp1 != std::ptr::null_mut(); p_resp1 = (*p_resp1).ai_next; [INFO] [stdout] 1013 | | { [INFO] [stdout] 1014 | | let resp1 = *p_resp1; [INFO] [stdout] 1015 | | [INFO] [stdout] ... | [INFO] [stdout] 1072 | | } [INFO] [stdout] 1073 | | ); [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::NixPath` [INFO] [stdout] --> src/pf.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use nix::NixPath; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/pf.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | let mut i: usize = 31; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp` is never read [INFO] [stdout] --> src/pf.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | let mut tmp: u32 = 0; [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: unused variable: `af` [INFO] [stdout] --> src/pf.rs:307:29 [INFO] [stdout] | [INFO] [stdout] 307 | unsafe fn unmask(&self, af: libc::sa_family_t) -> libc::c_int [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/pf.rs:470:21 [INFO] [stdout] | [INFO] [stdout] 470 | Err(e) => return Ok(None), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ps` [INFO] [stdout] --> src/pf.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let ps = [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `mask` is never read [INFO] [stdout] --> src/pf.rs:722:17 [INFO] [stdout] | [INFO] [stdout] 722 | let mut mask: libc::c_int = -1; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bits` is never read [INFO] [stdout] --> src/pf.rs:821:17 [INFO] [stdout] | [INFO] [stdout] 821 | let mut bits: libc::c_int = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sources` is assigned to, but never used [INFO] [stdout] --> src/pf.rs:936:17 [INFO] [stdout] | [INFO] [stdout] 936 | let mut sources: libc::c_int = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sources` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `killed` is assigned to, but never used [INFO] [stdout] --> src/pf.rs:937:17 [INFO] [stdout] | [INFO] [stdout] 937 | let mut killed: u32 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_killed` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dests` is assigned to, but never used [INFO] [stdout] --> src/pf.rs:938:17 [INFO] [stdout] | [INFO] [stdout] 938 | let mut dests: libc::c_int = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dests` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pfrb_size` [INFO] [stdout] --> src/pf.rs:1387:13 [INFO] [stdout] | [INFO] [stdout] 1387 | let pfrb_size = b.pfrb_caddr.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pfrb_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pfrb_size` [INFO] [stdout] --> src/pf.rs:1401:13 [INFO] [stdout] | [INFO] [stdout] 1401 | let pfrb_size = b.pfrb_caddr.len(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pfrb_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/pf_tokenizer.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | Some(c) => [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pf.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let mut i: usize = 31; [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/pf.rs:481:21 [INFO] [stdout] | [INFO] [stdout] 481 | let mut addr_wrap: pf_addr_wrap = pf_addr_wrap::set_ipmask(PfAddr::PF_ADDR_ADDRMASK, maskv4, addr); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pf.rs:819:19 [INFO] [stdout] | [INFO] [stdout] 819 | unsafe fn new(mut n: node_host, is_test: libc::c_int, not: libc::c_int) -> PfResult [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pf.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | let mut addr = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `IF_NAMESIZE` [INFO] [stdout] --> src/pf.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | const IF_NAMESIZE: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_TABLES` [INFO] [stdout] --> src/pf.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | PFRB_TABLES = 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_TSTATS` [INFO] [stdout] --> src/pf.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | PFRB_TSTATS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_ASTATS` [INFO] [stdout] --> src/pf.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | PFRB_ASTATS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_IFACES` [INFO] [stdout] --> src/pf.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | PFRB_IFACES, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PFRB_TRANS` [INFO] [stdout] --> src/pf.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | PFRB_TRANS, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_NOROUTE` [INFO] [stdout] --> src/pf.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | PF_ADDR_NOROUTE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_DYNIFTL` [INFO] [stdout] --> src/pf.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | PF_ADDR_DYNIFTL, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_TABLE` [INFO] [stdout] --> src/pf.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | PF_ADDR_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_URPFFAILED` [INFO] [stdout] --> src/pf.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | PF_ADDR_URPFFAILED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PF_ADDR_RANGE` [INFO] [stdout] --> src/pf.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | PF_ADDR_RANGE [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pf.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_zeroed` [INFO] [stdout] --> src/pf.rs:348:15 [INFO] [stdout] | [INFO] [stdout] 348 | unsafe fn new_zeroed() -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_VOID` [INFO] [stdout] --> src/pf.rs:1156:5 [INFO] [stdout] | [INFO] [stdout] 1156 | const IOC_VOID: libc::c_ulong = 0x20000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IOC_DIRMASK` [INFO] [stdout] --> src/pf.rs:1164:5 [INFO] [stdout] | [INFO] [stdout] 1164 | const IOC_DIRMASK: libc::c_ulong = (Self::IOC_VOID|Self::IOC_OUT|Self::IOC_IN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `IOCPARM_LEN` [INFO] [stdout] --> src/pf.rs:1171:8 [INFO] [stdout] | [INFO] [stdout] 1171 | fn IOCPARM_LEN(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `IOCBASECMD` [INFO] [stdout] --> src/pf.rs:1176:8 [INFO] [stdout] | [INFO] [stdout] 1176 | fn IOCBASECMD(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `IOCGROUP` [INFO] [stdout] --> src/pf.rs:1181:8 [INFO] [stdout] | [INFO] [stdout] 1181 | fn IOCGROUP(x: libc::c_uint) -> libc::c_uint [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_CONST` [INFO] [stdout] --> src/pf.rs:1212:5 [INFO] [stdout] | [INFO] [stdout] 1212 | const PFR_TFLAG_CONST: libc::c_uint = 0x00000002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_ACTIVE` [INFO] [stdout] --> src/pf.rs:1213:5 [INFO] [stdout] | [INFO] [stdout] 1213 | const PFR_TFLAG_ACTIVE: libc::c_uint = 0x00000004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_INACTIVE` [INFO] [stdout] --> src/pf.rs:1214:5 [INFO] [stdout] | [INFO] [stdout] 1214 | const PFR_TFLAG_INACTIVE: libc::c_uint = 0x00000008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_REFERENCED` [INFO] [stdout] --> src/pf.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | const PFR_TFLAG_REFERENCED: libc::c_uint = 0x00000010; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_REFDANCHOR` [INFO] [stdout] --> src/pf.rs:1216:5 [INFO] [stdout] | [INFO] [stdout] 1216 | const PFR_TFLAG_REFDANCHOR: libc::c_uint = 0x00000020; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PFR_TFLAG_COUNTERS` [INFO] [stdout] --> src/pf.rs:1217:5 [INFO] [stdout] | [INFO] [stdout] 1217 | const PFR_TFLAG_COUNTERS: libc::c_uint = 0x00000040; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_addr_from_file` [INFO] [stdout] --> src/pf.rs:1503:15 [INFO] [stdout] | [INFO] [stdout] 1503 | unsafe fn load_addr_from_file>(&mut self, path: P, is_test: libc::c_int) -> PfResult<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `foresee_char` [INFO] [stdout] --> src/pf_tokenizer.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn foresee_char(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IOCPARM_LEN` should have a snake case name [INFO] [stdout] --> src/pf.rs:1171:8 [INFO] [stdout] | [INFO] [stdout] 1171 | fn IOCPARM_LEN(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `iocparm_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IOCBASECMD` should have a snake case name [INFO] [stdout] --> src/pf.rs:1176:8 [INFO] [stdout] | [INFO] [stdout] 1176 | fn IOCBASECMD(x: libc::c_ulong) -> libc::c_ulong [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `iocbasecmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IOCGROUP` should have a snake case name [INFO] [stdout] --> src/pf.rs:1181:8 [INFO] [stdout] | [INFO] [stdout] 1181 | fn IOCGROUP(x: libc::c_uint) -> libc::c_uint [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `iocgroup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.02s [INFO] running `Command { std: "docker" "inspect" "85b3d7a1d0657c7b863c007c50b288f0a01416a40a7a77bcab1ad8e32f2343fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b3d7a1d0657c7b863c007c50b288f0a01416a40a7a77bcab1ad8e32f2343fe", kill_on_drop: false }` [INFO] [stdout] 85b3d7a1d0657c7b863c007c50b288f0a01416a40a7a77bcab1ad8e32f2343fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", 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] ab64fee92741ee0ff80fee2fd841781919b6eee748d18f8ec39deaa3178ae5b0 [INFO] running `Command { std: "docker" "start" "-a" "ab64fee92741ee0ff80fee2fd841781919b6eee748d18f8ec39deaa3178ae5b0", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/common.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | $init; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] ::: src/pf.rs:323:13 [INFO] [stderr] | [INFO] [stderr] 323 | / cfor!(let mut i = 31; tmp & (1 << i) > 0; i -= 1; // or (i = 31; tmp & (1 << i); --i) [INFO] [stderr] 324 | | { [INFO] [stderr] 325 | | b += 1; //C b++; [INFO] [stderr] 326 | | } [INFO] [stderr] 327 | | ); [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/common.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | $init; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] ::: src/pf.rs:403:9 [INFO] [stderr] | [INFO] [stderr] 403 | / cfor!(let mut i = 31; i > 31-b; i -= 1; // for (i = 31; i > 31-b; --i) [INFO] [stderr] 404 | | { [INFO] [stderr] 405 | | m.pfa.addr32[j] |= 1 << i; // m->addr32[j] |= (1 << i); [INFO] [stderr] 406 | | } [INFO] [stderr] 407 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/common.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | $init; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] ::: src/pf.rs:417:13 [INFO] [stderr] | [INFO] [stderr] 417 | / cfor!(let mut i = 0; i < 4; i += 1; // for (i = 0; i < 4; i++) [INFO] [stderr] 418 | | { [INFO] [stderr] 419 | | addr.pfa.addr32[i] = addr.pfa.addr32[i] & m.pfa.addr32[i]; // n->addr32[i] = n->addr32[i] & m->addr32[i]; [INFO] [stderr] 420 | | } [INFO] [stderr] 421 | | ); [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/common.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | $init; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] ::: src/pf.rs:633:13 [INFO] [stderr] | [INFO] [stderr] 633 | / cfor!(let mut p_resp = res; p_resp != std::ptr::null_mut(); p_resp = (*p_resp).ai_next; [INFO] [stderr] 634 | | { [INFO] [stderr] 635 | | let resp = *p_resp; [INFO] [stderr] 636 | | [INFO] [stderr] ... | [INFO] [stderr] 701 | | } [INFO] [stderr] 702 | | ); [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/common.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | $init; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] ::: src/pf.rs:941:9 [INFO] [stderr] | [INFO] [stderr] 941 | / cfor!(let mut p_resp = res; p_resp != std::ptr::null_mut(); p_resp = (*p_resp).ai_next; [INFO] [stderr] 942 | | { [INFO] [stderr] 943 | | let resp = *p_resp; [INFO] [stderr] 944 | | [INFO] [stderr] ... | [INFO] [stderr] 1096 | | } [INFO] [stderr] 1097 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/common.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | $init; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] ::: src/pf.rs:1012:21 [INFO] [stderr] | [INFO] [stderr] 1012 | / cfor!(let mut p_resp1 = res1; p_resp1 != std::ptr::null_mut(); p_resp1 = (*p_resp1).ai_next; [INFO] [stderr] 1013 | | { [INFO] [stderr] 1014 | | let resp1 = *p_resp1; [INFO] [stderr] 1015 | | [INFO] [stderr] ... | [INFO] [stderr] 1072 | | } [INFO] [stderr] 1073 | | ); [INFO] [stderr] | |_____________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `cfor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `nix::NixPath` [INFO] [stderr] --> src/pf.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | use nix::NixPath; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/pf.rs:309:17 [INFO] [stderr] | [INFO] [stderr] 309 | let mut i: usize = 31; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `tmp` is never read [INFO] [stderr] --> src/pf.rs:312:17 [INFO] [stderr] | [INFO] [stderr] 312 | let mut tmp: u32 = 0; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `af` [INFO] [stderr] --> src/pf.rs:307:29 [INFO] [stderr] | [INFO] [stderr] 307 | unsafe fn unmask(&self, af: libc::sa_family_t) -> libc::c_int [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_af` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/pf.rs:470:21 [INFO] [stderr] | [INFO] [stderr] 470 | Err(e) => return Ok(None), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ps` [INFO] [stderr] --> src/pf.rs:576:13 [INFO] [stderr] | [INFO] [stderr] 576 | let ps = [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ps` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `mask` is never read [INFO] [stderr] --> src/pf.rs:722:17 [INFO] [stderr] | [INFO] [stderr] 722 | let mut mask: libc::c_int = -1; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `bits` is never read [INFO] [stderr] --> src/pf.rs:821:17 [INFO] [stderr] | [INFO] [stderr] 821 | let mut bits: libc::c_int = 0; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable `sources` is assigned to, but never used [INFO] [stderr] --> src/pf.rs:936:17 [INFO] [stderr] | [INFO] [stderr] 936 | let mut sources: libc::c_int = 0; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_sources` instead [INFO] [stderr] [INFO] [stderr] warning: variable `killed` is assigned to, but never used [INFO] [stderr] --> src/pf.rs:937:17 [INFO] [stderr] | [INFO] [stderr] 937 | let mut killed: u32 = 0; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_killed` instead [INFO] [stderr] [INFO] [stderr] warning: variable `dests` is assigned to, but never used [INFO] [stderr] --> src/pf.rs:938:17 [INFO] [stderr] | [INFO] [stderr] 938 | let mut dests: libc::c_int = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_dests` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pfrb_size` [INFO] [stderr] --> src/pf.rs:1387:13 [INFO] [stderr] | [INFO] [stderr] 1387 | let pfrb_size = b.pfrb_caddr.len(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pfrb_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pfrb_size` [INFO] [stderr] --> src/pf.rs:1401:13 [INFO] [stderr] | [INFO] [stderr] 1401 | let pfrb_size = b.pfrb_caddr.len(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pfrb_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/pf_tokenizer.rs:156:22 [INFO] [stderr] | [INFO] [stderr] 156 | Some(c) => [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/pf.rs:309:13 [INFO] [stderr] | [INFO] [stderr] 309 | let mut i: usize = 31; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/pf.rs:481:21 [INFO] [stderr] | [INFO] [stderr] 481 | let mut addr_wrap: pf_addr_wrap = pf_addr_wrap::set_ipmask(PfAddr::PF_ADDR_ADDRMASK, maskv4, addr); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/pf.rs:819:19 [INFO] [stderr] | [INFO] [stderr] 819 | unsafe fn new(mut n: node_host, is_test: libc::c_int, not: libc::c_int) -> PfResult [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/pf.rs:841:13 [INFO] [stderr] | [INFO] [stderr] 841 | let mut addr = [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `IF_NAMESIZE` [INFO] [stderr] --> src/pf.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | const IF_NAMESIZE: usize = 16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `AI_NUMERICHOST` [INFO] [stderr] --> src/pf.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | const AI_NUMERICHOST: libc::c_int = 0x00000004; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PFRB_TABLES` [INFO] [stderr] --> src/pf.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | PFRB_TABLES = 1, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PFRB_TSTATS` [INFO] [stderr] --> src/pf.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | PFRB_TSTATS, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PFRB_ADDRS` [INFO] [stderr] --> src/pf.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | PFRB_ADDRS, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PFRB_ASTATS` [INFO] [stderr] --> src/pf.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | PFRB_ASTATS, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PFRB_IFACES` [INFO] [stderr] --> src/pf.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | PFRB_IFACES, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PFRB_TRANS` [INFO] [stderr] --> src/pf.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | PFRB_TRANS, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PFRB_MAX` [INFO] [stderr] --> src/pf.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | PFRB_MAX [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pfrb` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PF_ADDR_ADDRMASK` [INFO] [stderr] --> src/pf.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | PF_ADDR_ADDRMASK = 0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PF_ADDR_NOROUTE` [INFO] [stderr] --> src/pf.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | PF_ADDR_NOROUTE, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PF_ADDR_DYNIFTL` [INFO] [stderr] --> src/pf.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | PF_ADDR_DYNIFTL, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PF_ADDR_TABLE` [INFO] [stderr] --> src/pf.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | PF_ADDR_TABLE, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PF_ADDR_URPFFAILED` [INFO] [stderr] --> src/pf.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | PF_ADDR_URPFFAILED, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PF_ADDR_RANGE` [INFO] [stderr] --> src/pf.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | PF_ADDR_RANGE [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PfAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pf.rs:87:10 [INFO] [stderr] | [INFO] [stderr] 87 | #[derive(Debug, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_empty` [INFO] [stderr] --> src/pf.rs:179:8 [INFO] [stderr] | [INFO] [stderr] 179 | fn new_empty() -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pfctl_addrprefix` [INFO] [stderr] --> src/pf.rs:184:15 [INFO] [stderr] | [INFO] [stderr] 184 | unsafe fn pfctl_addrprefix<'addr>(&mut self, addr: &'addr str) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unmask` [INFO] [stderr] --> src/pf.rs:307:15 [INFO] [stderr] | [INFO] [stderr] 307 | unsafe fn unmask(&self, af: libc::sa_family_t) -> libc::c_int [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_zeroed` [INFO] [stderr] --> src/pf.rs:348:15 [INFO] [stderr] | [INFO] [stderr] 348 | unsafe fn new_zeroed() -> Self [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_ipmask` [INFO] [stderr] --> src/pf.rs:389:15 [INFO] [stderr] | [INFO] [stderr] 389 | unsafe fn set_ipmask(pf_addr_type: PfAddr, bits: libc::c_int, mut addr: pf_addr) -> Self [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `node_host` [INFO] [stderr] --> src/pf.rs:448:8 [INFO] [stderr] | [INFO] [stderr] 448 | struct node_host [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `host_v4v6` [INFO] [stderr] --> src/pf.rs:464:15 [INFO] [stderr] | [INFO] [stderr] 464 | unsafe fn host_v4v6<'pfcmd>(s: &'pfcmd str, maskv4: libc::c_int, maskv6: libc::c_int) -> PfResult>> [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `host_dns` [INFO] [stderr] --> src/pf.rs:572:15 [INFO] [stderr] | [INFO] [stderr] 572 | unsafe fn host_dns<'pfcmd>(s: &'pfcmd str, maskv4: libc::c_int, maskv6: libc::c_int) -> PfResult>> [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `host` [INFO] [stderr] --> src/pf.rs:718:15 [INFO] [stderr] | [INFO] [stderr] 718 | unsafe fn host<'pfcmd>(s: &'pfcmd str) -> PfResult> [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/pf.rs:819:15 [INFO] [stderr] | [INFO] [stderr] 819 | unsafe fn new(mut n: node_host, is_test: libc::c_int, not: libc::c_int) -> PfResult [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/pf.rs:902:15 [INFO] [stderr] | [INFO] [stderr] 902 | unsafe fn new>(fd: libc::c_int, is_test: bool, src: H, dest: Option) -> PfResult<()> [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_add_tables` [INFO] [stderr] --> src/pf.rs:1126:15 [INFO] [stderr] | [INFO] [stderr] 1126 | unsafe fn new_add_tables(tbl: pfr_table, size: libc::c_int, flags: libc::c_int) -> Self [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_addrs` [INFO] [stderr] --> src/pf.rs:1138:15 [INFO] [stderr] | [INFO] [stderr] 1138 | unsafe fn new_addrs(tbl: pfr_table, addr: *mut libc::c_void, size: libc::c_int, flags: libc::c_int) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `IoCtl` [INFO] [stderr] --> src/pf.rs:1152:8 [INFO] [stderr] | [INFO] [stderr] 1152 | struct IoCtl{} [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `IOC_VOID` [INFO] [stderr] --> src/pf.rs:1156:5 [INFO] [stderr] | [INFO] [stderr] 1156 | const IOC_VOID: libc::c_ulong = 0x20000000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `IOC_OUT` [INFO] [stderr] --> src/pf.rs:1158:5 [INFO] [stderr] | [INFO] [stderr] 1158 | const IOC_OUT: libc::c_ulong = 0x40000000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `IOC_IN` [INFO] [stderr] --> src/pf.rs:1160:5 [INFO] [stderr] | [INFO] [stderr] 1160 | const IOC_IN: libc::c_ulong = 0x80000000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `IOC_INOUT` [INFO] [stderr] --> src/pf.rs:1162:5 [INFO] [stderr] | [INFO] [stderr] 1162 | const IOC_INOUT: libc::c_ulong = (Self::IOC_IN|Self::IOC_OUT); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `IOC_DIRMASK` [INFO] [stderr] --> src/pf.rs:1164:5 [INFO] [stderr] | [INFO] [stderr] 1164 | const IOC_DIRMASK: libc::c_ulong = (Self::IOC_VOID|Self::IOC_OUT|Self::IOC_IN); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `IOCPARM_SHIFT` [INFO] [stderr] --> src/pf.rs:1167:5 [INFO] [stderr] | [INFO] [stderr] 1167 | const IOCPARM_SHIFT: libc::c_ulong = 13; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `IOCPARM_MASK` [INFO] [stderr] --> src/pf.rs:1169:5 [INFO] [stderr] | [INFO] [stderr] 1169 | const IOCPARM_MASK: libc::c_ulong = ((1 << Self::IOCPARM_SHIFT) - 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `IOCPARM_LEN` [INFO] [stderr] --> src/pf.rs:1171:8 [INFO] [stderr] | [INFO] [stderr] 1171 | fn IOCPARM_LEN(x: libc::c_ulong) -> libc::c_ulong [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `IOCBASECMD` [INFO] [stderr] --> src/pf.rs:1176:8 [INFO] [stderr] | [INFO] [stderr] 1176 | fn IOCBASECMD(x: libc::c_ulong) -> libc::c_ulong [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `IOCGROUP` [INFO] [stderr] --> src/pf.rs:1181:8 [INFO] [stderr] | [INFO] [stderr] 1181 | fn IOCGROUP(x: libc::c_uint) -> libc::c_uint [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iowr` [INFO] [stderr] --> src/pf.rs:1187:14 [INFO] [stderr] | [INFO] [stderr] 1187 | const fn iowr(group: char, num: libc::c_ulong, len: usize) -> libc::c_ulong [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `DIOCRADDTABLES` [INFO] [stderr] --> src/pf.rs:1192:5 [INFO] [stderr] | [INFO] [stderr] 1192 | const DIOCRADDTABLES: libc::c_ulong = Self::iowr('D', 61, std::mem::size_of::()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `DIOCRADDADDRS` [INFO] [stderr] --> src/pf.rs:1193:5 [INFO] [stderr] | [INFO] [stderr] 1193 | const DIOCRADDADDRS: libc::c_ulong = Self::iowr('D', 67, std::mem::size_of::()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `DIOCRDELADDRS` [INFO] [stderr] --> src/pf.rs:1194:5 [INFO] [stderr] | [INFO] [stderr] 1194 | const DIOCRDELADDRS: libc::c_ulong = Self::iowr('D', 68, std::mem::size_of::()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `DIOCRTSTADDRS` [INFO] [stderr] --> src/pf.rs:1195:5 [INFO] [stderr] | [INFO] [stderr] 1195 | const DIOCRTSTADDRS: libc::c_ulong = Self::iowr('D', 73, std::mem::size_of::()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `DIOCKILLSTATES` [INFO] [stderr] --> src/pf.rs:1196:5 [INFO] [stderr] | [INFO] [stderr] 1196 | const DIOCKILLSTATES: libc::c_ulong = Self::iowr('D', 41, std::mem::size_of::()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `PFR_TFLAG_PERSIST` [INFO] [stderr] --> src/pf.rs:1211:5 [INFO] [stderr] | [INFO] [stderr] 1211 | const PFR_TFLAG_PERSIST: libc::c_uint = 0x00000001; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `PFR_TFLAG_CONST` [INFO] [stderr] --> src/pf.rs:1212:5 [INFO] [stderr] | [INFO] [stderr] 1212 | const PFR_TFLAG_CONST: libc::c_uint = 0x00000002; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `PFR_TFLAG_ACTIVE` [INFO] [stderr] --> src/pf.rs:1213:5 [INFO] [stderr] | [INFO] [stderr] 1213 | const PFR_TFLAG_ACTIVE: libc::c_uint = 0x00000004; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `PFR_TFLAG_INACTIVE` [INFO] [stderr] --> src/pf.rs:1214:5 [INFO] [stderr] | [INFO] [stderr] 1214 | const PFR_TFLAG_INACTIVE: libc::c_uint = 0x00000008; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `PFR_TFLAG_REFERENCED` [INFO] [stderr] --> src/pf.rs:1215:5 [INFO] [stderr] | [INFO] [stderr] 1215 | const PFR_TFLAG_REFERENCED: libc::c_uint = 0x00000010; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `PFR_TFLAG_REFDANCHOR` [INFO] [stderr] --> src/pf.rs:1216:5 [INFO] [stderr] | [INFO] [stderr] 1216 | const PFR_TFLAG_REFDANCHOR: libc::c_uint = 0x00000020; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `PFR_TFLAG_COUNTERS` [INFO] [stderr] --> src/pf.rs:1217:5 [INFO] [stderr] | [INFO] [stderr] 1217 | const PFR_TFLAG_COUNTERS: libc::c_uint = 0x00000040; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/pf.rs:1219:15 [INFO] [stderr] | [INFO] [stderr] 1219 | unsafe fn new(pfrt_name: &str) -> PfResult [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pfr_add_tables` [INFO] [stderr] --> src/pf.rs:1243:15 [INFO] [stderr] | [INFO] [stderr] 1243 | unsafe fn pfr_add_tables(&mut self, fd: libc::c_int, size: libc::c_int, nadd: &mut libc::c_int, flags: libc::c_int, test: bool) -> Pf... [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pfr_add_addrs` [INFO] [stderr] --> src/pf.rs:1270:15 [INFO] [stderr] | [INFO] [stderr] 1270 | unsafe fn pfr_add_addrs( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pfr_del_addrs` [INFO] [stderr] --> src/pf.rs:1310:15 [INFO] [stderr] | [INFO] [stderr] 1310 | unsafe fn pfr_del_addrs(&mut self, fd: libc::c_int, mut b: PfrBuffer, ndel: &mut libc::c_int, flags: libc::c_int) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pfr_tst_addrs` [INFO] [stderr] --> src/pf.rs:1336:15 [INFO] [stderr] | [INFO] [stderr] 1336 | unsafe fn pfr_tst_addrs(&mut self, fd: libc::c_int, mut b: PfrBuffer, nmatch: &mut libc::c_int, flags: libc::c_int) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `create_table` [INFO] [stderr] --> src/pf.rs:1362:15 [INFO] [stderr] | [INFO] [stderr] 1362 | unsafe fn create_table(&mut self, fd: libc::c_int, test: bool) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_addrs` [INFO] [stderr] --> src/pf.rs:1382:15 [INFO] [stderr] | [INFO] [stderr] 1382 | unsafe fn add_addrs(&mut self, fd: libc::c_int, b: PfrBuffer, test: bool) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `del_addrs` [INFO] [stderr] --> src/pf.rs:1396:15 [INFO] [stderr] | [INFO] [stderr] 1396 | unsafe fn del_addrs(&mut self, fd: libc::c_int, b: PfrBuffer) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tst_addrs` [INFO] [stderr] --> src/pf.rs:1410:15 [INFO] [stderr] | [INFO] [stderr] 1410 | unsafe fn tst_addrs(&mut self, fd: libc::c_int, b: PfrBuffer) -> PfResult [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pfrb_type` [INFO] [stderr] --> src/pf.rs:1431:5 [INFO] [stderr] | [INFO] [stderr] 1431 | pfrb_type: Pfrb, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/pf.rs:1450:8 [INFO] [stderr] | [INFO] [stderr] 1450 | fn new(pfrb_type: Pfrb) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `append_addr` [INFO] [stderr] --> src/pf.rs:1458:15 [INFO] [stderr] | [INFO] [stderr] 1458 | unsafe fn append_addr<'pfcmd>(&mut self, s: &'pfcmd str, is_test: libc::c_int) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load_addr_from_str` [INFO] [stderr] --> src/pf.rs:1487:15 [INFO] [stderr] | [INFO] [stderr] 1487 | unsafe fn load_addr_from_str>(&mut self, s: H, is_test: libc::c_int) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load_addr_from_file` [INFO] [stderr] --> src/pf.rs:1503:15 [INFO] [stderr] | [INFO] [stderr] 1503 | unsafe fn load_addr_from_file>(&mut self, path: P, is_test: libc::c_int) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pfr_buf_add` [INFO] [stderr] --> src/pf.rs:1578:8 [INFO] [stderr] | [INFO] [stderr] 1578 | fn pfr_buf_add(&mut self, addr: pfr_addr) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `append_addr_host` [INFO] [stderr] --> src/pf.rs:1592:15 [INFO] [stderr] | [INFO] [stderr] 1592 | unsafe fn append_addr_host(&mut self, vn: Vec, is_test: libc::c_int, not: libc::c_int) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `fd` [INFO] [stderr] --> src/pf.rs:1618:5 [INFO] [stderr] | [INFO] [stderr] 1618 | fd: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `test` [INFO] [stderr] --> src/pf.rs:1619:5 [INFO] [stderr] | [INFO] [stderr] 1619 | test: bool [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pfctl_kill_state` [INFO] [stderr] --> src/pf.rs:1644:15 [INFO] [stderr] | [INFO] [stderr] 1644 | unsafe fn pfctl_kill_state>(&self, src: H, dest: Option) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pfctl_table` [INFO] [stderr] --> src/pf.rs:1649:15 [INFO] [stderr] | [INFO] [stderr] 1649 | unsafe fn pfctl_table>(&self, table_name: T, cmd: PfCmd) -> PfResult<()> [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `PfListTokenizer` [INFO] [stderr] --> src/pf_tokenizer.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | pub(crate) struct PfListTokenizer<'token> [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_str` [INFO] [stderr] --> src/pf_tokenizer.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn from_str(text_buf: &'token str) -> PfResult> [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `move_next` [INFO] [stderr] --> src/pf_tokenizer.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | fn move_next(&mut self) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_cur_char` [INFO] [stderr] --> src/pf_tokenizer.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 83 | fn get_cur_char(&self) -> Option [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `foresee_char` [INFO] [stderr] --> src/pf_tokenizer.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 89 | fn foresee_char(&mut self) -> Option [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_eof` [INFO] [stderr] --> src/pf_tokenizer.rs:99:8 [INFO] [stderr] | [INFO] [stderr] 99 | fn is_eof(&mut self) -> bool [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_next` [INFO] [stderr] --> src/pf_tokenizer.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn read_next(&mut self) -> PfResult> [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `htonl` [INFO] [stderr] --> src/portable/net.rs:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn htonl(x: u32) -> u32 [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ntohl` [INFO] [stderr] --> src/portable/net.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn ntohl(x: u32) -> u32 [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `IOCPARM_LEN` should have a snake case name [INFO] [stderr] --> src/pf.rs:1171:8 [INFO] [stderr] | [INFO] [stderr] 1171 | fn IOCPARM_LEN(x: libc::c_ulong) -> libc::c_ulong [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `iocparm_len` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `IOCBASECMD` should have a snake case name [INFO] [stderr] --> src/pf.rs:1176:8 [INFO] [stderr] | [INFO] [stderr] 1176 | fn IOCBASECMD(x: libc::c_ulong) -> libc::c_ulong [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `iocbasecmd` [INFO] [stderr] [INFO] [stderr] warning: method `IOCGROUP` should have a snake case name [INFO] [stderr] --> src/pf.rs:1181:8 [INFO] [stderr] | [INFO] [stderr] 1181 | fn IOCGROUP(x: libc::c_uint) -> libc::c_uint [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `iocgroup` [INFO] [stderr] [INFO] [stderr] warning: `pf-rs` (lib) generated 108 warnings [INFO] [stderr] warning: `pf-rs` (lib test) generated 52 warnings (52 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pf_rs-cca998ee0596f362) [INFO] [stdout] running 12 tests [INFO] [stdout] test pf::test_set_ipmask ... ok [INFO] [stdout] test pf::test_set_ipmask_cidr ... ok [INFO] [stdout] test pf::test_unmask ... ok [INFO] [stdout] test pf_tokenizer::test ... ok [INFO] [stdout] test pf::fake_test_add ... ok [INFO] [stdout] test pf::fake_test_real_kill_state ... ok [INFO] [stdout] test pf::fake_test2_add ... ok [INFO] [stdout] test pf::test_real_del ... FAILED [INFO] [stdout] test pf::test_struct_sizes ... FAILED [INFO] [stdout] test pf::test_real_check ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] test pf::test_kill_state ... FAILED [INFO] [stdout] test pf::test_real_add ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- pf::test_real_del stdout ---- [INFO] [stdout] thread 'pf::test_real_del' panicked at 'called `Result::unwrap()` on an `Err` value: open() failed path /dev/pf err: ENOENT: No such file or directory', src/pf.rs:1739:29 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e9a823db8d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e9a823db8d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e9a823db8d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e9a823db8d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e9a82631ac - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e9a8238468 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e9a823fe67 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e9a823fe67 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e9a823fe67 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e9a823fb9c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e9a82405b9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e9a82402a7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e9a823e054 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e9a823ffb9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e9a81c4133 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e9a81c4223 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e9a81d3f6d - core::result::Result::unwrap::h95baf7afbc2d563b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e9a81d0cd4 - pf_rs::pf::test_real_del::h5e088d7ae052f19e [INFO] [stdout] at /opt/rustwide/workdir/src/pf.rs:1739:14 [INFO] [stdout] 18: 0x55e9a81d0c9a - pf_rs::pf::test_real_del::{{closure}}::h11817db448ea5178 [INFO] [stdout] at /opt/rustwide/workdir/src/pf.rs:1737:1 [INFO] [stdout] 19: 0x55e9a81d6f9e - core::ops::function::FnOnce::call_once::hf69bcf049f262c61 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55e9a820a793 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e9a820a793 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55e9a8209474 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x55e9a8209474 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55e9a8209474 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55e9a8209474 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55e9a8209474 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55e9a8209474 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55e9a8209474 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55e9a8212d91 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55e9a8212d91 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55e9a81df40f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55e9a81df40f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55e9a81df40f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55e9a81df40f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55e9a81df40f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55e9a81df40f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55e9a81df40f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55e9a82462f3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x55e9a82462f3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x55e9a82462f3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fe5a79dd609 - start_thread [INFO] [stdout] 42: 0x7fe5a77ab163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- pf::test_struct_sizes stdout ---- [INFO] [stdout] sizeof(struct pfioc_table = 1104) ?= 1104 [INFO] [stdout] sizeof(struct pfr_table = 1064) ?= 1064 [INFO] [stdout] sizeof(struct pfioc_state_kill = 224) ?= 224 [INFO] [stdout] sizeof(psk.psk_af) = 2 [INFO] [stdout] thread 'pf::test_struct_sizes' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `1`, [INFO] [stdout] right: `2`', src/pf.rs:1794:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e9a823db8d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e9a823db8d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e9a823db8d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e9a823db8d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e9a82631ac - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e9a8238468 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e9a823fe67 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e9a823fe67 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e9a823fe67 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e9a823fb9c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e9a82405b9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e9a82402a7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e9a823e054 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e9a823ffb9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e9a81c4133 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e9a8261d68 - core::panicking::assert_failed_inner::hbaac70a629215a04 [INFO] [stdout] 16: 0x55e9a821f44a - core::panicking::assert_failed::h07409d7c4184c1e0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x55e9a81d16d5 - pf_rs::pf::test_struct_sizes::hb45947410ec10976 [INFO] [stdout] at /opt/rustwide/workdir/src/pf.rs:1794:5 [INFO] [stdout] 18: 0x55e9a81d11da - pf_rs::pf::test_struct_sizes::{{closure}}::h2aada48029e3fa6c [INFO] [stdout] at /opt/rustwide/workdir/src/pf.rs:1777:1 [INFO] [stdout] 19: 0x55e9a81d6f5e - core::ops::function::FnOnce::call_once::he82e366838ce2967 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55e9a820a793 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e9a820a793 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55e9a8209474 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x55e9a8209474 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55e9a8209474 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55e9a8209474 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55e9a8209474 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55e9a8209474 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55e9a8209474 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55e9a8212d91 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55e9a8212d91 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55e9a81df40f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55e9a81df40f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55e9a81df40f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55e9a81df40f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55e9a81df40f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55e9a81df40f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55e9a81df40f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55e9a82462f3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x55e9a82462f3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x55e9a82462f3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fe5a79dd609 - start_thread [INFO] [stdout] 42: 0x7fe5a77ab163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- pf::test_real_check stdout ---- [INFO] [stdout] thread 'pf::test_real_check' panicked at 'called `Result::unwrap()` on an `Err` value: open() failed path /dev/pf err: ENOENT: No such file or directory', src/pf.rs:1731:29 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e9a823db8d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e9a823db8d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e9a823db8d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e9a823db8d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e9a82631ac - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e9a8238468 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e9a823fe67 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e9a823fe67 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e9a823fe67 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e9a823fb9c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e9a82405b9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e9a82402a7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e9a823e054 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e9a823ffb9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e9a81c4133 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e9a81c4223 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e9a81d3f6d - core::result::Result::unwrap::h95baf7afbc2d563b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e9a81d0b74 - pf_rs::pf::test_real_check::h6b108ea8f2d8d458 [INFO] [stdout] at /opt/rustwide/workdir/src/pf.rs:1731:14 [INFO] [stdout] 18: 0x55e9a81d0b3a - pf_rs::pf::test_real_check::{{closure}}::h6114234635042013 [INFO] [stdout] at /opt/rustwide/workdir/src/pf.rs:1729:1 [INFO] [stdout] 19: 0x55e9a81d6dfe - core::ops::function::FnOnce::call_once::h8f3f1ab2c59e4bc6 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55e9a820a793 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e9a820a793 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55e9a8209474 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x55e9a8209474 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55e9a8209474 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55e9a8209474 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55e9a8209474 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55e9a8209474 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55e9a8209474 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55e9a8212d91 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55e9a8212d91 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55e9a81df40f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55e9a81df40f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55e9a81df40f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55e9a81df40f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55e9a81df40f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55e9a81df40f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55e9a81df40f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55e9a82462f3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x55e9a82462f3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x55e9a82462f3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fe5a79dd609 - start_thread [INFO] [stdout] 42: 0x7fe5a77ab163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- pf::test_kill_state stdout ---- [INFO] [stdout] thread 'pf::test_kill_state' panicked at 'called `Result::unwrap()` on an `Err` value: open() failed path /dev/pf err: ENOENT: No such file or directory', src/pf.rs:1747:29 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e9a823db8d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e9a823db8d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e9a823db8d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e9a823db8d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e9a82631ac - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e9a8238468 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e9a823fe67 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e9a823fe67 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e9a823fe67 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e9a823fb9c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e9a82405b9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e9a82402a7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e9a823e054 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e9a823ffb9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e9a81c4133 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e9a81c4223 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e9a81d3f6d - core::result::Result::unwrap::h95baf7afbc2d563b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e9a81d0e31 - pf_rs::pf::test_kill_state::hc2a84b8f03a7a102 [INFO] [stdout] at /opt/rustwide/workdir/src/pf.rs:1747:14 [INFO] [stdout] 18: 0x55e9a81d0dfa - pf_rs::pf::test_kill_state::{{closure}}::h66fd2b84f844f264 [INFO] [stdout] at /opt/rustwide/workdir/src/pf.rs:1745:1 [INFO] [stdout] 19: 0x55e9a81d6d3e - core::ops::function::FnOnce::call_once::h315b2c291a88e563 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55e9a820a793 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e9a820a793 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55e9a8209474 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x55e9a8209474 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55e9a8209474 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55e9a8209474 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55e9a8209474 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55e9a8209474 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55e9a8209474 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55e9a8212d91 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55e9a8212d91 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55e9a81df40f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55e9a81df40f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55e9a81df40f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55e9a81df40f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55e9a81df40f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55e9a81df40f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55e9a81df40f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55e9a82462f3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x55e9a82462f3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x55e9a82462f3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fe5a79dd609 - start_thread [INFO] [stdout] 42: 0x7fe5a77ab163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- pf::test_real_add stdout ---- [INFO] [stdout] thread 'pf::test_real_add' panicked at 'called `Result::unwrap()` on an `Err` value: open() failed path /dev/pf err: ENOENT: No such file or directory', src/pf.rs:1723:29 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e9a823db8d - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e9a823db8d - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e9a823db8d - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55e9a823db8d - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55e9a82631ac - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55e9a8238468 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55e9a823fe67 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55e9a823fe67 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55e9a823fe67 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55e9a823fb9c - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55e9a82405b9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55e9a82402a7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55e9a823e054 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55e9a823ffb9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55e9a81c4133 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55e9a81c4223 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55e9a81d3f6d - core::result::Result::unwrap::h95baf7afbc2d563b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x55e9a81d0a14 - pf_rs::pf::test_real_add::h43e03fa6d2b107c4 [INFO] [stdout] at /opt/rustwide/workdir/src/pf.rs:1723:14 [INFO] [stdout] 18: 0x55e9a81d09da - pf_rs::pf::test_real_add::{{closure}}::h841df299d1659db0 [INFO] [stdout] at /opt/rustwide/workdir/src/pf.rs:1721:1 [INFO] [stdout] 19: 0x55e9a81d6ede - core::ops::function::FnOnce::call_once::hbcaa50f096f240d3 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55e9a820a793 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e9a820a793 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55e9a8209474 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x55e9a8209474 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55e9a8209474 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55e9a8209474 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55e9a8209474 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55e9a8209474 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55e9a8209474 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55e9a8212d91 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55e9a8212d91 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55e9a81df40f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55e9a81df40f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55e9a81df40f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55e9a81df40f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55e9a81df40f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55e9a81df40f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55e9a81df40f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55e9a82462f3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x55e9a82462f3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x55e9a82462f3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fe5a79dd609 - start_thread [INFO] [stdout] 42: 0x7fe5a77ab163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] pf::test_kill_state [INFO] [stdout] pf::test_real_add [INFO] [stdout] pf::test_real_check [INFO] [stdout] pf::test_real_del [INFO] [stdout] pf::test_struct_sizes [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ab64fee92741ee0ff80fee2fd841781919b6eee748d18f8ec39deaa3178ae5b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab64fee92741ee0ff80fee2fd841781919b6eee748d18f8ec39deaa3178ae5b0", kill_on_drop: false }` [INFO] [stdout] ab64fee92741ee0ff80fee2fd841781919b6eee748d18f8ec39deaa3178ae5b0