[INFO] cloning repository https://github.com/SheSnake/game_room_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SheSnake/game_room_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSheSnake%2Fgame_room_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSheSnake%2Fgame_room_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 680d3817241b0b3b461aaa6a85496cb303a54416 [INFO] testing SheSnake/game_room_server against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSheSnake%2Fgame_room_server" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SheSnake/game_room_server on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SheSnake/game_room_server [INFO] finished tweaking git repo https://github.com/SheSnake/game_room_server [INFO] tweaked toml for git repo https://github.com/SheSnake/game_room_server written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/SheSnake/game_room_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c51ba4603b1eaa0da8407172242f0101cec7ccb1160fda334034773eb4e7ea5b [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" "c51ba4603b1eaa0da8407172242f0101cec7ccb1160fda334034773eb4e7ea5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c51ba4603b1eaa0da8407172242f0101cec7ccb1160fda334034773eb4e7ea5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c51ba4603b1eaa0da8407172242f0101cec7ccb1160fda334034773eb4e7ea5b", kill_on_drop: false }` [INFO] [stdout] c51ba4603b1eaa0da8407172242f0101cec7ccb1160fda334034773eb4e7ea5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 536616650e3d159f011e33134e476a2934f706c70b09c80cd0592083a66fbbd8 [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" "536616650e3d159f011e33134e476a2934f706c70b09c80cd0592083a66fbbd8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling rdkafka-sys v1.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling redis v0.15.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling serde_bytes v0.10.5 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling num_enum_derive v0.4.2 [INFO] [stderr] Compiling num_enum v0.4.2 [INFO] [stderr] Compiling rdkafka v0.23.1 [INFO] [stderr] Compiling game_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rdkafka::util::get_rdkafka_version` [INFO] [stdout] --> src/server_net/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rdkafka::util::get_rdkafka_version; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdkafka::util::get_rdkafka_version` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use rdkafka::util::get_rdkafka_version; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/room/mod.rs:60:76 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn get_room_topic(&self, room_id: &String) -> Option { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ expected enum `std::option::Option`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/game/majiang_state.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 301 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 302 | let mut in_wait_rsp = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::AsyncCommands` [INFO] [stdout] --> src/game/room/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use redis::AsyncCommands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `game_server` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "536616650e3d159f011e33134e476a2934f706c70b09c80cd0592083a66fbbd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "536616650e3d159f011e33134e476a2934f706c70b09c80cd0592083a66fbbd8", kill_on_drop: false }` [INFO] [stdout] 536616650e3d159f011e33134e476a2934f706c70b09c80cd0592083a66fbbd8