[INFO] cloning repository https://github.com/tecposter/crypto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tecposter/crypto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftecposter%2Fcrypto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftecposter%2Fcrypto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc28d0272bbff6511553c7b88d8bfb5ae66eb848 [INFO] testing tecposter/crypto against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftecposter%2Fcrypto" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tecposter/crypto [INFO] finished tweaking git repo https://github.com/tecposter/crypto [INFO] tweaked toml for git repo https://github.com/tecposter/crypto written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tecposter/crypto on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tecposter/crypto 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15ddaaf7e49695ad512598cb3b7c37823852244056f81bb415ab3291f0a119a4 [INFO] running `Command { std: "docker" "start" "-a" "15ddaaf7e49695ad512598cb3b7c37823852244056f81bb415ab3291f0a119a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15ddaaf7e49695ad512598cb3b7c37823852244056f81bb415ab3291f0a119a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15ddaaf7e49695ad512598cb3b7c37823852244056f81bb415ab3291f0a119a4", kill_on_drop: false }` [INFO] [stdout] 15ddaaf7e49695ad512598cb3b7c37823852244056f81bb415ab3291f0a119a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2fc027bfe07046f28151cacf3b8c19f195ccf42d88ef3bd2eb5b2e9680dbfaef [INFO] running `Command { std: "docker" "start" "-a" "2fc027bfe07046f28151cacf3b8c19f195ccf42d88ef3bd2eb5b2e9680dbfaef", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling gf256 v0.1.0 (/opt/rustwide/workdir/gf256) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> gf256/src/field.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::poly::{self, poly_mul, Poly}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GFU8<'_>` is more private than the item `GF256::u8` [INFO] [stdout] --> gf256/src/field.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GF256::u8` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GFU8<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> gf256/src/field.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | struct GFU8<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GFU8<'_>` is more private than the item `GF256::elem` [INFO] [stdout] --> gf256/src/field.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GF256::elem` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GFU8<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> gf256/src/field.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | struct GFU8<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `p` is never read [INFO] [stdout] --> gf256/src/field.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GF256 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | p: Poly, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `GF256` 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: associated items `new`, `u8`, and `elem` are never used [INFO] [stdout] --> gf256/src/field.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl GF256 { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(p: Poly) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `val` is never used [INFO] [stdout] --> gf256/src/field.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a> GFU8<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 46 | pub fn val(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POLY_COUNT` is never used [INFO] [stdout] --> gf256/src/poly.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const POLY_COUNT: usize = 30; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> gf256/src/poly.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Poly { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 9 | Poly11b = 0, // 11b = 1 0001 1011 = x^8 + x^4 + x^3 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | Poly11d, // 11d = 1 0001 1101 = x^8 + x^4 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Poly12b, // 12b = 1 0010 1011 = x^8 + x^5 + x^3 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | Poly12d, // 12d = 1 0010 1101 = x^8 + x^5 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Poly139, // 139 = 1 0011 1001 = x^8 + x^5 + x^4 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Poly13f, // 13f = 1 0011 1111 = x^8 + x^5 + x^4 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Poly14d, // 14d = 1 0100 1101 = x^8 + x^6 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | Poly15f, // 15f = 1 0101 1111 = x^8 + x^6 + x^4 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Poly163, // 163 = 1 0110 0011 = x^8 + x^6 + x^5 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | Poly165, // 165 = 1 0110 0101 = x^8 + x^6 + x^5 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Poly169, // 169 = 1 0110 1001 = x^8 + x^6 + x^5 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Poly171, // 171 = 1 0111 0001 = x^8 + x^6 + x^5 + x^4 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Poly177, // 177 = 1 0111 0111 = x^8 + x^6 + x^5 + x^4 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | Poly17b, // 17b = 1 0111 1011 = x^8 + x^6 + x^5 + x^4 + x^3 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Poly187, // 187 = 1 1000 0111 = x^8 + x^7 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | Poly18b, // 18b = 1 1000 1011 = x^8 + x^7 + x^3 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | Poly18d, // 18d = 1 1000 1101 = x^8 + x^7 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | Poly19f, // 19f = 1 1001 1111 = x^8 + x^7 + x^4 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | Poly1a3, // 1a3 = 1 1010 0011 = x^8 + x^7 + x^5 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | Poly1a9, // 1a9 = 1 1010 1001 = x^8 + x^7 + x^5 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | Poly1b1, // 1b1 = 1 1011 0001 = x^8 + x^7 + x^5 + x^4 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | Poly1bd, // 1bd = 1 1011 1101 = x^8 + x^7 + x^5 + x^4 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | Poly1c3, // 1c3 = 1 1100 0011 = x^8 + x^7 + x^6 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Poly1cf, // 1cf = 1 1100 1111 = x^8 + x^7 + x^6 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | Poly1d7, // 1d7 = 1 1101 0111 = x^8 + x^7 + x^6 + x^4 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | Poly1dd, // 1dd = 1 1101 1101 = x^8 + x^7 + x^6 + x^4 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | Poly1e7, // 1e7 = 1 1110 0111 = x^8 + x^7 + x^6 + x^5 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | Poly1f3, // 1f3 = 1 1111 0011 = x^8 + x^7 + x^6 + x^5 + x^4 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | Poly1f5, // 1f5 = 1 1111 0101 = x^8 + x^7 + x^6 + x^5 + x^4 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | Poly1f9, // 1f9 = 1 1111 1001 = x^8 + x^7 + x^6 + x^5 + x^4 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Poly` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRIMITIVES` is never used [INFO] [stdout] --> gf256/src/poly.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const PRIMITIVES: [u8; POLY_COUNT] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENERATORS` is never used [INFO] [stdout] --> gf256/src/poly.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const GENERATORS: [u8; POLY_COUNT] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generator` is never used [INFO] [stdout] --> gf256/src/poly.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 50 | impl Poly { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 51 | pub fn generator(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poly_mul` is never used [INFO] [stdout] --> gf256/src/poly.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn poly_mul(mut x: u8, mut y: u8, p: Poly) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> gf256/src/field.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn u8(&self, x: u8) -> GFU8<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> gf256/src/field.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "2fc027bfe07046f28151cacf3b8c19f195ccf42d88ef3bd2eb5b2e9680dbfaef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc027bfe07046f28151cacf3b8c19f195ccf42d88ef3bd2eb5b2e9680dbfaef", kill_on_drop: false }` [INFO] [stdout] 2fc027bfe07046f28151cacf3b8c19f195ccf42d88ef3bd2eb5b2e9680dbfaef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 883e094244642b19aa7590e1b7bcc03ea8e297a6903c782cfeffe7756e39601a [INFO] running `Command { std: "docker" "start" "-a" "883e094244642b19aa7590e1b7bcc03ea8e297a6903c782cfeffe7756e39601a", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> gf256/src/field.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::poly::{self, poly_mul, Poly}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GFU8<'_>` is more private than the item `GF256::u8` [INFO] [stdout] --> gf256/src/field.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GF256::u8` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GFU8<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> gf256/src/field.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | struct GFU8<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GFU8<'_>` is more private than the item `GF256::elem` [INFO] [stdout] --> gf256/src/field.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GF256::elem` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GFU8<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> gf256/src/field.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | struct GFU8<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `p` is never read [INFO] [stdout] --> gf256/src/field.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GF256 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | p: Poly, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `GF256` 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: associated items `new`, `u8`, and `elem` are never used [INFO] [stdout] --> gf256/src/field.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl GF256 { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(p: Poly) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `val` is never used [INFO] [stdout] --> gf256/src/field.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a> GFU8<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 46 | pub fn val(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POLY_COUNT` is never used [INFO] [stdout] --> gf256/src/poly.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const POLY_COUNT: usize = 30; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> gf256/src/poly.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Poly { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 9 | Poly11b = 0, // 11b = 1 0001 1011 = x^8 + x^4 + x^3 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | Poly11d, // 11d = 1 0001 1101 = x^8 + x^4 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Poly12b, // 12b = 1 0010 1011 = x^8 + x^5 + x^3 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | Poly12d, // 12d = 1 0010 1101 = x^8 + x^5 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Poly139, // 139 = 1 0011 1001 = x^8 + x^5 + x^4 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Poly13f, // 13f = 1 0011 1111 = x^8 + x^5 + x^4 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Poly14d, // 14d = 1 0100 1101 = x^8 + x^6 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | Poly15f, // 15f = 1 0101 1111 = x^8 + x^6 + x^4 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Poly163, // 163 = 1 0110 0011 = x^8 + x^6 + x^5 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | Poly165, // 165 = 1 0110 0101 = x^8 + x^6 + x^5 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Poly169, // 169 = 1 0110 1001 = x^8 + x^6 + x^5 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Poly171, // 171 = 1 0111 0001 = x^8 + x^6 + x^5 + x^4 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Poly177, // 177 = 1 0111 0111 = x^8 + x^6 + x^5 + x^4 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | Poly17b, // 17b = 1 0111 1011 = x^8 + x^6 + x^5 + x^4 + x^3 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Poly187, // 187 = 1 1000 0111 = x^8 + x^7 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | Poly18b, // 18b = 1 1000 1011 = x^8 + x^7 + x^3 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | Poly18d, // 18d = 1 1000 1101 = x^8 + x^7 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | Poly19f, // 19f = 1 1001 1111 = x^8 + x^7 + x^4 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | Poly1a3, // 1a3 = 1 1010 0011 = x^8 + x^7 + x^5 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | Poly1a9, // 1a9 = 1 1010 1001 = x^8 + x^7 + x^5 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | Poly1b1, // 1b1 = 1 1011 0001 = x^8 + x^7 + x^5 + x^4 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | Poly1bd, // 1bd = 1 1011 1101 = x^8 + x^7 + x^5 + x^4 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | Poly1c3, // 1c3 = 1 1100 0011 = x^8 + x^7 + x^6 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Poly1cf, // 1cf = 1 1100 1111 = x^8 + x^7 + x^6 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | Poly1d7, // 1d7 = 1 1101 0111 = x^8 + x^7 + x^6 + x^4 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | Poly1dd, // 1dd = 1 1101 1101 = x^8 + x^7 + x^6 + x^4 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | Poly1e7, // 1e7 = 1 1110 0111 = x^8 + x^7 + x^6 + x^5 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | Poly1f3, // 1f3 = 1 1111 0011 = x^8 + x^7 + x^6 + x^5 + x^4 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | Poly1f5, // 1f5 = 1 1111 0101 = x^8 + x^7 + x^6 + x^5 + x^4 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | Poly1f9, // 1f9 = 1 1111 1001 = x^8 + x^7 + x^6 + x^5 + x^4 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Poly` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRIMITIVES` is never used [INFO] [stdout] --> gf256/src/poly.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const PRIMITIVES: [u8; POLY_COUNT] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENERATORS` is never used [INFO] [stdout] --> gf256/src/poly.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | const GENERATORS: [u8; POLY_COUNT] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generator` is never used [INFO] [stdout] --> gf256/src/poly.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 50 | impl Poly { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 51 | pub fn generator(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gf256 v0.1.0 (/opt/rustwide/workdir/gf256) [INFO] [stdout] warning: function `poly_mul` is never used [INFO] [stdout] --> gf256/src/poly.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn poly_mul(mut x: u8, mut y: u8, p: Poly) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> gf256/src/field.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn u8(&self, x: u8) -> GFU8<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> gf256/src/field.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> gf256/src/field.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::poly::{self, poly_mul, Poly}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GFU8<'_>` is more private than the item `field::GF256::u8` [INFO] [stdout] --> gf256/src/field.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `field::GF256::u8` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GFU8<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> gf256/src/field.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | struct GFU8<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GFU8<'_>` is more private than the item `field::GF256::elem` [INFO] [stdout] --> gf256/src/field.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `field::GF256::elem` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GFU8<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> gf256/src/field.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | struct GFU8<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `p` is never read [INFO] [stdout] --> gf256/src/field.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GF256 { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | p: Poly, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `GF256` 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: method `elem` is never used [INFO] [stdout] --> gf256/src/field.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl GF256 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> gf256/src/poly.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Poly { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 9 | Poly11b = 0, // 11b = 1 0001 1011 = x^8 + x^4 + x^3 + x + 1 [INFO] [stdout] 10 | Poly11d, // 11d = 1 0001 1101 = x^8 + x^4 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Poly12b, // 12b = 1 0010 1011 = x^8 + x^5 + x^3 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | Poly12d, // 12d = 1 0010 1101 = x^8 + x^5 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Poly139, // 139 = 1 0011 1001 = x^8 + x^5 + x^4 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Poly13f, // 13f = 1 0011 1111 = x^8 + x^5 + x^4 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Poly14d, // 14d = 1 0100 1101 = x^8 + x^6 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | Poly15f, // 15f = 1 0101 1111 = x^8 + x^6 + x^4 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | Poly163, // 163 = 1 0110 0011 = x^8 + x^6 + x^5 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | Poly165, // 165 = 1 0110 0101 = x^8 + x^6 + x^5 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Poly169, // 169 = 1 0110 1001 = x^8 + x^6 + x^5 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Poly171, // 171 = 1 0111 0001 = x^8 + x^6 + x^5 + x^4 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Poly177, // 177 = 1 0111 0111 = x^8 + x^6 + x^5 + x^4 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | Poly17b, // 17b = 1 0111 1011 = x^8 + x^6 + x^5 + x^4 + x^3 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Poly187, // 187 = 1 1000 0111 = x^8 + x^7 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | Poly18b, // 18b = 1 1000 1011 = x^8 + x^7 + x^3 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | Poly18d, // 18d = 1 1000 1101 = x^8 + x^7 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | Poly19f, // 19f = 1 1001 1111 = x^8 + x^7 + x^4 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | Poly1a3, // 1a3 = 1 1010 0011 = x^8 + x^7 + x^5 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | Poly1a9, // 1a9 = 1 1010 1001 = x^8 + x^7 + x^5 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | Poly1b1, // 1b1 = 1 1011 0001 = x^8 + x^7 + x^5 + x^4 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | Poly1bd, // 1bd = 1 1011 1101 = x^8 + x^7 + x^5 + x^4 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | Poly1c3, // 1c3 = 1 1100 0011 = x^8 + x^7 + x^6 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Poly1cf, // 1cf = 1 1100 1111 = x^8 + x^7 + x^6 + x^3 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | Poly1d7, // 1d7 = 1 1101 0111 = x^8 + x^7 + x^6 + x^4 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | Poly1dd, // 1dd = 1 1101 1101 = x^8 + x^7 + x^6 + x^4 + x^3 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | Poly1e7, // 1e7 = 1 1110 0111 = x^8 + x^7 + x^6 + x^5 + x^2 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | Poly1f3, // 1f3 = 1 1111 0011 = x^8 + x^7 + x^6 + x^5 + x^4 + x + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | Poly1f5, // 1f5 = 1 1111 0101 = x^8 + x^7 + x^6 + x^5 + x^4 + x^2 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | Poly1f9, // 1f9 = 1 1111 1001 = x^8 + x^7 + x^6 + x^5 + x^4 + x^3 + 1 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Poly` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> gf256/src/field.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn u8(&self, x: u8) -> GFU8<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> gf256/src/field.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn elem(&self, x: u8) -> GFU8<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "883e094244642b19aa7590e1b7bcc03ea8e297a6903c782cfeffe7756e39601a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "883e094244642b19aa7590e1b7bcc03ea8e297a6903c782cfeffe7756e39601a", kill_on_drop: false }` [INFO] [stdout] 883e094244642b19aa7590e1b7bcc03ea8e297a6903c782cfeffe7756e39601a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 614ede7adc17438a226c5c362579f29560a071e401d4ca295dffef1a7651ada8 [INFO] running `Command { std: "docker" "start" "-a" "614ede7adc17438a226c5c362579f29560a071e401d4ca295dffef1a7651ada8", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> gf256/src/field.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::poly::{self, poly_mul, Poly}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `GFU8<'_>` is more private than the item `GF256::u8` [INFO] [stderr] --> gf256/src/field.rs:27:3 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GF256::u8` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `GFU8<'_>` is only usable at visibility `pub(self)` [INFO] [stderr] --> gf256/src/field.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | struct GFU8<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `GFU8<'_>` is more private than the item `GF256::elem` [INFO] [stderr] --> gf256/src/field.rs:34:3 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `GF256::elem` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `GFU8<'_>` is only usable at visibility `pub(self)` [INFO] [stderr] --> gf256/src/field.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | struct GFU8<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `p` is never read [INFO] [stderr] --> gf256/src/field.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct GF256 { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 7 | p: Poly, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `GF256` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `u8`, and `elem` are never used [INFO] [stderr] --> gf256/src/field.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 10 | impl GF256 { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 11 | pub fn new(p: Poly) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `val` is never used [INFO] [stderr] --> gf256/src/field.rs:46:10 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 1 test [INFO] [stderr] 45 | impl<'a> GFU8<'a> { [INFO] [stdout] test field::tests::it_field_new ... ok [INFO] [stderr] | ----------------- method in this implementation [INFO] [stdout] [INFO] [stderr] 46 | pub fn val(&self) -> u8 { [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^ [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: constant `POLY_COUNT` is never used [INFO] [stderr] --> gf256/src/poly.rs:3:7 [INFO] [stderr] | [INFO] [stderr] 3 | const POLY_COUNT: usize = 30; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> gf256/src/poly.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum Poly { [INFO] [stderr] | ---- variants in this enum [INFO] [stderr] 9 | Poly11b = 0, // 11b = 1 0001 1011 = x^8 + x^4 + x^3 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 10 | Poly11d, // 11d = 1 0001 1101 = x^8 + x^4 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 11 | Poly12b, // 12b = 1 0010 1011 = x^8 + x^5 + x^3 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 12 | Poly12d, // 12d = 1 0010 1101 = x^8 + x^5 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 13 | Poly139, // 139 = 1 0011 1001 = x^8 + x^5 + x^4 + x^3 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 14 | Poly13f, // 13f = 1 0011 1111 = x^8 + x^5 + x^4 + x^3 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 15 | Poly14d, // 14d = 1 0100 1101 = x^8 + x^6 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 16 | Poly15f, // 15f = 1 0101 1111 = x^8 + x^6 + x^4 + x^3 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 17 | Poly163, // 163 = 1 0110 0011 = x^8 + x^6 + x^5 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 18 | Poly165, // 165 = 1 0110 0101 = x^8 + x^6 + x^5 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 19 | Poly169, // 169 = 1 0110 1001 = x^8 + x^6 + x^5 + x^3 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 20 | Poly171, // 171 = 1 0111 0001 = x^8 + x^6 + x^5 + x^4 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 21 | Poly177, // 177 = 1 0111 0111 = x^8 + x^6 + x^5 + x^4 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 22 | Poly17b, // 17b = 1 0111 1011 = x^8 + x^6 + x^5 + x^4 + x^3 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 23 | Poly187, // 187 = 1 1000 0111 = x^8 + x^7 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 24 | Poly18b, // 18b = 1 1000 1011 = x^8 + x^7 + x^3 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 25 | Poly18d, // 18d = 1 1000 1101 = x^8 + x^7 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 26 | Poly19f, // 19f = 1 1001 1111 = x^8 + x^7 + x^4 + x^3 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 27 | Poly1a3, // 1a3 = 1 1010 0011 = x^8 + x^7 + x^5 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 28 | Poly1a9, // 1a9 = 1 1010 1001 = x^8 + x^7 + x^5 + x^3 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 29 | Poly1b1, // 1b1 = 1 1011 0001 = x^8 + x^7 + x^5 + x^4 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 30 | Poly1bd, // 1bd = 1 1011 1101 = x^8 + x^7 + x^5 + x^4 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 31 | Poly1c3, // 1c3 = 1 1100 0011 = x^8 + x^7 + x^6 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 32 | Poly1cf, // 1cf = 1 1100 1111 = x^8 + x^7 + x^6 + x^3 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 33 | Poly1d7, // 1d7 = 1 1101 0111 = x^8 + x^7 + x^6 + x^4 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 34 | Poly1dd, // 1dd = 1 1101 1101 = x^8 + x^7 + x^6 + x^4 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 35 | Poly1e7, // 1e7 = 1 1110 0111 = x^8 + x^7 + x^6 + x^5 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 36 | Poly1f3, // 1f3 = 1 1111 0011 = x^8 + x^7 + x^6 + x^5 + x^4 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 37 | Poly1f5, // 1f5 = 1 1111 0101 = x^8 + x^7 + x^6 + x^5 + x^4 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 38 | Poly1f9, // 1f9 = 1 1111 1001 = x^8 + x^7 + x^6 + x^5 + x^4 + x^3 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Poly` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `PRIMITIVES` is never used [INFO] [stderr] --> gf256/src/poly.rs:41:7 [INFO] [stderr] | [INFO] [stderr] 41 | const PRIMITIVES: [u8; POLY_COUNT] = [ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `GENERATORS` is never used [INFO] [stderr] --> gf256/src/poly.rs:46:7 [INFO] [stderr] | [INFO] [stderr] 46 | const GENERATORS: [u8; POLY_COUNT] = [ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `generator` is never used [INFO] [stderr] --> gf256/src/poly.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 50 | impl Poly { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] 51 | pub fn generator(&self) -> u8 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `poly_mul` is never used [INFO] [stderr] --> gf256/src/poly.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn poly_mul(mut x: u8, mut y: u8, p: Poly) -> u8 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> gf256/src/field.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 27 | pub fn u8(&self, x: u8) -> GFU8<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> gf256/src/field.rs:34:15 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn elem(&self, x: u8) -> GFU8<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `gf256` (lib) generated 14 warnings (run `cargo fix --lib -p gf256` to apply 3 suggestions) [INFO] [stderr] warning: type `GFU8<'_>` is more private than the item `field::GF256::u8` [INFO] [stderr] --> gf256/src/field.rs:27:3 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn u8(&self, x: u8) -> GFU8 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `field::GF256::u8` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `GFU8<'_>` is only usable at visibility `pub(self)` [INFO] [stderr] --> gf256/src/field.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | struct GFU8<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `GFU8<'_>` is more private than the item `field::GF256::elem` [INFO] [stderr] --> gf256/src/field.rs:34:3 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `field::GF256::elem` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `GFU8<'_>` is only usable at visibility `pub(self)` [INFO] [stderr] --> gf256/src/field.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | struct GFU8<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `elem` is never used [INFO] [stderr] --> gf256/src/field.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 10 | impl GF256 { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn elem(&self, x: u8) -> GFU8 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple variants are never constructed [INFO] [stderr] --> gf256/src/poly.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum Poly { [INFO] [stderr] | ---- variants in this enum [INFO] [stderr] 9 | Poly11b = 0, // 11b = 1 0001 1011 = x^8 + x^4 + x^3 + x + 1 [INFO] [stderr] 10 | Poly11d, // 11d = 1 0001 1101 = x^8 + x^4 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 11 | Poly12b, // 12b = 1 0010 1011 = x^8 + x^5 + x^3 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 12 | Poly12d, // 12d = 1 0010 1101 = x^8 + x^5 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 13 | Poly139, // 139 = 1 0011 1001 = x^8 + x^5 + x^4 + x^3 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 14 | Poly13f, // 13f = 1 0011 1111 = x^8 + x^5 + x^4 + x^3 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 15 | Poly14d, // 14d = 1 0100 1101 = x^8 + x^6 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 16 | Poly15f, // 15f = 1 0101 1111 = x^8 + x^6 + x^4 + x^3 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 17 | Poly163, // 163 = 1 0110 0011 = x^8 + x^6 + x^5 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 18 | Poly165, // 165 = 1 0110 0101 = x^8 + x^6 + x^5 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 19 | Poly169, // 169 = 1 0110 1001 = x^8 + x^6 + x^5 + x^3 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 20 | Poly171, // 171 = 1 0111 0001 = x^8 + x^6 + x^5 + x^4 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 21 | Poly177, // 177 = 1 0111 0111 = x^8 + x^6 + x^5 + x^4 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 22 | Poly17b, // 17b = 1 0111 1011 = x^8 + x^6 + x^5 + x^4 + x^3 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 23 | Poly187, // 187 = 1 1000 0111 = x^8 + x^7 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 24 | Poly18b, // 18b = 1 1000 1011 = x^8 + x^7 + x^3 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 25 | Poly18d, // 18d = 1 1000 1101 = x^8 + x^7 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 26 | Poly19f, // 19f = 1 1001 1111 = x^8 + x^7 + x^4 + x^3 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 27 | Poly1a3, // 1a3 = 1 1010 0011 = x^8 + x^7 + x^5 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 28 | Poly1a9, // 1a9 = 1 1010 1001 = x^8 + x^7 + x^5 + x^3 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 29 | Poly1b1, // 1b1 = 1 1011 0001 = x^8 + x^7 + x^5 + x^4 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 30 | Poly1bd, // 1bd = 1 1011 1101 = x^8 + x^7 + x^5 + x^4 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 31 | Poly1c3, // 1c3 = 1 1100 0011 = x^8 + x^7 + x^6 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 32 | Poly1cf, // 1cf = 1 1100 1111 = x^8 + x^7 + x^6 + x^3 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 33 | Poly1d7, // 1d7 = 1 1101 0111 = x^8 + x^7 + x^6 + x^4 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 34 | Poly1dd, // 1dd = 1 1101 1101 = x^8 + x^7 + x^6 + x^4 + x^3 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 35 | Poly1e7, // 1e7 = 1 1110 0111 = x^8 + x^7 + x^6 + x^5 + x^2 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 36 | Poly1f3, // 1f3 = 1 1111 0011 = x^8 + x^7 + x^6 + x^5 + x^4 + x + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 37 | Poly1f5, // 1f5 = 1 1111 0101 = x^8 + x^7 + x^6 + x^5 + x^4 + x^2 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 38 | Poly1f9, // 1f9 = 1 1111 1001 = x^8 + x^7 + x^6 + x^5 + x^4 + x^3 + 1 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Poly` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `gf256` (lib test) generated 8 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gf256-42c8b5931ef664ba) [INFO] running `Command { std: "docker" "inspect" "614ede7adc17438a226c5c362579f29560a071e401d4ca295dffef1a7651ada8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "614ede7adc17438a226c5c362579f29560a071e401d4ca295dffef1a7651ada8", kill_on_drop: false }` [INFO] [stdout] 614ede7adc17438a226c5c362579f29560a071e401d4ca295dffef1a7651ada8