[INFO] cloning repository https://github.com/luyikk/kcpservice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luyikk/kcpservice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fkcpservice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fkcpservice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3651d4449d87bcb308d71cee717a2747a7c61fb3 [INFO] testing luyikk/kcpservice against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fkcpservice" "/workspace/builds/worker-58/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-58/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luyikk/kcpservice on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luyikk/kcpservice [INFO] finished tweaking git repo https://github.com/luyikk/kcpservice [INFO] tweaked toml for git repo https://github.com/luyikk/kcpservice written to /workspace/builds/worker-58/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73727b3aa7af9a4965bfe257e302804730608ab78754547e6d99e30125545498 [INFO] running `Command { std: "docker" "start" "-a" "73727b3aa7af9a4965bfe257e302804730608ab78754547e6d99e30125545498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73727b3aa7af9a4965bfe257e302804730608ab78754547e6d99e30125545498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73727b3aa7af9a4965bfe257e302804730608ab78754547e6d99e30125545498", kill_on_drop: false }` [INFO] [stdout] 73727b3aa7af9a4965bfe257e302804730608ab78754547e6d99e30125545498 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5813638a0a8fedca1d1fed7363e0f7827137eefaa32682f487a437ba4e39695c [INFO] running `Command { std: "docker" "start" "-a" "5813638a0a8fedca1d1fed7363e0f7827137eefaa32682f487a437ba4e39695c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling sysinfo v0.19.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling xbinary v0.1.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libgit2-sys v0.12.26+1.3.0 [INFO] [stderr] Compiling libmimalloc-sys v0.1.23 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling vergen v5.2.0 [INFO] [stderr] Compiling mimalloc v0.1.27 [INFO] [stderr] Compiling git2 v0.13.25 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling enum-iterator v0.7.0 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling flexi_logger v0.17.1 [INFO] [stderr] Compiling kcpgateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found function `Ok` [INFO] [stdout] --> src/kcp/kcp_server/kcp_listener.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | while let Ok(len) = kcp_peer.peeksize().await { [INFO] [stdout] | ^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found function `Ok` [INFO] [stdout] --> src/services/service.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | Ok((mut connect, sender)) => { [INFO] [stdout] | ^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found function `Ok` [INFO] [stdout] --> src/udp/udp_serv.rs:287:33 [INFO] [stdout] | [INFO] [stdout] 287 | ... Ok((size, addr)) => { [INFO] [stdout] | ^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found function `Ok` [INFO] [stdout] --> src/users/client.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(data) => { [INFO] [stdout] | ^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use core::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found function `Ok` [INFO] [stdout] --> src/main.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | if let Ok(json)= std::fs::read_to_string("./service_cfg.json") { [INFO] [stdout] | ^^ not a tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 11 | use core::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] 11 | use std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kcp/kcp_module/kcp.rs:602:34 [INFO] [stdout] | [INFO] [stdout] 602 | while buf.remaining() >= KCP_OVERHEAD as u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 602 | while buf.remaining() >= (KCP_OVERHEAD as u64).try_into().unwrap() { [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/kcp/kcp_module/kcp.rs:625:34 [INFO] [stdout] | [INFO] [stdout] 625 | if buf.remaining() < len as u64 { [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 625 | if buf.remaining() < (len as u64).try_into().unwrap() { [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0532. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kcpgateway` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "5813638a0a8fedca1d1fed7363e0f7827137eefaa32682f487a437ba4e39695c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5813638a0a8fedca1d1fed7363e0f7827137eefaa32682f487a437ba4e39695c", kill_on_drop: false }` [INFO] [stdout] 5813638a0a8fedca1d1fed7363e0f7827137eefaa32682f487a437ba4e39695c