[INFO] cloning repository https://github.com/liuxiaotiao/dmludp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liuxiaotiao/dmludp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliuxiaotiao%2Fdmludp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliuxiaotiao%2Fdmludp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02dee5c853db1d920ed35872978d2dddd18630cd [INFO] building liuxiaotiao/dmludp against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliuxiaotiao%2Fdmludp" "/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/liuxiaotiao/dmludp on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/liuxiaotiao/dmludp [INFO] finished tweaking git repo https://github.com/liuxiaotiao/dmludp [INFO] tweaked toml for git repo https://github.com/liuxiaotiao/dmludp written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/liuxiaotiao/dmludp 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ranges v0.3.3 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11695a350b3fc2eb02cec8b41938a80c1dc002f783ade02183dfc1a549746dcd [INFO] running `Command { std: "docker" "start" "-a" "11695a350b3fc2eb02cec8b41938a80c1dc002f783ade02183dfc1a549746dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11695a350b3fc2eb02cec8b41938a80c1dc002f783ade02183dfc1a549746dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11695a350b3fc2eb02cec8b41938a80c1dc002f783ade02183dfc1a549746dcd", kill_on_drop: false }` [INFO] [stdout] 11695a350b3fc2eb02cec8b41938a80c1dc002f783ade02183dfc1a549746dcd [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a62bc17dc9902792d01a6d608f05d28e0a817a49f382e936fdadf06e35976497 [INFO] running `Command { std: "docker" "start" "-a" "a62bc17dc9902792d01a6d608f05d28e0a817a49f382e936fdadf06e35976497", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling ranges v0.3.3 [INFO] [stderr] Compiling octets v0.2.0 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling dmludp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `qlog` [INFO] [stdout] --> src/lib.rs:327:11 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(feature = "qlog")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ffi` [INFO] [stdout] = help: consider adding `qlog` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `qlog` [INFO] [stdout] --> src/recovery/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "qlog")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ffi` [INFO] [stdout] = help: consider adding `qlog` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `congestion_window` is never read [INFO] [stdout] --> src/lib.rs:978:17 [INFO] [stdout] | [INFO] [stdout] 978 | let mut congestion_window = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `winadd` is never read [INFO] [stdout] --> src/recovery/mod.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | let mut winadd = 0.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_win` is never read [INFO] [stdout] --> src/recovery/mod.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut tmp_win:usize=0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recv_pkt_sent_num` is never read [INFO] [stdout] --> src/lib.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 282 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 394 | recv_pkt_sent_num: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `k` is never read [INFO] [stdout] --> src/recovery/mod.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Recovery { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | k:f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Recovery` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Acked` is never constructed [INFO] [stdout] --> src/recovery/mod.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct Acked { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Acked` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recv_pkt_num` is never read [INFO] [stdout] --> src/packet.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct PktNumSpace { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 176 | pub recv_pkt_num: PktNumWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PktNumSpace` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `priority_record` and `record` are never read [INFO] [stdout] --> src/packet.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct PktNumWindow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 230 | pub priority_record:std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | pub record:std::collections::HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PktNumWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/packet.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 233 | impl PktNumWindow { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 234 | //add item pair(offset, priority) [INFO] [stdout] 235 | pub fn additem(&mut self, offset: u64, priority:usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn get_priority(&self, offset:u64)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn check_received(&mut self, offset: u64, sent: bool)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn get_retrans_times(& self, offset: u64)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn update_item(& mut self, offset: u64, priority:usize){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn update_retrans(&mut self, offset: u64, retrans: u64, received: u64){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn clear_record(& mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NewCubic` should have a snake case name [INFO] [stdout] --> src/recovery/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | mod NewCubic; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_cubic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.73s [INFO] running `Command { std: "docker" "inspect" "a62bc17dc9902792d01a6d608f05d28e0a817a49f382e936fdadf06e35976497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a62bc17dc9902792d01a6d608f05d28e0a817a49f382e936fdadf06e35976497", kill_on_drop: false }` [INFO] [stdout] a62bc17dc9902792d01a6d608f05d28e0a817a49f382e936fdadf06e35976497 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54125b00aadb39c00e0667ac2f2d188c856154aebba3fb26e01e90cddaf73e34 [INFO] running `Command { std: "docker" "start" "-a" "54125b00aadb39c00e0667ac2f2d188c856154aebba3fb26e01e90cddaf73e34", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `qlog` [INFO] [stdout] --> src/lib.rs:327:11 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(feature = "qlog")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ffi` [INFO] [stdout] = help: consider adding `qlog` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `qlog` [INFO] [stdout] --> src/recovery/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "qlog")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ffi` [INFO] [stdout] = help: consider adding `qlog` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dmludp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `congestion_window` is never read [INFO] [stdout] --> src/lib.rs:978:17 [INFO] [stdout] | [INFO] [stdout] 978 | let mut congestion_window = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `winadd` is never read [INFO] [stdout] --> src/recovery/mod.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | let mut winadd = 0.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_win` is never read [INFO] [stdout] --> src/recovery/mod.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut tmp_win:usize=0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recv_pkt_sent_num` is never read [INFO] [stdout] --> src/lib.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 282 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 394 | recv_pkt_sent_num: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `k` is never read [INFO] [stdout] --> src/recovery/mod.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Recovery { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | k:f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Recovery` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Acked` is never constructed [INFO] [stdout] --> src/recovery/mod.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct Acked { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Acked` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recv_pkt_num` is never read [INFO] [stdout] --> src/packet.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct PktNumSpace { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 176 | pub recv_pkt_num: PktNumWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PktNumSpace` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `priority_record` and `record` are never read [INFO] [stdout] --> src/packet.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct PktNumWindow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 230 | pub priority_record:std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | pub record:std::collections::HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PktNumWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/packet.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 233 | impl PktNumWindow { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 234 | //add item pair(offset, priority) [INFO] [stdout] 235 | pub fn additem(&mut self, offset: u64, priority:usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn get_priority(&self, offset:u64)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn check_received(&mut self, offset: u64, sent: bool)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn get_retrans_times(& self, offset: u64)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn update_item(& mut self, offset: u64, priority:usize){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn update_retrans(&mut self, offset: u64, retrans: u64, received: u64){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn clear_record(& mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NewCubic` should have a snake case name [INFO] [stdout] --> src/recovery/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | mod NewCubic; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_cubic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `qlog` [INFO] [stdout] --> src/lib.rs:327:11 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(feature = "qlog")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ffi` [INFO] [stdout] = help: consider adding `qlog` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `qlog` [INFO] [stdout] --> src/recovery/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "qlog")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ffi` [INFO] [stdout] = help: consider adding `qlog` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `congestion_window` is never read [INFO] [stdout] --> src/lib.rs:978:17 [INFO] [stdout] | [INFO] [stdout] 978 | let mut congestion_window = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `winadd` is never read [INFO] [stdout] --> src/recovery/mod.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | let mut winadd = 0.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_win` is never read [INFO] [stdout] --> src/recovery/mod.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut tmp_win:usize=0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recv_pkt_sent_num` is never read [INFO] [stdout] --> src/lib.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 282 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 394 | recv_pkt_sent_num: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `k` is never read [INFO] [stdout] --> src/recovery/mod.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Recovery { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | k:f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Recovery` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Acked` is never constructed [INFO] [stdout] --> src/recovery/mod.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct Acked { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Acked` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recv_pkt_num` is never read [INFO] [stdout] --> src/packet.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct PktNumSpace { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 176 | pub recv_pkt_num: PktNumWindow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PktNumSpace` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `priority_record` and `record` are never read [INFO] [stdout] --> src/packet.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 229 | pub struct PktNumWindow { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 230 | pub priority_record:std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | pub record:std::collections::HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PktNumWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/packet.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 233 | impl PktNumWindow { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 234 | //add item pair(offset, priority) [INFO] [stdout] 235 | pub fn additem(&mut self, offset: u64, priority:usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn get_priority(&self, offset:u64)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn check_received(&mut self, offset: u64, sent: bool)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn get_retrans_times(& self, offset: u64)->u64{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn update_item(& mut self, offset: u64, priority:usize){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn update_retrans(&mut self, offset: u64, retrans: u64, received: u64){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn clear_record(& mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NewCubic` should have a snake case name [INFO] [stdout] --> src/recovery/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | mod NewCubic; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_cubic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "54125b00aadb39c00e0667ac2f2d188c856154aebba3fb26e01e90cddaf73e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54125b00aadb39c00e0667ac2f2d188c856154aebba3fb26e01e90cddaf73e34", kill_on_drop: false }` [INFO] [stdout] 54125b00aadb39c00e0667ac2f2d188c856154aebba3fb26e01e90cddaf73e34