[INFO] fetching crate sc2-proxy 0.1.0... [INFO] building sc2-proxy-0.1.0 against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] extracting crate sc2-proxy 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate sc2-proxy 0.1.0 on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 193 packages to latest compatible versions [INFO] [stderr] Adding crossbeam v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding dotenv v0.13.0 (available: v0.15.0) [INFO] [stderr] Adding pretty_env_logger v0.3.1 (available: v0.5.0) [INFO] [stderr] Adding protobuf v2.28.0 (available: v3.7.1) [INFO] [stderr] Adding shellexpand v1.1.1 (available: v3.1.0) [INFO] [stderr] Adding toml v0.4.10 (available: v0.8.19) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding websocket v0.22.4 (available: v0.27.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 644c3c36d84e99cf4d74a21ff6d7fa1c4b488c29f9be79955c383bbd771bd5cf [INFO] running `Command { std: "docker" "start" "-a" "644c3c36d84e99cf4d74a21ff6d7fa1c4b488c29f9be79955c383bbd771bd5cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "644c3c36d84e99cf4d74a21ff6d7fa1c4b488c29f9be79955c383bbd771bd5cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "644c3c36d84e99cf4d74a21ff6d7fa1c4b488c29f9be79955c383bbd771bd5cf", kill_on_drop: false }` [INFO] [stdout] 644c3c36d84e99cf4d74a21ff6d7fa1c4b488c29f9be79955c383bbd771bd5cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da6ace0578a2bdf43abcb4be8d7be164bcccc3ea913fc760046a9f1837dff8c3 [INFO] running `Command { std: "docker" "start" "-a" "da6ace0578a2bdf43abcb4be8d7be164bcccc3ea913fc760046a9f1837dff8c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling sc2-proto v0.2.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling shellexpand v1.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling portpicker v0.1.1 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling websocket v0.22.4 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling sc2-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/paths.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | } else if cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/paths.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | } else if cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: 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: 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] | ^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn any_panic_to_string(panic_msg: Box) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end_reason` and `player_results` are never read [INFO] [stdout] --> src/game/game.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GameResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | pub end_reason: GameEndReason, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub player_results: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Observer` is never constructed [INFO] [stdout] --> src/game/lobby.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 201 | enum CreateGamePlayer { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 204 | Observer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tempdir` is never read [INFO] [stdout] --> src/sc2process.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Process { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | tempdir: TempDir, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sc2-proto v0.2.3, traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "da6ace0578a2bdf43abcb4be8d7be164bcccc3ea913fc760046a9f1837dff8c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da6ace0578a2bdf43abcb4be8d7be164bcccc3ea913fc760046a9f1837dff8c3", kill_on_drop: false }` [INFO] [stdout] da6ace0578a2bdf43abcb4be8d7be164bcccc3ea913fc760046a9f1837dff8c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08a47f111faf7d52a3218806c409927f017d6fbbd0152ec9b2cf80236723255e [INFO] running `Command { std: "docker" "start" "-a" "08a47f111faf7d52a3218806c409927f017d6fbbd0152ec9b2cf80236723255e", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/paths.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | } else if cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/paths.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | } else if cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: 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: 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] | ^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn any_panic_to_string(panic_msg: Box) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end_reason` and `player_results` are never read [INFO] [stdout] --> src/game/game.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GameResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | pub end_reason: GameEndReason, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub player_results: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Observer` is never constructed [INFO] [stdout] --> src/game/lobby.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 201 | enum CreateGamePlayer { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 204 | Observer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tempdir` is never read [INFO] [stdout] --> src/sc2process.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Process { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | tempdir: TempDir, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sc2-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/paths.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | } else if cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/paths.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | } else if cfg!(linux) { [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: 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: 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] | ^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn any_panic_to_string(panic_msg: Box) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `end_reason` and `player_results` are never read [INFO] [stdout] --> src/game/game.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GameResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | pub end_reason: GameEndReason, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub player_results: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Observer` is never constructed [INFO] [stdout] --> src/game/lobby.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 201 | enum CreateGamePlayer { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 204 | Observer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tempdir` is never read [INFO] [stdout] --> src/sc2process.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Process { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | tempdir: TempDir, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sc2-proto v0.2.3, traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "08a47f111faf7d52a3218806c409927f017d6fbbd0152ec9b2cf80236723255e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a47f111faf7d52a3218806c409927f017d6fbbd0152ec9b2cf80236723255e", kill_on_drop: false }` [INFO] [stdout] 08a47f111faf7d52a3218806c409927f017d6fbbd0152ec9b2cf80236723255e