[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#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fkcpservice" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luyikk/kcpservice on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4380fd1f644a6da46d78ef17cce02f225f51bb1ae2f318d7d6c53b2a6fe02250 [INFO] running `Command { std: "docker" "start" "-a" "4380fd1f644a6da46d78ef17cce02f225f51bb1ae2f318d7d6c53b2a6fe02250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4380fd1f644a6da46d78ef17cce02f225f51bb1ae2f318d7d6c53b2a6fe02250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4380fd1f644a6da46d78ef17cce02f225f51bb1ae2f318d7d6c53b2a6fe02250", kill_on_drop: false }` [INFO] [stdout] 4380fd1f644a6da46d78ef17cce02f225f51bb1ae2f318d7d6c53b2a6fe02250 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95d59e3c68e33e4551dcf5d84cf9f787143da0e2d951141f882269929c9b7037 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "95d59e3c68e33e4551dcf5d84cf9f787143da0e2d951141f882269929c9b7037", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling syn v1.0.81 [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 unicode-bidi v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Compiling sysinfo v0.19.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling xbinary v0.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling instant v0.1.12 [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 heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling clap v2.33.3 [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 libz-sys v1.1.3 [INFO] [stderr] Compiling libgit2-sys v0.12.25+1.3.0 [INFO] [stderr] Compiling libmimalloc-sys v0.1.23 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling vergen v5.1.17 [INFO] [stderr] Compiling mimalloc v0.1.27 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling getset v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling git2 v0.13.24 [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[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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kcpgateway` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "95d59e3c68e33e4551dcf5d84cf9f787143da0e2d951141f882269929c9b7037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d59e3c68e33e4551dcf5d84cf9f787143da0e2d951141f882269929c9b7037", kill_on_drop: false }` [INFO] [stdout] 95d59e3c68e33e4551dcf5d84cf9f787143da0e2d951141f882269929c9b7037