[INFO] cloning repository https://github.com/crisbermud/pqc_sma_for_pon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crisbermud/pqc_sma_for_pon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrisbermud%2Fpqc_sma_for_pon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrisbermud%2Fpqc_sma_for_pon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df32f690a928ddf73bf4ed02342a1da0c239faf2 [INFO] checking crisbermud/pqc_sma_for_pon/df32f690a928ddf73bf4ed02342a1da0c239faf2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrisbermud%2Fpqc_sma_for_pon" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crisbermud/pqc_sma_for_pon on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/crisbermud/pqc_sma_for_pon [INFO] finished tweaking git repo https://github.com/crisbermud/pqc_sma_for_pon [INFO] tweaked toml for git repo https://github.com/crisbermud/pqc_sma_for_pon written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/crisbermud/pqc_sma_for_pon 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-fsm v0.6.1 [INFO] [stderr] Downloaded serde_bare v0.5.0 [INFO] [stderr] Downloaded rust-fsm-dsl v0.6.1 [INFO] [stderr] Downloaded float_extras v0.1.6 [INFO] [stderr] Downloaded ed25519 v2.2.1 [INFO] [stderr] Downloaded skiplist v0.4.0 [INFO] [stderr] Downloaded quantogram v0.4.4 [INFO] [stderr] Downloaded const-oid v0.9.2 [INFO] [stderr] Downloaded der v0.7.6 [INFO] [stderr] Downloaded ed25519-dalek v2.0.0-rc.2 [INFO] [stderr] Downloaded x25519-dalek v2.0.0-rc.2 [INFO] [stderr] Downloaded pqc_kyber v0.6.0 [INFO] [stderr] Downloaded curve25519-dalek v4.0.0-rc.2 [INFO] [stderr] Downloaded fiat-crypto v0.1.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74d5d202f90ca0adcffc7c07e40f71c433548c7cb6f4ccf8484a249769754900 [INFO] running `Command { std: "docker" "start" "-a" "74d5d202f90ca0adcffc7c07e40f71c433548c7cb6f4ccf8484a249769754900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74d5d202f90ca0adcffc7c07e40f71c433548c7cb6f4ccf8484a249769754900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74d5d202f90ca0adcffc7c07e40f71c433548c7cb6f4ccf8484a249769754900", kill_on_drop: false }` [INFO] [stdout] 74d5d202f90ca0adcffc7c07e40f71c433548c7cb6f4ccf8484a249769754900 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4113065f258dbf29abdbf32a8054b4a47c7a24dc718afd8af9d548df18e8b0b [INFO] running `Command { std: "docker" "start" "-a" "f4113065f258dbf29abdbf32a8054b4a47c7a24dc718afd8af9d548df18e8b0b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling platforms v3.0.2 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Checking signature v2.1.0 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Compiling pqc_kyber v0.6.0 [INFO] [stderr] Checking ed25519 v2.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling curve25519-dalek v4.0.0-rc.2 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking float_extras v0.1.6 [INFO] [stderr] Checking cpu-time v1.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking skiplist v0.4.0 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking quantogram v0.4.4 [INFO] [stderr] Compiling rust-fsm-dsl v0.6.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking rust-fsm v0.6.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking ed25519-dalek v2.0.0-rc.2 [INFO] [stderr] Checking x25519-dalek v2.0.0-rc.2 [INFO] [stderr] Checking serde_bare v0.5.0 [INFO] [stderr] Checking pqc_pon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `AES_CMAC_128` should have an upper camel case name [INFO] [stdout] --> src/omci/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | AES_CMAC_128 = 1, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AesCmac128` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HMAC_SHA_256` should have an upper camel case name [INFO] [stdout] --> src/omci/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | HMAC_SHA_256 = 2, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HmacSha256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HMAC_SHA_512` should have an upper camel case name [INFO] [stdout] --> src/omci/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | HMAC_SHA_512 = 3, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HmacSha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DHE_ED25519` should have an upper camel case name [INFO] [stdout] --> src/omci/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | DHE_ED25519 = 4, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DheEd25519` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AES_CMAC_128` should have an upper camel case name [INFO] [stdout] --> src/omci/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | AES_CMAC_128 = 1, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AesCmac128` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HMAC_SHA_256` should have an upper camel case name [INFO] [stdout] --> src/omci/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | HMAC_SHA_256 = 2, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HmacSha256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `HMAC_SHA_512` should have an upper camel case name [INFO] [stdout] --> src/omci/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | HMAC_SHA_512 = 3, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HmacSha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DHE_ED25519` should have an upper camel case name [INFO] [stdout] --> src/omci/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | DHE_ED25519 = 4, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DheEd25519` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | fn set_olt_random_challenge(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:121:44 [INFO] [stdout] | [INFO] [stdout] 121 | fn set_olt_challenge_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:130:49 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_onu_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | fn set_olt_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | fn set_olt_result_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:148:48 [INFO] [stdout] | [INFO] [stdout] 148 | fn get_onu_authentication_state(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | fn get_master_session_key_name(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:172:46 [INFO] [stdout] | [INFO] [stdout] 172 | fn get_olt_crypto_capabilites(&mut self, ctx: &mut CryptoContext) -> HashSet { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:183:44 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_olt_challenge_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:186:44 [INFO] [stdout] | [INFO] [stdout] 186 | fn set_onu_random_challenge(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:189:49 [INFO] [stdout] | [INFO] [stdout] 189 | fn set_onu_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:203:49 [INFO] [stdout] | [INFO] [stdout] 203 | fn get_olt_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:206:41 [INFO] [stdout] | [INFO] [stdout] 206 | fn get_olt_result_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | fn set_onu_authentication_state(&mut self, ctx: &mut CryptoContext, state: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:212:47 [INFO] [stdout] | [INFO] [stdout] 212 | fn set_master_session_key_name(&mut self, ctx: &mut CryptoContext, msk_name: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | fn set_olt_random_challenge(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 57 | fn set_olt_challenge_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:78:49 [INFO] [stdout] | [INFO] [stdout] 78 | fn get_onu_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | fn set_olt_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/omci/auth_kyber.rs:92:74 [INFO] [stdout] | [INFO] [stdout] 92 | fn set_olt_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn set_olt_result_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | fn get_onu_authentication_state(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:104:47 [INFO] [stdout] | [INFO] [stdout] 104 | fn get_master_session_key_name(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:129:46 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_olt_crypto_capabilites(&mut self, ctx: &mut CryptoContext) -> HashSet { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_olt_challenge_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | fn set_onu_random_challenge(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | fn set_onu_authentication_result(&mut self, ctx: &mut CryptoContext, _: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:171:49 [INFO] [stdout] | [INFO] [stdout] 171 | fn get_olt_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:176:41 [INFO] [stdout] | [INFO] [stdout] 176 | fn get_olt_result_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:181:48 [INFO] [stdout] | [INFO] [stdout] 181 | fn set_onu_authentication_state(&mut self, ctx: &mut CryptoContext, state: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:185:47 [INFO] [stdout] | [INFO] [stdout] 185 | fn set_master_session_key_name(&mut self, ctx: &mut CryptoContext, msk_name: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:108:44 [INFO] [stdout] | [INFO] [stdout] 108 | fn set_olt_challenge_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | fn get_onu_random_challenge(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:116:49 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_onu_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:129:49 [INFO] [stdout] | [INFO] [stdout] 129 | fn set_olt_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/omci/auth_25519.rs:129:74 [INFO] [stdout] | [INFO] [stdout] 129 | fn set_olt_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 133 | fn set_olt_result_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:137:48 [INFO] [stdout] | [INFO] [stdout] 137 | fn get_onu_authentication_state(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:141:47 [INFO] [stdout] | [INFO] [stdout] 141 | fn get_master_session_key_name(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:148:46 [INFO] [stdout] | [INFO] [stdout] 148 | fn get_olt_crypto_capabilites(&mut self, ctx: &mut CryptoContext) -> HashSet { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:159:44 [INFO] [stdout] | [INFO] [stdout] 159 | fn get_olt_challenge_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | fn set_onu_random_challenge(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:167:49 [INFO] [stdout] | [INFO] [stdout] 167 | fn set_onu_authentication_result(&mut self, ctx: &mut CryptoContext, _data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:183:49 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_olt_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:187:41 [INFO] [stdout] | [INFO] [stdout] 187 | fn get_olt_result_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | fn set_onu_authentication_state(&mut self, ctx: &mut CryptoContext, state: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:195:47 [INFO] [stdout] | [INFO] [stdout] 195 | fn set_master_session_key_name(&mut self, ctx: &mut CryptoContext, msk_name: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | fn set_olt_random_challenge(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:121:44 [INFO] [stdout] | [INFO] [stdout] 121 | fn set_olt_challenge_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:130:49 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_onu_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:141:49 [INFO] [stdout] | [INFO] [stdout] 141 | fn set_olt_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | fn set_olt_result_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:148:48 [INFO] [stdout] | [INFO] [stdout] 148 | fn get_onu_authentication_state(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | fn get_master_session_key_name(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:172:46 [INFO] [stdout] | [INFO] [stdout] 172 | fn get_olt_crypto_capabilites(&mut self, ctx: &mut CryptoContext) -> HashSet { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:183:44 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_olt_challenge_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:186:44 [INFO] [stdout] | [INFO] [stdout] 186 | fn set_onu_random_challenge(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:189:49 [INFO] [stdout] | [INFO] [stdout] 189 | fn set_onu_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:203:49 [INFO] [stdout] | [INFO] [stdout] 203 | fn get_olt_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:206:41 [INFO] [stdout] | [INFO] [stdout] 206 | fn get_olt_result_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | fn set_onu_authentication_state(&mut self, ctx: &mut CryptoContext, state: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_hmac.rs:212:47 [INFO] [stdout] | [INFO] [stdout] 212 | fn set_master_session_key_name(&mut self, ctx: &mut CryptoContext, msk_name: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AES_CMAC_128` and `HMAC_SHA_512` are never constructed [INFO] [stdout] --> src/omci/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum CryptoCapability { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 20 | AES_CMAC_128 = 1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | HMAC_SHA_256 = 2, [INFO] [stdout] 22 | HMAC_SHA_512 = 3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoCapability` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc_msk` is never used [INFO] [stdout] --> src/omci/auth_hmac.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl AuthFunctionHMAC256 { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn calc_msk(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | fn set_olt_random_challenge(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 57 | fn set_olt_challenge_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:78:49 [INFO] [stdout] | [INFO] [stdout] 78 | fn get_onu_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | fn set_olt_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/omci/auth_kyber.rs:92:74 [INFO] [stdout] | [INFO] [stdout] 92 | fn set_olt_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn set_olt_result_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | fn get_onu_authentication_state(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:104:47 [INFO] [stdout] | [INFO] [stdout] 104 | fn get_master_session_key_name(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:129:46 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_olt_crypto_capabilites(&mut self, ctx: &mut CryptoContext) -> HashSet { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:143:44 [INFO] [stdout] | [INFO] [stdout] 143 | fn get_olt_challenge_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | fn set_onu_random_challenge(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | fn set_onu_authentication_result(&mut self, ctx: &mut CryptoContext, _: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:171:49 [INFO] [stdout] | [INFO] [stdout] 171 | fn get_olt_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:176:41 [INFO] [stdout] | [INFO] [stdout] 176 | fn get_olt_result_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:181:48 [INFO] [stdout] | [INFO] [stdout] 181 | fn set_onu_authentication_state(&mut self, ctx: &mut CryptoContext, state: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_kyber.rs:185:47 [INFO] [stdout] | [INFO] [stdout] 185 | fn set_master_session_key_name(&mut self, ctx: &mut CryptoContext, msk_name: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:108:44 [INFO] [stdout] | [INFO] [stdout] 108 | fn set_olt_challenge_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | fn get_onu_random_challenge(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:116:49 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_onu_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:129:49 [INFO] [stdout] | [INFO] [stdout] 129 | fn set_olt_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/omci/auth_25519.rs:129:74 [INFO] [stdout] | [INFO] [stdout] 129 | fn set_olt_authentication_result(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 133 | fn set_olt_result_status(&mut self, ctx: &mut CryptoContext, status: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:137:48 [INFO] [stdout] | [INFO] [stdout] 137 | fn get_onu_authentication_state(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:141:47 [INFO] [stdout] | [INFO] [stdout] 141 | fn get_master_session_key_name(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:148:46 [INFO] [stdout] | [INFO] [stdout] 148 | fn get_olt_crypto_capabilites(&mut self, ctx: &mut CryptoContext) -> HashSet { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:159:44 [INFO] [stdout] | [INFO] [stdout] 159 | fn get_olt_challenge_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | fn set_onu_random_challenge(&mut self, ctx: &mut CryptoContext, data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:167:49 [INFO] [stdout] | [INFO] [stdout] 167 | fn set_onu_authentication_result(&mut self, ctx: &mut CryptoContext, _data: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | ctx: &mut CryptoContext, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:183:49 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_olt_authentication_result(&mut self, ctx: &mut CryptoContext) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:187:41 [INFO] [stdout] | [INFO] [stdout] 187 | fn get_olt_result_status(&mut self, ctx: &mut CryptoContext) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | fn set_onu_authentication_state(&mut self, ctx: &mut CryptoContext, state: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/omci/auth_25519.rs:195:47 [INFO] [stdout] | [INFO] [stdout] 195 | fn set_master_session_key_name(&mut self, ctx: &mut CryptoContext, msk_name: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AES_CMAC_128` and `HMAC_SHA_512` are never constructed [INFO] [stdout] --> src/omci/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum CryptoCapability { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 20 | AES_CMAC_128 = 1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | HMAC_SHA_256 = 2, [INFO] [stdout] 22 | HMAC_SHA_512 = 3, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoCapability` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc_msk` is never used [INFO] [stdout] --> src/omci/auth_hmac.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl AuthFunctionHMAC256 { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn calc_msk(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.78s [INFO] running `Command { std: "docker" "inspect" "f4113065f258dbf29abdbf32a8054b4a47c7a24dc718afd8af9d548df18e8b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4113065f258dbf29abdbf32a8054b4a47c7a24dc718afd8af9d548df18e8b0b", kill_on_drop: false }` [INFO] [stdout] f4113065f258dbf29abdbf32a8054b4a47c7a24dc718afd8af9d548df18e8b0b