[INFO] cloning repository https://github.com/ul1234/nr_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ul1234/nr_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ful1234%2Fnr_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ful1234%2Fnr_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8cbf5b3023e067d08a9f096bf2649c0c86a0550 [INFO] testing ul1234/nr_rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ful1234%2Fnr_rust" "/workspace/builds/worker-36/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ul1234/nr_rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ul1234/nr_rust [INFO] finished tweaking git repo https://github.com/ul1234/nr_rust [INFO] tweaked toml for git repo https://github.com/ul1234/nr_rust written to /workspace/builds/worker-36/source/Cargo.toml [INFO] crate git repo https://github.com/ul1234/nr_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70ce9b8c3c2b65843b5edd4ee3bbb99fa3e6b8b823e019761588ebb50c33ef46 [INFO] running `Command { std: "docker" "start" "-a" "70ce9b8c3c2b65843b5edd4ee3bbb99fa3e6b8b823e019761588ebb50c33ef46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70ce9b8c3c2b65843b5edd4ee3bbb99fa3e6b8b823e019761588ebb50c33ef46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ce9b8c3c2b65843b5edd4ee3bbb99fa3e6b8b823e019761588ebb50c33ef46", kill_on_drop: false }` [INFO] [stdout] 70ce9b8c3c2b65843b5edd4ee3bbb99fa3e6b8b823e019761588ebb50c33ef46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 876f26b898f546bb1e0b99e1318972496e49a55c88d6aab9f6f6f362328bf701 [INFO] running `Command { std: "docker" "start" "-a" "876f26b898f546bb1e0b99e1318972496e49a55c88d6aab9f6f6f362328bf701", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling quote v1.0.13 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling nr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::err::Error` [INFO] [stdout] --> src/rrc_pucch.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::err::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pucch_config` [INFO] [stdout] --> src/pucch.rs:488:24 [INFO] [stdout] | [INFO] [stdout] 488 | fn dci_harq_pucch_proc(pucch_config: &PucchConfig, pucch_logic_channel: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pucch_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mult_csi_resources` [INFO] [stdout] --> src/pucch.rs:500:18 [INFO] [stdout] | [INFO] [stdout] 500 | Some(mult_csi_resources) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mult_csi_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pucch_config` [INFO] [stdout] --> src/pucch.rs:619:24 [INFO] [stdout] | [INFO] [stdout] 619 | fn harq_csi_simul_proc(pucch_config: &PucchConfig, pucch_logic_channel: &mut Vec) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pucch_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pucch_logic_channel` [INFO] [stdout] --> src/pucch.rs:619:52 [INFO] [stdout] | [INFO] [stdout] 619 | fn harq_csi_simul_proc(pucch_config: &PucchConfig, pucch_logic_channel: &mut Vec) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pucch_logic_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QAM16_BITS` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const QAM16_BITS: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QAM64_BITS` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const QAM64_BITS: u32 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QAM256_BITS` [INFO] [stdout] --> src/constants.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const QAM256_BITS: u32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `floor` [INFO] [stdout] --> src/math.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn floor(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ceil` [INFO] [stdout] --> src/math.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn ceil(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `possible_val` [INFO] [stdout] --> src/optional.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | possible_val: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Optional` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/optional.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `default_val` [INFO] [stdout] --> src/optional.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | default_val: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Optional` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/optional.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check` [INFO] [stdout] --> src/optional.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/optional.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(val: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `possible` [INFO] [stdout] --> src/optional.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn possible(&mut self, vec: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/optional.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn default(&mut self, val: T) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pucch_resource_set_for_uci` [INFO] [stdout] --> src/pucch.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | fn pucch_resource_set_for_uci(&self, o_uci: u32) -> &PucchResourceSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pucch_resource_for_uci` [INFO] [stdout] --> src/pucch.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn pucch_resource_for_uci( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HarqSps` [INFO] [stdout] --> src/pucch.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | HarqSps, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pucch.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HarqSrMulti` [INFO] [stdout] --> src/pucch.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | HarqSrMulti, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pucch.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HarqCsiMulti` [INFO] [stdout] --> src/pucch.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | HarqCsiMulti, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pucch.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CsiSrMulti` [INFO] [stdout] --> src/pucch.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | CsiSrMulti, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pucch.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HarqCsiSrMulti` [INFO] [stdout] --> src/pucch.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | HarqCsiSrMulti, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pucch.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_sr` [INFO] [stdout] --> src/macros.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | fn $name(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pucch.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | check_func!(is_sr, PucchChannelType::Sr { .. }); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_harq` [INFO] [stdout] --> src/macros.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | fn $name(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pucch.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | check_func!(is_harq, PucchChannelType::HarqDci, PucchChannelType::HarqSps); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_harq` [INFO] [stdout] --> src/macros.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | fn $name(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pucch.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | / check_func!( [INFO] [stdout] 409 | | has_harq, [INFO] [stdout] 410 | | PucchChannelType::HarqDci, [INFO] [stdout] 411 | | PucchChannelType::HarqSps, [INFO] [stdout] ... | [INFO] [stdout] 414 | | PucchChannelType::HarqCsiSrMulti [INFO] [stdout] 415 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_sr` [INFO] [stdout] --> src/pucch.rs:417:8 [INFO] [stdout] | [INFO] [stdout] 417 | fn has_sr(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_csi` [INFO] [stdout] --> src/pucch.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | fn has_csi(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_multi` [INFO] [stdout] --> src/pucch.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | fn is_multi(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.36s [INFO] running `Command { std: "docker" "inspect" "876f26b898f546bb1e0b99e1318972496e49a55c88d6aab9f6f6f362328bf701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "876f26b898f546bb1e0b99e1318972496e49a55c88d6aab9f6f6f362328bf701", kill_on_drop: false }` [INFO] [stdout] 876f26b898f546bb1e0b99e1318972496e49a55c88d6aab9f6f6f362328bf701 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44117f4e7296aeb89cda704c219e1dae8ecbc543e99dce581bdc2d71ac94e277 [INFO] running `Command { std: "docker" "start" "-a" "44117f4e7296aeb89cda704c219e1dae8ecbc543e99dce581bdc2d71ac94e277", kill_on_drop: false }` [INFO] [stderr] Compiling nr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/pucch.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::err::Error` [INFO] [stdout] --> src/rrc_pucch.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::err::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pucch_config` [INFO] [stdout] --> src/pucch.rs:488:24 [INFO] [stdout] | [INFO] [stdout] 488 | fn dci_harq_pucch_proc(pucch_config: &PucchConfig, pucch_logic_channel: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pucch_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mult_csi_resources` [INFO] [stdout] --> src/pucch.rs:500:18 [INFO] [stdout] | [INFO] [stdout] 500 | Some(mult_csi_resources) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mult_csi_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pucch_config` [INFO] [stdout] --> src/pucch.rs:619:24 [INFO] [stdout] | [INFO] [stdout] 619 | fn harq_csi_simul_proc(pucch_config: &PucchConfig, pucch_logic_channel: &mut Vec) {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pucch_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pucch_logic_channel` [INFO] [stdout] --> src/pucch.rs:619:52 [INFO] [stdout] | [INFO] [stdout] 619 | fn harq_csi_simul_proc(pucch_config: &PucchConfig, pucch_logic_channel: &mut Vec) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pucch_logic_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QAM16_BITS` [INFO] [stdout] --> src/constants.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const QAM16_BITS: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QAM64_BITS` [INFO] [stdout] --> src/constants.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const QAM64_BITS: u32 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `QAM256_BITS` [INFO] [stdout] --> src/constants.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const QAM256_BITS: u32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `floor` [INFO] [stdout] --> src/math.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn floor(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ceil` [INFO] [stdout] --> src/math.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn ceil(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `possible_val` [INFO] [stdout] --> src/optional.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | possible_val: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Optional` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/optional.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `default_val` [INFO] [stdout] --> src/optional.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | default_val: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Optional` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/optional.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check` [INFO] [stdout] --> src/optional.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn check(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/optional.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(val: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `possible` [INFO] [stdout] --> src/optional.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn possible(&mut self, vec: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/optional.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn default(&mut self, val: T) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pucch_resource_set_for_uci` [INFO] [stdout] --> src/pucch.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | fn pucch_resource_set_for_uci(&self, o_uci: u32) -> &PucchResourceSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pucch_resource_for_uci` [INFO] [stdout] --> src/pucch.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn pucch_resource_for_uci( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HarqSps` [INFO] [stdout] --> src/pucch.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | HarqSps, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pucch.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HarqSrMulti` [INFO] [stdout] --> src/pucch.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | HarqSrMulti, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pucch.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HarqCsiMulti` [INFO] [stdout] --> src/pucch.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | HarqCsiMulti, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pucch.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CsiSrMulti` [INFO] [stdout] --> src/pucch.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | CsiSrMulti, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pucch.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HarqCsiSrMulti` [INFO] [stdout] --> src/pucch.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | HarqCsiSrMulti, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/pucch.rs:388:10 [INFO] [stdout] | [INFO] [stdout] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_sr` [INFO] [stdout] --> src/macros.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | fn $name(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pucch.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | check_func!(is_sr, PucchChannelType::Sr { .. }); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_harq` [INFO] [stdout] --> src/macros.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | fn $name(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pucch.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | check_func!(is_harq, PucchChannelType::HarqDci, PucchChannelType::HarqSps); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_harq` [INFO] [stdout] --> src/macros.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | fn $name(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/pucch.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | / check_func!( [INFO] [stdout] 409 | | has_harq, [INFO] [stdout] 410 | | PucchChannelType::HarqDci, [INFO] [stdout] 411 | | PucchChannelType::HarqSps, [INFO] [stdout] ... | [INFO] [stdout] 414 | | PucchChannelType::HarqCsiSrMulti [INFO] [stdout] 415 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `check_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_sr` [INFO] [stdout] --> src/pucch.rs:417:8 [INFO] [stdout] | [INFO] [stdout] 417 | fn has_sr(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_csi` [INFO] [stdout] --> src/pucch.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | fn has_csi(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_multi` [INFO] [stdout] --> src/pucch.rs:425:8 [INFO] [stdout] | [INFO] [stdout] 425 | fn is_multi(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.10s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/nr-a9dccb166089097e) [INFO] running `Command { std: "docker" "inspect" "44117f4e7296aeb89cda704c219e1dae8ecbc543e99dce581bdc2d71ac94e277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44117f4e7296aeb89cda704c219e1dae8ecbc543e99dce581bdc2d71ac94e277", kill_on_drop: false }` [INFO] [stdout] 44117f4e7296aeb89cda704c219e1dae8ecbc543e99dce581bdc2d71ac94e277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b50e24f2b12eeccf45dc3993fc7eb127f512c91e03ec948191bb334d7fe1e5ec [INFO] running `Command { std: "docker" "start" "-a" "b50e24f2b12eeccf45dc3993fc7eb127f512c91e03ec948191bb334d7fe1e5ec", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/pucch.rs:630:9 [INFO] [stderr] | [INFO] [stderr] 630 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::err::Error` [INFO] [stderr] --> src/rrc_pucch.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::err::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pucch_config` [INFO] [stderr] --> src/pucch.rs:488:24 [INFO] [stderr] | [INFO] [stderr] 488 | fn dci_harq_pucch_proc(pucch_config: &PucchConfig, pucch_logic_channel: &mut Vec) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pucch_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mult_csi_resources` [INFO] [stderr] --> src/pucch.rs:500:18 [INFO] [stderr] | [INFO] [stderr] 500 | Some(mult_csi_resources) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mult_csi_resources` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pucch_config` [INFO] [stderr] --> src/pucch.rs:619:24 [INFO] [stderr] | [INFO] [stderr] 619 | fn harq_csi_simul_proc(pucch_config: &PucchConfig, pucch_logic_channel: &mut Vec) {} [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pucch_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pucch_logic_channel` [INFO] [stderr] --> src/pucch.rs:619:52 [INFO] [stderr] | [INFO] [stderr] 619 | fn harq_csi_simul_proc(pucch_config: &PucchConfig, pucch_logic_channel: &mut Vec) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pucch_logic_channel` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `QAM16_BITS` [INFO] [stderr] --> src/constants.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub const QAM16_BITS: u32 = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `QAM64_BITS` [INFO] [stderr] --> src/constants.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub const QAM64_BITS: u32 = 6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `QAM256_BITS` [INFO] [stderr] --> src/constants.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub const QAM256_BITS: u32 = 8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `floor` [INFO] [stderr] --> src/math.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn floor(x: u32, y: u32) -> u32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ceil` [INFO] [stderr] --> src/math.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn ceil(x: u32, y: u32) -> u32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `possible_val` [INFO] [stderr] --> src/optional.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | possible_val: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Optional` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/optional.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `default_val` [INFO] [stderr] --> src/optional.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | default_val: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Optional` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/optional.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check` [INFO] [stderr] --> src/optional.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn check(&self) -> Result<(), Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/optional.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn new(val: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `possible` [INFO] [stderr] --> src/optional.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn possible(&mut self, vec: Vec) -> &mut Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `default` [INFO] [stderr] --> src/optional.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn default(&mut self, val: T) -> &mut Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pucch_resource_set_for_uci` [INFO] [stderr] --> src/pucch.rs:293:8 [INFO] [stderr] | [INFO] [stderr] 293 | fn pucch_resource_set_for_uci(&self, o_uci: u32) -> &PucchResourceSet { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pucch_resource_for_uci` [INFO] [stderr] --> src/pucch.rs:297:8 [INFO] [stderr] | [INFO] [stderr] 297 | fn pucch_resource_for_uci( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HarqSps` [INFO] [stderr] --> src/pucch.rs:391:5 [INFO] [stderr] | [INFO] [stderr] 391 | HarqSps, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pucch.rs:388:10 [INFO] [stderr] | [INFO] [stderr] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HarqSrMulti` [INFO] [stderr] --> src/pucch.rs:395:5 [INFO] [stderr] | [INFO] [stderr] 395 | HarqSrMulti, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pucch.rs:388:10 [INFO] [stderr] | [INFO] [stderr] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HarqCsiMulti` [INFO] [stderr] --> src/pucch.rs:396:5 [INFO] [stderr] | [INFO] [stderr] 396 | HarqCsiMulti, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pucch.rs:388:10 [INFO] [stderr] | [INFO] [stderr] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CsiSrMulti` [INFO] [stderr] --> src/pucch.rs:397:5 [INFO] [stderr] | [INFO] [stderr] 397 | CsiSrMulti, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pucch.rs:388:10 [INFO] [stderr] | [INFO] [stderr] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HarqCsiSrMulti` [INFO] [stderr] --> src/pucch.rs:398:5 [INFO] [stderr] | [INFO] [stderr] 398 | HarqCsiSrMulti, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PucchChannelType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pucch.rs:388:10 [INFO] [stderr] | [INFO] [stderr] 388 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_sr` [INFO] [stderr] --> src/macros.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | fn $name(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/pucch.rs:403:5 [INFO] [stderr] | [INFO] [stderr] 403 | check_func!(is_sr, PucchChannelType::Sr { .. }); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `check_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_harq` [INFO] [stderr] --> src/macros.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/pucch.rs:404:5 [INFO] [stderr] | [INFO] [stderr] 404 | check_func!(is_harq, PucchChannelType::HarqDci, PucchChannelType::HarqSps); [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `check_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `has_harq` [INFO] [stderr] --> src/macros.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | fn $name(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/pucch.rs:408:5 [INFO] [stderr] | [INFO] [stderr] 408 | / check_func!( [INFO] [stderr] 409 | | has_harq, [INFO] [stderr] 410 | | PucchChannelType::HarqDci, [INFO] [stderr] 411 | | PucchChannelType::HarqSps, [INFO] [stderr] ... | [INFO] [stderr] 414 | | PucchChannelType::HarqCsiSrMulti [INFO] [stderr] 415 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `check_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `has_sr` [INFO] [stderr] --> src/pucch.rs:417:8 [INFO] [stderr] | [INFO] [stderr] 417 | fn has_sr(&self) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `has_csi` [INFO] [stderr] --> src/pucch.rs:421:8 [INFO] [stderr] | [INFO] [stderr] 421 | fn has_csi(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_multi` [INFO] [stderr] --> src/pucch.rs:425:8 [INFO] [stderr] | [INFO] [stderr] 425 | fn is_multi(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nr` (bin "nr" test) generated 30 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nr-a9dccb166089097e) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test pucch::tests::debug ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b50e24f2b12eeccf45dc3993fc7eb127f512c91e03ec948191bb334d7fe1e5ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50e24f2b12eeccf45dc3993fc7eb127f512c91e03ec948191bb334d7fe1e5ec", kill_on_drop: false }` [INFO] [stdout] b50e24f2b12eeccf45dc3993fc7eb127f512c91e03ec948191bb334d7fe1e5ec