[INFO] cloning repository https://github.com/garyttierney/libsepolrs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/garyttierney/libsepolrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaryttierney%2Flibsepolrs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaryttierney%2Flibsepolrs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 83b1e107f7328c9906417b6423def7c22d78ec13
[INFO] checking garyttierney/libsepolrs/83b1e107f7328c9906417b6423def7c22d78ec13 against master#b3bd7058c139e71bae0862ef8f8ac936208873e9 for pr-123752
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaryttierney%2Flibsepolrs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/garyttierney/libsepolrs on toolchain b3bd7058c139e71bae0862ef8f8ac936208873e9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/garyttierney/libsepolrs
[INFO] finished tweaking git repo https://github.com/garyttierney/libsepolrs
[INFO] tweaked toml for git repo https://github.com/garyttierney/libsepolrs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/garyttierney/libsepolrs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded which v1.0.5
[INFO] [stderr]   Downloaded proc-macro2 v0.3.5
[INFO] [stderr]   Downloaded wincolor v1.0.0
[INFO] [stderr]   Downloaded cfg-if v0.1.4
[INFO] [stderr]   Downloaded aho-corasick v0.6.6
[INFO] [stderr]   Downloaded humantime v1.1.1
[INFO] [stderr]   Downloaded cexpr v0.2.3
[INFO] [stderr]   Downloaded env_logger v0.5.11
[INFO] [stderr]   Downloaded log v0.4.3
[INFO] [stderr]   Downloaded cc v1.0.18
[INFO] [stderr]   Downloaded clang-sys v0.23.0
[INFO] [stderr]   Downloaded termcolor v1.0.1
[INFO] [stderr]   Downloaded regex-syntax v0.6.2
[INFO] [stderr]   Downloaded regex v1.0.2
[INFO] [stderr]   Downloaded bindgen v0.37.4
[INFO] [stderr]   Downloaded croaring v0.3.5
[INFO] [stderr]   Downloaded croaring-sys v0.3.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 425c58769ef731e0198442d3e807dda202eb90c17f73c1a581649a5d1ed28b87
[INFO] running `Command { std: "docker" "start" "-a" "425c58769ef731e0198442d3e807dda202eb90c17f73c1a581649a5d1ed28b87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "425c58769ef731e0198442d3e807dda202eb90c17f73c1a581649a5d1ed28b87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "425c58769ef731e0198442d3e807dda202eb90c17f73c1a581649a5d1ed28b87", kill_on_drop: false }`
[INFO] [stdout] 425c58769ef731e0198442d3e807dda202eb90c17f73c1a581649a5d1ed28b87
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e724f60f3b5ea5953200f0b9f176ced2d3bc1879d7e6f0d0365be2596cdd5a82
[INFO] running `Command { std: "docker" "start" "-a" "e724f60f3b5ea5953200f0b9f176ced2d3bc1879d7e6f0d0365be2596cdd5a82", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.42
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling cc v1.0.18
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling regex v1.0.2
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling cfg-if v0.1.4
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling regex-syntax v0.6.2
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling proc-macro2 v0.3.5
[INFO] [stderr]    Compiling humantime v1.1.1
[INFO] [stderr]    Compiling log v0.4.3
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling clang-sys v0.23.0
[INFO] [stderr]    Compiling memchr v1.0.2
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling aho-corasick v0.6.6
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling nom v3.2.1
[INFO] [stderr]    Compiling bindgen v0.37.4
[INFO] [stderr]    Compiling termcolor v1.0.1
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling quote v0.5.2
[INFO] [stderr]    Compiling which v1.0.5
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]     Checking itertools v0.7.8
[INFO] [stderr]    Compiling cexpr v0.2.3
[INFO] [stderr]     Checking byteorder v1.2.3
[INFO] [stderr]    Compiling env_logger v0.5.11
[INFO] [stderr]    Compiling croaring-sys v0.3.5
[INFO] [stderr]     Checking croaring v0.3.5
[INFO] [stderr]     Checking sepolrs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/bitmap.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/class.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/cons.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/mls.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/policydb/mls.rs:37:41
[INFO] [stdout]    |
[INFO] [stdout] 37 |             categories.add_range_closed((low..high))
[INFO] [stdout]    |                                         ^         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 37 -             categories.add_range_closed((low..high))
[INFO] [stdout] 37 +             categories.add_range_closed(low..high)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/polcap.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/policydb/profile.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/policydb/profile.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Read` is imported redundantly
[INFO] [stdout]   --> src/policydb/reader.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 | use policydb::*;
[INFO] [stdout]    |     ----------- the item `Read` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/role.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::PolicyType`
[INFO] [stdout]  --> src/policydb/role.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use policydb::PolicyType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/symtable.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::PolicyReadError`
[INFO] [stdout]  --> src/policydb/symtable.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use policydb::PolicyReadError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::PolicyReader`
[INFO] [stdout]  --> src/policydb/symtable.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use policydb::PolicyReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/policydb/symtable.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/ty.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/user.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/bitmap.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/class.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/cons.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/mls.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(nll)]
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]   --> src/policydb/mls.rs:37:41
[INFO] [stdout]    |
[INFO] [stdout] 37 |             categories.add_range_closed((low..high))
[INFO] [stdout]    |                                         ^         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 37 -             categories.add_range_closed((low..high))
[INFO] [stdout] 37 +             categories.add_range_closed(low..high)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/polcap.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/policydb/profile.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/policydb/profile.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Read` is imported redundantly
[INFO] [stdout]   --> src/policydb/reader.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 | use policydb::*;
[INFO] [stdout]    |     ----------- the item `Read` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/role.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::PolicyType`
[INFO] [stdout]  --> src/policydb/role.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use policydb::PolicyType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/symtable.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::PolicyReadError`
[INFO] [stdout]  --> src/policydb/symtable.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use policydb::PolicyReadError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::PolicyReader`
[INFO] [stdout]  --> src/policydb/symtable.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use policydb::PolicyReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/policydb/symtable.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/ty.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `policydb::CompatibilityProfile`
[INFO] [stdout]  --> src/policydb/user.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use policydb::CompatibilityProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(nll)]
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items2`
[INFO] [stdout]   --> src/policydb/avtab.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 let items2 /*???*/ = reader.read_u32()?;
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_items2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map_size`
[INFO] [stdout]   --> src/policydb/bitmap.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let map_size = reader.read_u32()?;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `high_bit`
[INFO] [stdout]   --> src/policydb/bitmap.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let high_bit = reader.read_u32()?;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_high_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map_idx`
[INFO] [stdout]   --> src/policydb/bitmap.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         for map_idx in 0..map_count {
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_perm_names`
[INFO] [stdout]   --> src/policydb/class.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let num_perm_names = reader.read_u32()?;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_perm_names`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `el`
[INFO] [stdout]   --> src/policydb/reader.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         for el in 0..nel {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_el`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `profile`
[INFO] [stdout]   --> src/policydb/reader.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let profile = self.profile();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `profile`
[INFO] [stdout]    --> src/policydb/reader.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let profile = self.profile();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/policydb/reader.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let config = self.read_u32()?;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_sym_tables`
[INFO] [stdout]    --> src/policydb/reader.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let num_sym_tables = self.read_u32()?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_sym_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_ocon_tables`
[INFO] [stdout]    --> src/policydb/reader.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let num_ocon_tables = self.read_u32()?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_ocon_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `permissive_type_map`
[INFO] [stdout]    --> src/policydb/reader.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let permissive_type_map: Option<Bitmap> =
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissive_type_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bounds`
[INFO] [stdout]   --> src/policydb/role.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let bounds = if reader.profile().supports(Feature::Boundary) {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `capacity`
[INFO] [stdout]   --> src/policydb/symtable.rs:22:26
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn with_capacity(capacity: usize) -> Self {
[INFO] [stdout]    |                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items2`
[INFO] [stdout]   --> src/policydb/avtab.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 let items2 /*???*/ = reader.read_u32()?;
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_items2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map_size`
[INFO] [stdout]   --> src/policydb/bitmap.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let map_size = reader.read_u32()?;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `high_bit`
[INFO] [stdout]   --> src/policydb/bitmap.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let high_bit = reader.read_u32()?;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_high_bit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map_idx`
[INFO] [stdout]   --> src/policydb/bitmap.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         for map_idx in 0..map_count {
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_perm_names`
[INFO] [stdout]   --> src/policydb/class.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let num_perm_names = reader.read_u32()?;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_perm_names`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `permissive`
[INFO] [stdout]   --> src/policydb/ty.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |             let permissive = properties.contains(TyProperties::Permissive);
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `role_set`
[INFO] [stdout]   --> src/policydb/user.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let role_set: RoleSet = reader.read_object()?;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_role_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `profile`
[INFO] [stdout]   --> src/policydb/mod.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |         profile: &CompatibilityProfile,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut policy_reader = PolicyReader::new(file_reader);
[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: field `avtab` is never read
[INFO] [stdout]   --> src/policydb/mod.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct Policy {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     avtab: AccessVectorTable,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Policy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `av` are never read
[INFO] [stdout]   --> src/policydb/avtab.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct AccessVectorTableEntry {
[INFO] [stdout]    |            ---------------------- fields in this struct
[INFO] [stdout] 59 |     key: AccessVectorTableKey,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 60 |     av: AccessVector,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AccessVectorTableEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `entries` is never read
[INFO] [stdout]   --> src/policydb/avtab.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct AccessVectorTable {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 65 |     entries: Vec<AccessVectorTableEntry>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AccessVectorTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/policydb/class.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Class {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     common_name: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 59 |     permissions: SymbolTable<Permission>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 60 |     constraints: Vec<Constraint>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 61 |     transition_constraints: Vec<Constraint>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 62 |     default_user: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 63 |     default_role: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 64 |     default_range: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 65 |     default_type: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Class` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `flags` is never read
[INFO] [stdout]   --> src/policydb/conditional.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Boolean {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     flags: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Boolean` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `permissions` and `expressions` are never read
[INFO] [stdout]   --> src/policydb/cons.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Constraint {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 19 |     pub(crate) permissions: u32,
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout] 20 |     pub(crate) expressions: Vec<ConstraintExpression>,
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `op`, `attr`, and `kind` are never read
[INFO] [stdout]   --> src/policydb/cons.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct ConstraintExpression {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 36 |     pub(crate) op: u32,
[INFO] [stdout]    |                ^^
[INFO] [stdout] 37 |     pub(crate) attr: u32,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 38 |     pub(crate) kind: ConstraintExpressionKind,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConstraintExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sensitivity` and `categories` are never read
[INFO] [stdout]   --> src/policydb/mls.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct MlsLevel {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 11 |     sensitivity: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     categories: Bitmap,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MlsLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `low` and `high` are never read
[INFO] [stdout]   --> src/policydb/mls.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct MlsRange {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 49 |     low: MlsLevel,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 50 |     high: MlsLevel,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MlsRange` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `level` and `is_alias` are never read
[INFO] [stdout]   --> src/policydb/mls.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub struct Sensitivity {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 92 |     level: MlsLevel,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 93 |     is_alias: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sensitivity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_alias` is never read
[INFO] [stdout]    --> src/policydb/mls.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub struct Category {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 126 |     is_alias: bool,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Category` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_BASE` is never used
[INFO] [stdout]  --> src/policydb/profile.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const POLICYDB_VERSION_BASE: u32 = 15;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_BOOL` is never used
[INFO] [stdout]  --> src/policydb/profile.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const POLICYDB_VERSION_BOOL: u32 = 16;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_IPV6` is never used
[INFO] [stdout]  --> src/policydb/profile.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const POLICYDB_VERSION_IPV6: u32 = 17;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_NLCLASS` is never used
[INFO] [stdout]  --> src/policydb/profile.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const POLICYDB_VERSION_NLCLASS: u32 = 18;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_RANGETRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const POLICYDB_VERSION_RANGETRANS: u32 = 21;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_FILENAME_TRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const POLICYDB_VERSION_FILENAME_TRANS: u32 = 25;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_ROLETRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const POLICYDB_VERSION_ROLETRANS: u32 = 26;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_CONSTRAINT_NAMES` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const POLICYDB_VERSION_CONSTRAINT_NAMES: u32 = 29;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_XEN_DEVICETREE` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const POLICYDB_VERSION_XEN_DEVICETREE: u32 = 30;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_INFINIBAND` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const POLICYDB_VERSION_INFINIBAND: u32 = 31;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_BASE` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const MOD_POLICYDB_VERSION_BASE: u32 = 4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_RANGETRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const MOD_POLICYDB_VERSION_RANGETRANS: u32 = 6;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_FILENAME_TRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const MOD_POLICYDB_VERSION_FILENAME_TRANS: u32 = 11;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_ROLETRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const MOD_POLICYDB_VERSION_ROLETRANS: u32 = 12;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_ROLEATTRIB` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 | const MOD_POLICYDB_VERSION_ROLEATTRIB: u32 = 13;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_CONSTRAINT_NAMES` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | const MOD_POLICYDB_VERSION_CONSTRAINT_NAMES: u32 = 17;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_INFINIBAND` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | const MOD_POLICYDB_VERSION_INFINIBAND: u32 = 19;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Platform` is never constructed
[INFO] [stdout]   --> src/policydb/profile.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | enum FeatureRequirement {
[INFO] [stdout]    |      ------------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 50 |     Platform(PolicyTargetPlatform),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `platform` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 |         fn platform(platform: PolicyTargetPlatform) -> FeatureRequirement {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `dominates`, `type_set`, `flavor`, and `roles` are never read
[INFO] [stdout]   --> src/policydb/role.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Role {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     dominates: Bitmap,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 17 |     type_set: TypeSet,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     flavor: Option<u32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 19 |     roles: Option<Bitmap>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Role` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `primary`, `flavor`, `flags`, `bounds`, and `assoc_types` are never read
[INFO] [stdout]   --> src/policydb/ty.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Type {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     primary: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 40 |     flavor: Option<u32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 41 |     flags: TyFlags,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 42 |     bounds: Option<u32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 43 |     assoc_types: Option<Bitmap>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bounds` is never read
[INFO] [stdout]   --> src/policydb/user.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct User {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     bounds: Option<u32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONFIG_MLS_ENABLED` is never used
[INFO] [stdout]   --> src/policydb/mod.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub(crate) const CONFIG_MLS_ENABLED: u32 = 0x00000001;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONFIG_REJECT_UNKNOWN` is never used
[INFO] [stdout]   --> src/policydb/mod.rs:41:22
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub(crate) const CONFIG_REJECT_UNKNOWN: u32 = 0x00000002;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONFIG_ALLOW_UNKNOWN` is never used
[INFO] [stdout]   --> src/policydb/mod.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub(crate) const CONFIG_ALLOW_UNKNOWN: u32 = 0x00000004;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `Primary` should have an upper case name
[INFO] [stdout]   --> src/policydb/ty.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |         const Primary = 0x0001;
[INFO] [stdout]    |               ^^^^^^^ help: convert the identifier to upper case: `PRIMARY`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `Attribute` should have an upper case name
[INFO] [stdout]   --> src/policydb/ty.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 |         const Attribute    = 0x0002;
[INFO] [stdout]    |               ^^^^^^^^^ help: convert the identifier to upper case: `ATTRIBUTE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `Alias` should have an upper case name
[INFO] [stdout]   --> src/policydb/ty.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |         const Alias    = 0x0004;/* userspace only */
[INFO] [stdout]    |               ^^^^^ help: convert the identifier to upper case: `ALIAS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `Permissive` should have an upper case name
[INFO] [stdout]   --> src/policydb/ty.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |         const Permissive = 0x0008    ;/* userspace only */
[INFO] [stdout]    |               ^^^^^^^^^^ help: convert the identifier to upper case: `PERMISSIVE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `Permissive` should have an upper case name
[INFO] [stdout]   --> src/policydb/ty.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |         const Permissive = 0x0001;
[INFO] [stdout]    |               ^^^^^^^^^^ help: convert the identifier to upper case: `PERMISSIVE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `el`
[INFO] [stdout]   --> src/policydb/reader.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         for el in 0..nel {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_el`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `profile`
[INFO] [stdout]   --> src/policydb/reader.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let profile = self.profile();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `profile`
[INFO] [stdout]    --> src/policydb/reader.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let profile = self.profile();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 77 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/policydb/reader.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let config = self.read_u32()?;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_sym_tables`
[INFO] [stdout]    --> src/policydb/reader.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let num_sym_tables = self.read_u32()?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_sym_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_ocon_tables`
[INFO] [stdout]    --> src/policydb/reader.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let num_ocon_tables = self.read_u32()?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_ocon_tables`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `permissive_type_map`
[INFO] [stdout]    --> src/policydb/reader.rs:160:13
[INFO] [stdout]     |
[INFO] [stdout] 160 |         let permissive_type_map: Option<Bitmap> =
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissive_type_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bounds`
[INFO] [stdout]   --> src/policydb/role.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let bounds = if reader.profile().supports(Feature::Boundary) {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `capacity`
[INFO] [stdout]   --> src/policydb/symtable.rs:22:26
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn with_capacity(capacity: usize) -> Self {
[INFO] [stdout]    |                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `permissive`
[INFO] [stdout]   --> src/policydb/ty.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |             let permissive = properties.contains(TyProperties::Permissive);
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permissive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `role_set`
[INFO] [stdout]   --> src/policydb/user.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let role_set: RoleSet = reader.read_object()?;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_role_set`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `profile`
[INFO] [stdout]   --> src/policydb/mod.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |         profile: &CompatibilityProfile,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut policy_reader = PolicyReader::new(file_reader);
[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: field `avtab` is never read
[INFO] [stdout]   --> src/policydb/mod.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct Policy {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     avtab: AccessVectorTable,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Policy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `av` are never read
[INFO] [stdout]   --> src/policydb/avtab.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct AccessVectorTableEntry {
[INFO] [stdout]    |            ---------------------- fields in this struct
[INFO] [stdout] 59 |     key: AccessVectorTableKey,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 60 |     av: AccessVector,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AccessVectorTableEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `entries` is never read
[INFO] [stdout]   --> src/policydb/avtab.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct AccessVectorTable {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 65 |     entries: Vec<AccessVectorTableEntry>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AccessVectorTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/policydb/class.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Class {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     common_name: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 59 |     permissions: SymbolTable<Permission>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 60 |     constraints: Vec<Constraint>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 61 |     transition_constraints: Vec<Constraint>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 62 |     default_user: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 63 |     default_role: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 64 |     default_range: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 65 |     default_type: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Class` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `flags` is never read
[INFO] [stdout]   --> src/policydb/conditional.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Boolean {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     flags: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Boolean` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `permissions` and `expressions` are never read
[INFO] [stdout]   --> src/policydb/cons.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Constraint {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 19 |     pub(crate) permissions: u32,
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout] 20 |     pub(crate) expressions: Vec<ConstraintExpression>,
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Constraint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `op`, `attr`, and `kind` are never read
[INFO] [stdout]   --> src/policydb/cons.rs:36:16
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct ConstraintExpression {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] 36 |     pub(crate) op: u32,
[INFO] [stdout]    |                ^^
[INFO] [stdout] 37 |     pub(crate) attr: u32,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 38 |     pub(crate) kind: ConstraintExpressionKind,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConstraintExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sensitivity` and `categories` are never read
[INFO] [stdout]   --> src/policydb/mls.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct MlsLevel {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 11 |     sensitivity: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 12 |     categories: Bitmap,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MlsLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `low` and `high` are never read
[INFO] [stdout]   --> src/policydb/mls.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct MlsRange {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 49 |     low: MlsLevel,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 50 |     high: MlsLevel,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MlsRange` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `level` and `is_alias` are never read
[INFO] [stdout]   --> src/policydb/mls.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub struct Sensitivity {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 92 |     level: MlsLevel,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 93 |     is_alias: bool,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sensitivity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_alias` is never read
[INFO] [stdout]    --> src/policydb/mls.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub struct Category {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 126 |     is_alias: bool,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Category` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_BASE` is never used
[INFO] [stdout]  --> src/policydb/profile.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const POLICYDB_VERSION_BASE: u32 = 15;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_BOOL` is never used
[INFO] [stdout]  --> src/policydb/profile.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const POLICYDB_VERSION_BOOL: u32 = 16;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_IPV6` is never used
[INFO] [stdout]  --> src/policydb/profile.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const POLICYDB_VERSION_IPV6: u32 = 17;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_NLCLASS` is never used
[INFO] [stdout]  --> src/policydb/profile.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const POLICYDB_VERSION_NLCLASS: u32 = 18;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_RANGETRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const POLICYDB_VERSION_RANGETRANS: u32 = 21;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_FILENAME_TRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const POLICYDB_VERSION_FILENAME_TRANS: u32 = 25;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_ROLETRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const POLICYDB_VERSION_ROLETRANS: u32 = 26;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_CONSTRAINT_NAMES` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const POLICYDB_VERSION_CONSTRAINT_NAMES: u32 = 29;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_XEN_DEVICETREE` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const POLICYDB_VERSION_XEN_DEVICETREE: u32 = 30;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `POLICYDB_VERSION_INFINIBAND` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const POLICYDB_VERSION_INFINIBAND: u32 = 31;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_BASE` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const MOD_POLICYDB_VERSION_BASE: u32 = 4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_RANGETRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 | const MOD_POLICYDB_VERSION_RANGETRANS: u32 = 6;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_FILENAME_TRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const MOD_POLICYDB_VERSION_FILENAME_TRANS: u32 = 11;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_ROLETRANS` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:36:7
[INFO] [stdout]    |
[INFO] [stdout] 36 | const MOD_POLICYDB_VERSION_ROLETRANS: u32 = 12;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_ROLEATTRIB` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 | const MOD_POLICYDB_VERSION_ROLEATTRIB: u32 = 13;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_CONSTRAINT_NAMES` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | const MOD_POLICYDB_VERSION_CONSTRAINT_NAMES: u32 = 17;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MOD_POLICYDB_VERSION_INFINIBAND` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | const MOD_POLICYDB_VERSION_INFINIBAND: u32 = 19;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Platform` is never constructed
[INFO] [stdout]   --> src/policydb/profile.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | enum FeatureRequirement {
[INFO] [stdout]    |      ------------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 50 |     Platform(PolicyTargetPlatform),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `platform` is never used
[INFO] [stdout]   --> src/policydb/profile.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 |         fn platform(platform: PolicyTargetPlatform) -> FeatureRequirement {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `dominates`, `type_set`, `flavor`, and `roles` are never read
[INFO] [stdout]   --> src/policydb/role.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Role {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     dominates: Bitmap,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 17 |     type_set: TypeSet,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     flavor: Option<u32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 19 |     roles: Option<Bitmap>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Role` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `primary`, `flavor`, `flags`, `bounds`, and `assoc_types` are never read
[INFO] [stdout]   --> src/policydb/ty.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Type {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 39 |     primary: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 40 |     flavor: Option<u32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 41 |     flags: TyFlags,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 42 |     bounds: Option<u32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 43 |     assoc_types: Option<Bitmap>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bounds` is never read
[INFO] [stdout]   --> src/policydb/user.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct User {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     bounds: Option<u32>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONFIG_MLS_ENABLED` is never used
[INFO] [stdout]   --> src/policydb/mod.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub(crate) const CONFIG_MLS_ENABLED: u32 = 0x00000001;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONFIG_REJECT_UNKNOWN` is never used
[INFO] [stdout]   --> src/policydb/mod.rs:41:22
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub(crate) const CONFIG_REJECT_UNKNOWN: u32 = 0x00000002;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONFIG_ALLOW_UNKNOWN` is never used
[INFO] [stdout]   --> src/policydb/mod.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub(crate) const CONFIG_ALLOW_UNKNOWN: u32 = 0x00000004;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `Primary` should have an upper case name
[INFO] [stdout]   --> src/policydb/ty.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |         const Primary = 0x0001;
[INFO] [stdout]    |               ^^^^^^^ help: convert the identifier to upper case: `PRIMARY`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `Attribute` should have an upper case name
[INFO] [stdout]   --> src/policydb/ty.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 |         const Attribute    = 0x0002;
[INFO] [stdout]    |               ^^^^^^^^^ help: convert the identifier to upper case: `ATTRIBUTE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `Alias` should have an upper case name
[INFO] [stdout]   --> src/policydb/ty.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |         const Alias    = 0x0004;/* userspace only */
[INFO] [stdout]    |               ^^^^^ help: convert the identifier to upper case: `ALIAS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `Permissive` should have an upper case name
[INFO] [stdout]   --> src/policydb/ty.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |         const Permissive = 0x0008    ;/* userspace only */
[INFO] [stdout]    |               ^^^^^^^^^^ help: convert the identifier to upper case: `PERMISSIVE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant `Permissive` should have an upper case name
[INFO] [stdout]   --> src/policydb/ty.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |         const Permissive = 0x0001;
[INFO] [stdout]    |               ^^^^^^^^^^ help: convert the identifier to upper case: `PERMISSIVE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 77 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.24s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "e724f60f3b5ea5953200f0b9f176ced2d3bc1879d7e6f0d0365be2596cdd5a82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e724f60f3b5ea5953200f0b9f176ced2d3bc1879d7e6f0d0365be2596cdd5a82", kill_on_drop: false }`
[INFO] [stdout] e724f60f3b5ea5953200f0b9f176ced2d3bc1879d7e6f0d0365be2596cdd5a82
