[INFO] cloning repository https://github.com/luyikk/kcp_server_echo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luyikk/kcp_server_echo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fkcp_server_echo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fkcp_server_echo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6351a8edf0eaf34ecddaa513c7b6b5f5ba591aa1 [INFO] checking luyikk/kcp_server_echo against master#fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fkcp_server_echo" "/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/luyikk/kcp_server_echo on toolchain fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luyikk/kcp_server_echo [INFO] finished tweaking git repo https://github.com/luyikk/kcp_server_echo [INFO] tweaked toml for git repo https://github.com/luyikk/kcp_server_echo written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/luyikk/kcp_server_echo 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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded udp_server v0.3.2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7691fc1dc53fafa54c1a5f0ee2324b3f5f319be505aae440d2b4b50a4c2159a [INFO] running `Command { std: "docker" "start" "-a" "d7691fc1dc53fafa54c1a5f0ee2324b3f5f319be505aae440d2b4b50a4c2159a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7691fc1dc53fafa54c1a5f0ee2324b3f5f319be505aae440d2b4b50a4c2159a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7691fc1dc53fafa54c1a5f0ee2324b3f5f319be505aae440d2b4b50a4c2159a", kill_on_drop: false }` [INFO] [stdout] d7691fc1dc53fafa54c1a5f0ee2324b3f5f319be505aae440d2b4b50a4c2159a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d3133334250a9818f093b695eef175279b841b5fb28a9fc3869fb9bbd583e6e [INFO] running `Command { std: "docker" "start" "-a" "1d3133334250a9818f093b695eef175279b841b5fb28a9fc3869fb9bbd583e6e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking udp_server v0.3.2 [INFO] [stderr] Checking kcp_server_echo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Kcp`, `get_conv` [INFO] [stdout] --> src/kcp/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::{get_conv, Kcp}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `set_conv` [INFO] [stdout] --> src/kcp/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub use kcp::{get_conv, set_conv, Kcp}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Kcp`, `get_conv` [INFO] [stdout] --> src/kcp/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::{get_conv, Kcp}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `set_conv` [INFO] [stdout] --> src/kcp/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub use kcp::{get_conv, set_conv, Kcp}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush_async` is never used [INFO] [stdout] --> src/kcp_server/kcp_peer.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl KcpLock{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn flush_async(&self)-> KcpResult<()>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush_async` is never used [INFO] [stdout] --> src/kcp_server/kcp_peer.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 71 | impl KcpPeer{ [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn flush_async(&self)-> KcpResult<()>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_conv` is never used [INFO] [stdout] --> src/kcp/kcp.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_conv(buf: &mut Bytes) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_conv` is never used [INFO] [stdout] --> src/kcp/kcp.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn set_conv(buf: &mut BytesMut, conv: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/kcp/kcp.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl Kcp { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn new_stream(conv: u32, output: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub fn input_conv(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | pub fn waiting_conv(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | pub fn set_conv(&mut self, conv: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | pub fn conv(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 816 | pub async fn flush_ack(&mut self) -> KcpResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 970 | pub async fn flush_async(&mut self)-> KcpResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1014 | pub fn check(&self, current: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1067 | pub fn mtu(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1128 | pub fn snd_wnd(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1133 | pub fn rcv_wnd(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1138 | pub fn wait_snd(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1153 | pub fn header_len() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1158 | pub fn is_stream(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1163 | pub fn mss(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1168 | pub fn set_maximum_resend_times(&mut self, dead_link: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1173 | pub fn is_dead_link(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush_async` is never used [INFO] [stdout] --> src/kcp_server/kcp_peer.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl KcpLock{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn flush_async(&self)-> KcpResult<()>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush_async` is never used [INFO] [stdout] --> src/kcp_server/kcp_peer.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 71 | impl KcpPeer{ [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub async fn flush_async(&self)-> KcpResult<()>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_conv` is never used [INFO] [stdout] --> src/kcp/kcp.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_conv(buf: &mut Bytes) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_conv` is never used [INFO] [stdout] --> src/kcp/kcp.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn set_conv(buf: &mut BytesMut, conv: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/kcp/kcp.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 225 | impl Kcp { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn new_stream(conv: u32, output: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub fn input_conv(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | pub fn waiting_conv(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | pub fn set_conv(&mut self, conv: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | pub fn conv(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 816 | pub async fn flush_ack(&mut self) -> KcpResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 970 | pub async fn flush_async(&mut self)-> KcpResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1014 | pub fn check(&self, current: u32) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1067 | pub fn mtu(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1128 | pub fn snd_wnd(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1133 | pub fn rcv_wnd(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1138 | pub fn wait_snd(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1153 | pub fn header_len() -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1158 | pub fn is_stream(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1163 | pub fn mss(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1168 | pub fn set_maximum_resend_times(&mut self, dead_link: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1173 | pub fn is_dead_link(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.73s [INFO] running `Command { std: "docker" "inspect" "1d3133334250a9818f093b695eef175279b841b5fb28a9fc3869fb9bbd583e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d3133334250a9818f093b695eef175279b841b5fb28a9fc3869fb9bbd583e6e", kill_on_drop: false }` [INFO] [stdout] 1d3133334250a9818f093b695eef175279b841b5fb28a9fc3869fb9bbd583e6e [INFO] checking luyikk/kcp_server_echo against try#e35e259478581c01033b8da67214c0d376859a32 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fkcp_server_echo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luyikk/kcp_server_echo on toolchain e35e259478581c01033b8da67214c0d376859a32 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luyikk/kcp_server_echo [INFO] finished tweaking git repo https://github.com/luyikk/kcp_server_echo [INFO] tweaked toml for git repo https://github.com/luyikk/kcp_server_echo written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/luyikk/kcp_server_echo 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" "+e35e259478581c01033b8da67214c0d376859a32" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a0adfdb823ddd8ed9ff3d2703bb8e6a575ee28d78a5a40de94c98ba8b013564 [INFO] running `Command { std: "docker" "start" "-a" "2a0adfdb823ddd8ed9ff3d2703bb8e6a575ee28d78a5a40de94c98ba8b013564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a0adfdb823ddd8ed9ff3d2703bb8e6a575ee28d78a5a40de94c98ba8b013564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a0adfdb823ddd8ed9ff3d2703bb8e6a575ee28d78a5a40de94c98ba8b013564", kill_on_drop: false }` [INFO] [stdout] 2a0adfdb823ddd8ed9ff3d2703bb8e6a575ee28d78a5a40de94c98ba8b013564 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f780b8b0203c79cae6bf8f0c22ea1d252839fb10d247c6ae5e098105e4d640c7 [INFO] running `Command { std: "docker" "start" "-a" "f780b8b0203c79cae6bf8f0c22ea1d252839fb10d247c6ae5e098105e4d640c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking udp_server v0.3.2 [INFO] [stderr] Checking kcp_server_echo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Kcp`, `get_conv` [INFO] [stdout] --> src/kcp/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::{get_conv, Kcp}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `set_conv` [INFO] [stdout] --> src/kcp/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub use kcp::{get_conv, set_conv, Kcp}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Kcp`, `get_conv` [INFO] [stdout] --> src/kcp/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::{get_conv, Kcp}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `set_conv` [INFO] [stdout] --> src/kcp/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub use kcp::{get_conv, set_conv, Kcp}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<(), _>` is not a future [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let kcp = kcp_server::KcpListener::::new("0.0.0.0:5555", config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<(), _>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result<(), _>` [INFO] [stdout] = note: Result<(), _> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `KcpListener::::new` [INFO] [stdout] --> src/kcp_server/kcp_listener.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | R: Future>> + Send+'static{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KcpListener::::new` [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<(), _>` is not a future [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let kcp = kcp_server::KcpListener::::new("0.0.0.0:5555", config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<(), _>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result<(), _>` [INFO] [stdout] = note: Result<(), _> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `KcpListener` [INFO] [stdout] --> src/kcp_server/kcp_listener.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct KcpListener [INFO] [stdout] | ----------- required by a bound in this struct [INFO] [stdout] 24 | where S: Send + 'static, [INFO] [stdout] 25 | R: Future>> + Send+'static{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KcpListener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<(), _>` is not a future [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | kcp.set_buff_input(async move |peer, data| { [INFO] [stdout] | ^^^^^^^^^^^^^^ `Result<(), _>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result<(), _>` [INFO] [stdout] = note: Result<(), _> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `KcpListener::::set_buff_input` [INFO] [stdout] --> src/kcp_server/kcp_listener.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | R: Future>> + Send+'static{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KcpListener::::set_buff_input` [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn set_buff_input( [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(Arc>, bytes::Bytes)` closure, found `{coroutine-closure@src/main.rs:23:24: 23:47}` [INFO] [stdout] --> src/main.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | kcp.set_buff_input(async move |peer, data| { [INFO] [stdout] | _________--------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 24 | | let mut token = peer.token.lock().await; [INFO] [stdout] 25 | | [INFO] [stdout] 26 | | if let Some(id) = token.get() { [INFO] [stdout] ... | [INFO] [stdout] 32 | | Ok(()) [INFO] [stdout] 33 | | }).await; [INFO] [stdout] | |_____^ expected an `Fn(Arc>, bytes::Bytes)` closure, found `{coroutine-closure@src/main.rs:23:24: 23:47}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(Arc>, bytes::Bytes)>` is not implemented for `{coroutine-closure@src/main.rs:23:24: 23:47}` [INFO] [stdout] note: required by a bound in `KcpListener::::set_buff_input` [INFO] [stdout] --> src/kcp_server/kcp_listener.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn set_buff_input( [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] 78 | &self, f: impl Fn(Arc>, Bytes) ->R [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KcpListener::::set_buff_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<(), _>` is not a future [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let kcp = kcp_server::KcpListener::::new("0.0.0.0:5555", config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<(), _>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result<(), _>` [INFO] [stdout] = note: Result<(), _> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `KcpListener::::new` [INFO] [stdout] --> src/kcp_server/kcp_listener.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | R: Future>> + Send+'static{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KcpListener::::new` [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<(), _>` is not a future [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let kcp = kcp_server::KcpListener::::new("0.0.0.0:5555", config).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result<(), _>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result<(), _>` [INFO] [stdout] = note: Result<(), _> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `KcpListener` [INFO] [stdout] --> src/kcp_server/kcp_listener.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct KcpListener [INFO] [stdout] | ----------- required by a bound in this struct [INFO] [stdout] 24 | where S: Send + 'static, [INFO] [stdout] 25 | R: Future>> + Send+'static{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KcpListener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result<(), _>` is not a future [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | kcp.set_buff_input(async move |peer, data| { [INFO] [stdout] | ^^^^^^^^^^^^^^ `Result<(), _>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result<(), _>` [INFO] [stdout] = note: Result<(), _> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] note: required by a bound in `KcpListener::::set_buff_input` [INFO] [stdout] --> src/kcp_server/kcp_listener.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | R: Future>> + Send+'static{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KcpListener::::set_buff_input` [INFO] [stdout] ... [INFO] [stdout] 77 | pub async fn set_buff_input( [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(Arc>, bytes::Bytes)` closure, found `{coroutine-closure@src/main.rs:23:24: 23:47}` [INFO] [stdout] --> src/main.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | kcp.set_buff_input(async move |peer, data| { [INFO] [stdout] | _________--------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 24 | | let mut token = peer.token.lock().await; [INFO] [stdout] 25 | | [INFO] [stdout] 26 | | if let Some(id) = token.get() { [INFO] [stdout] ... | [INFO] [stdout] 32 | | Ok(()) [INFO] [stdout] 33 | | }).await; [INFO] [stdout] | |_____^ expected an `Fn(Arc>, bytes::Bytes)` closure, found `{coroutine-closure@src/main.rs:23:24: 23:47}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn<(Arc>, bytes::Bytes)>` is not implemented for `{coroutine-closure@src/main.rs:23:24: 23:47}` [INFO] [stdout] note: required by a bound in `KcpListener::::set_buff_input` [INFO] [stdout] --> src/kcp_server/kcp_listener.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn set_buff_input( [INFO] [stdout] | -------------- required by a bound in this associated function [INFO] [stdout] 78 | &self, f: impl Fn(Arc>, Bytes) ->R [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `KcpListener::::set_buff_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for struct `Arc>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | kcp.start().await?; [INFO] [stdout] | ^^^^^ method cannot be called on `Arc>>` due to unsatisfied trait bounds [INFO] [stdout] --> /rustc/e35e259478581c01033b8da67214c0d376859a32/library/core/src/result.rs:502:1 [INFO] [stdout] | [INFO] [stdout] = note: doesn't satisfy `<_ as Future>::Output = Result<(), Box>` [INFO] [stdout] | [INFO] [stdout] = note: doesn't satisfy `Result<(), _>: futures::Future` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` as futures::Future>::Output = Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] `Result<(), _>: futures::Future` [INFO] [stdout] --> src/kcp_server/kcp_listener.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 38 | impl KcpListener [INFO] [stdout] | ---------------- [INFO] [stdout] 39 | where S: Send + 'static, [INFO] [stdout] 40 | R: Future>> + Send+'static{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for struct `Arc>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | kcp.start().await?; [INFO] [stdout] | ^^^^^ method cannot be called on `Arc>>` due to unsatisfied trait bounds [INFO] [stdout] --> /rustc/e35e259478581c01033b8da67214c0d376859a32/library/core/src/result.rs:502:1 [INFO] [stdout] | [INFO] [stdout] = note: doesn't satisfy `<_ as Future>::Output = Result<(), Box>` [INFO] [stdout] | [INFO] [stdout] = note: doesn't satisfy `Result<(), _>: futures::Future` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] ` as futures::Future>::Output = Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] `Result<(), _>: futures::Future` [INFO] [stdout] --> src/kcp_server/kcp_listener.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 38 | impl KcpListener [INFO] [stdout] | ---------------- [INFO] [stdout] 39 | where S: Send + 'static, [INFO] [stdout] 40 | R: Future>> + Send+'static{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | unsatisfied trait bound introduced here [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kcp_server_echo` (bin "kcp_server_echo") due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kcp_server_echo` (bin "kcp_server_echo" test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f780b8b0203c79cae6bf8f0c22ea1d252839fb10d247c6ae5e098105e4d640c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f780b8b0203c79cae6bf8f0c22ea1d252839fb10d247c6ae5e098105e4d640c7", kill_on_drop: false }` [INFO] [stdout] f780b8b0203c79cae6bf8f0c22ea1d252839fb10d247c6ae5e098105e4d640c7