[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] checking liuxiaotiao/dmludp against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliuxiaotiao%2Fdmludp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liuxiaotiao/dmludp on toolchain 987a165cfab916796a8315782b83ac460a651ce2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+987a165cfab916796a8315782b83ac460a651ce2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aae24246e0405180bc7ec9a4d3cdca7ec7eb8a6ad071d048880859f83e1e3951 [INFO] running `Command { std: "docker" "start" "-a" "aae24246e0405180bc7ec9a4d3cdca7ec7eb8a6ad071d048880859f83e1e3951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aae24246e0405180bc7ec9a4d3cdca7ec7eb8a6ad071d048880859f83e1e3951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aae24246e0405180bc7ec9a4d3cdca7ec7eb8a6ad071d048880859f83e1e3951", kill_on_drop: false }` [INFO] [stdout] aae24246e0405180bc7ec9a4d3cdca7ec7eb8a6ad071d048880859f83e1e3951 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f910a2a8d73d772a068321fea14ab7009fbf53e10a2f6d771f963fea5022f5f5 [INFO] running `Command { std: "docker" "start" "-a" "f910a2a8d73d772a068321fea14ab7009fbf53e10a2f6d771f963fea5022f5f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Checking ranges v0.3.3 [INFO] [stderr] Checking octets v0.2.0 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking 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: 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 `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: 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] [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: 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] [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: 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: 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 2.65s [INFO] running `Command { std: "docker" "inspect" "f910a2a8d73d772a068321fea14ab7009fbf53e10a2f6d771f963fea5022f5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f910a2a8d73d772a068321fea14ab7009fbf53e10a2f6d771f963fea5022f5f5", kill_on_drop: false }` [INFO] [stdout] f910a2a8d73d772a068321fea14ab7009fbf53e10a2f6d771f963fea5022f5f5