[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] testing liuxiaotiao/dmludp against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliuxiaotiao%2Fdmludp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liuxiaotiao/dmludp on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 octets v0.2.0 [INFO] [stderr] Downloaded ranges v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 905c8561e2d3e146159cba4b77db5966836fd6be24c804483bc85d9e0c4128d7 [INFO] running `Command { std: "docker" "start" "-a" "905c8561e2d3e146159cba4b77db5966836fd6be24c804483bc85d9e0c4128d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "905c8561e2d3e146159cba4b77db5966836fd6be24c804483bc85d9e0c4128d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905c8561e2d3e146159cba4b77db5966836fd6be24c804483bc85d9e0c4128d7", kill_on_drop: false }` [INFO] [stdout] 905c8561e2d3e146159cba4b77db5966836fd6be24c804483bc85d9e0c4128d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e644442d4a75da490d2350ba10a2b4eadf1b5cba283597d2215dd679353dae7c [INFO] running `Command { std: "docker" "start" "-a" "e644442d4a75da490d2350ba10a2b4eadf1b5cba283597d2215dd679353dae7c", 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: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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 `dev` profile [unoptimized + debuginfo] target(s) in 3.87s [INFO] running `Command { std: "docker" "inspect" "e644442d4a75da490d2350ba10a2b4eadf1b5cba283597d2215dd679353dae7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e644442d4a75da490d2350ba10a2b4eadf1b5cba283597d2215dd679353dae7c", kill_on_drop: false }` [INFO] [stdout] e644442d4a75da490d2350ba10a2b4eadf1b5cba283597d2215dd679353dae7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5a6480ef93e0c975890cea9ae09b25e28139e0269d3719bb890c1222b470a6d3 [INFO] running `Command { std: "docker" "start" "-a" "5a6480ef93e0c975890cea9ae09b25e28139e0269d3719bb890c1222b470a6d3", kill_on_drop: false }` [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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] [stderr] Compiling dmludp v0.1.0 (/opt/rustwide/workdir) [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.60s [INFO] running `Command { std: "docker" "inspect" "5a6480ef93e0c975890cea9ae09b25e28139e0269d3719bb890c1222b470a6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a6480ef93e0c975890cea9ae09b25e28139e0269d3719bb890c1222b470a6d3", kill_on_drop: false }` [INFO] [stdout] 5a6480ef93e0c975890cea9ae09b25e28139e0269d3719bb890c1222b470a6d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8ec307f64afc2ec2f1f243345528c90dac7e7ed7a1e8cfd458e8f0036149a897 [INFO] running `Command { std: "docker" "start" "-a" "8ec307f64afc2ec2f1f243345528c90dac7e7ed7a1e8cfd458e8f0036149a897", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `qlog` [INFO] [stderr] --> src/lib.rs:327:11 [INFO] [stderr] | [INFO] [stderr] 327 | #[cfg(feature = "qlog")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `ffi` [INFO] [stderr] = help: consider adding `qlog` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `qlog` [INFO] [stderr] --> src/recovery/mod.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg(feature = "qlog")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `ffi` [INFO] [stderr] = help: consider adding `qlog` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: value assigned to `congestion_window` is never read [INFO] [stderr] --> src/lib.rs:978:17 [INFO] [stderr] | [INFO] [stderr] 978 | let mut congestion_window = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `winadd` is never read [INFO] [stderr] --> src/recovery/mod.rs:233:17 [INFO] [stderr] | [INFO] [stderr] 233 | let mut winadd = 0.0; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `tmp_win` is never read [INFO] [stderr] --> src/recovery/mod.rs:269:17 [INFO] [stderr] | [INFO] [stderr] 269 | let mut tmp_win:usize=0; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: field `recv_pkt_sent_num` is never read [INFO] [stderr] --> src/lib.rs:394:5 [INFO] [stderr] | [INFO] [stderr] 282 | pub struct Connection { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 394 | recv_pkt_sent_num: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `k` is never read [INFO] [stderr] --> src/recovery/mod.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct Recovery { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 111 | k:f64, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `Recovery` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Acked` is never constructed [INFO] [stderr] --> src/recovery/mod.rs:444:12 [INFO] [stderr] | [INFO] [stderr] 444 | pub struct Acked { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Acked` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `recv_pkt_num` is never read [INFO] [stderr] --> src/packet.rs:176:9 [INFO] [stderr] | [INFO] [stderr] 172 | pub struct PktNumSpace { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 176 | pub recv_pkt_num: PktNumWindow, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PktNumSpace` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `priority_record` and `record` are never read [INFO] [stderr] --> src/packet.rs:230:9 [INFO] [stderr] | [INFO] [stderr] 229 | pub struct PktNumWindow { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 230 | pub priority_record:std::collections::HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 231 | pub record:std::collections::HashMap, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PktNumWindow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/packet.rs:235:12 [INFO] [stderr] | [INFO] [stderr] 233 | impl PktNumWindow { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] 234 | //add item pair(offset, priority) [INFO] [stderr] 235 | pub fn additem(&mut self, offset: u64, priority:usize) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 247 | pub fn get_priority(&self, offset:u64)->u64{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 256 | pub fn check_received(&mut self, offset: u64, sent: bool)->bool{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 300 | pub fn get_retrans_times(& self, offset: u64)->u64{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 314 | pub fn update_item(& mut self, offset: u64, priority:usize){ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | pub fn update_retrans(&mut self, offset: u64, retrans: u64, received: u64){ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 332 | pub fn clear_record(& mut self){ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: module `NewCubic` should have a snake case name [INFO] [stderr] --> src/recovery/mod.rs:462:5 [INFO] [stderr] | [INFO] [stderr] 462 | mod NewCubic; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `new_cubic` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dmludp` (lib) generated 13 warnings [INFO] [stdout] [INFO] [stderr] warning: `dmludp` (lib test) generated 12 warnings (12 duplicates) [INFO] [stdout] running 0 tests [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dmludp-7b00858a7793f179) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ec307f64afc2ec2f1f243345528c90dac7e7ed7a1e8cfd458e8f0036149a897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ec307f64afc2ec2f1f243345528c90dac7e7ed7a1e8cfd458e8f0036149a897", kill_on_drop: false }` [INFO] [stdout] 8ec307f64afc2ec2f1f243345528c90dac7e7ed7a1e8cfd458e8f0036149a897