[INFO] fetching crate sc2-proxy 0.1.0... [INFO] checking sc2-proxy-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate sc2-proxy 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sc2-proxy 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sc2-proxy 0.1.0 [INFO] finished tweaking crates.io crate sc2-proxy 0.1.0 [INFO] tweaked toml for crates.io crate sc2-proxy 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77edee6f4ccd97c799f8a50e79e2a989b4d90a38347bb3e3ad7eb72635f80922 [INFO] running `Command { std: "docker" "start" "-a" "77edee6f4ccd97c799f8a50e79e2a989b4d90a38347bb3e3ad7eb72635f80922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77edee6f4ccd97c799f8a50e79e2a989b4d90a38347bb3e3ad7eb72635f80922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77edee6f4ccd97c799f8a50e79e2a989b4d90a38347bb3e3ad7eb72635f80922", kill_on_drop: false }` [INFO] [stdout] 77edee6f4ccd97c799f8a50e79e2a989b4d90a38347bb3e3ad7eb72635f80922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fec73f47ce4401b98bd258b69a77fae98c84606636e3e0fceb28464502918a4 [INFO] running `Command { std: "docker" "start" "-a" "5fec73f47ce4401b98bd258b69a77fae98c84606636e3e0fceb28464502918a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling protobuf v2.24.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling sc2-proto v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking openssl-sys v0.9.65 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking backtrace v0.3.60 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking shellexpand v1.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking openssl v0.10.35 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking portpicker v0.1.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking native-tls v0.2.7 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking websocket v0.22.4 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking sc2-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `RequestJoinGame` is imported redundantly [INFO] [stdout] --> src/game/lobby.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 6 | use sc2_proto::sc2api::RequestJoinGame; [INFO] [stdout] | ---------------------------------- the item `RequestJoinGame` is already imported here [INFO] [stdout] ... [INFO] [stdout] 131 | use sc2_proto::sc2api::{Request, RequestJoinGame}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | fn any_panic_to_string(panic_msg: Box) -> String { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RequestJoinGame` is imported redundantly [INFO] [stdout] --> src/game/lobby.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 6 | use sc2_proto::sc2api::RequestJoinGame; [INFO] [stdout] | ---------------------------------- the item `RequestJoinGame` is already imported here [INFO] [stdout] ... [INFO] [stdout] 131 | use sc2_proto::sc2api::{Request, RequestJoinGame}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | fn any_panic_to_string(panic_msg: Box) -> String { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/game/player.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use protobuf::parse_from_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/game/player.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | let resp = parse_from_bytes::(&bytes).expect("Invalid protobuf message"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/game/player.rs:137:49 [INFO] [stdout] | [INFO] [stdout] 137 | OwnedMessage::Binary(bytes) => Some(parse_from_bytes::(&bytes).expect("Invalid data")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/supervisor.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use protobuf::parse_from_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/supervisor.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | let req = parse_from_bytes::(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/game/player.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use protobuf::parse_from_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/game/player.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | let resp = parse_from_bytes::(&bytes).expect("Invalid protobuf message"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/game/player.rs:137:49 [INFO] [stdout] | [INFO] [stdout] 137 | OwnedMessage::Binary(bytes) => Some(parse_from_bytes::(&bytes).expect("Invalid data")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/supervisor.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use protobuf::parse_from_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::parse_from_bytes`: Use Message::parse_from_bytes instead [INFO] [stdout] --> src/supervisor.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | let req = parse_from_bytes::(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Observer` [INFO] [stdout] --> src/game/lobby.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | Observer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_alias_enum_variants` has been stable since 1.37.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(type_alias_enum_variants)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Observer` [INFO] [stdout] --> src/game/lobby.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | Observer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_alias_enum_variants` has been stable since 1.37.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(type_alias_enum_variants)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.20s [INFO] running `Command { std: "docker" "inspect" "5fec73f47ce4401b98bd258b69a77fae98c84606636e3e0fceb28464502918a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fec73f47ce4401b98bd258b69a77fae98c84606636e3e0fceb28464502918a4", kill_on_drop: false }` [INFO] [stdout] 5fec73f47ce4401b98bd258b69a77fae98c84606636e3e0fceb28464502918a4