[INFO] cloning repository https://github.com/Alex1um/simple_unbalanced_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alex1um/simple_unbalanced_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex1um%2Fsimple_unbalanced_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex1um%2Fsimple_unbalanced_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b84b35f026fef7b12715616afdfaa11864551b0 [INFO] checking Alex1um/simple_unbalanced_game/4b84b35f026fef7b12715616afdfaa11864551b0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex1um%2Fsimple_unbalanced_game" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alex1um/simple_unbalanced_game on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Alex1um/simple_unbalanced_game [INFO] finished tweaking git repo https://github.com/Alex1um/simple_unbalanced_game [INFO] tweaked toml for git repo https://github.com/Alex1um/simple_unbalanced_game written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Alex1um/simple_unbalanced_game already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.53 [INFO] [stderr] Downloaded serde_repr v0.1.18 [INFO] [stderr] Downloaded cc v1.0.90 [INFO] [stderr] Downloaded which v6.0.1 [INFO] [stderr] Downloaded mlua-sys v0.6.1 [INFO] [stderr] Downloaded mlua v0.9.9 [INFO] [stderr] Downloaded data-encoding v2.5.0 [INFO] [stderr] Downloaded zerocopy v0.7.32 [INFO] [stderr] Downloaded anyhow v1.0.81 [INFO] [stderr] Downloaded winsafe v0.0.19 [INFO] [stderr] Downloaded zerocopy-derive v0.7.32 [INFO] [stderr] Downloaded luajit-src v210.5.8+5790d25 [INFO] [stderr] Downloaded bstr v1.9.1 [INFO] [stderr] Downloaded lua-src v546.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 742f1473733c93d530739328907655a52c9afefada7668bddbea05b30e633d87 [INFO] running `Command { std: "docker" "start" "-a" "742f1473733c93d530739328907655a52c9afefada7668bddbea05b30e633d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "742f1473733c93d530739328907655a52c9afefada7668bddbea05b30e633d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "742f1473733c93d530739328907655a52c9afefada7668bddbea05b30e633d87", kill_on_drop: false }` [INFO] [stdout] 742f1473733c93d530739328907655a52c9afefada7668bddbea05b30e633d87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cad72aea99cc7c52162f5725851a4da79c13cda068be937e4848df4674aa4c22 [INFO] running `Command { std: "docker" "start" "-a" "cad72aea99cc7c52162f5725851a4da79c13cda068be937e4848df4674aa4c22", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking typeid v1.0.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling lua-src v546.0.2 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling which v6.0.1 [INFO] [stderr] Compiling luajit-src v210.5.8+5790d25 [INFO] [stderr] Compiling mlua-sys v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking mlua v0.9.9 [INFO] [stderr] Checking gun_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::MAX_UPGRADES` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::MAX_UPGRADES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::MAX_UPGRADES` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::MAX_UPGRADES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_UPGRADES` is never used [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MAX_UPGRADES: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_UPGRADES` is never used [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MAX_UPGRADES: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/main.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl Enchance { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn random() -> Enchance { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random` is never used [INFO] [stdout] --> src/main.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl Enchance { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn random() -> Enchance { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Upgrade` is never constructed [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum ObjectType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 179 | Upgrade = 2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Upgrade` is never constructed [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum ObjectType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 179 | Upgrade = 2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.79s [INFO] running `Command { std: "docker" "inspect" "cad72aea99cc7c52162f5725851a4da79c13cda068be937e4848df4674aa4c22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad72aea99cc7c52162f5725851a4da79c13cda068be937e4848df4674aa4c22", kill_on_drop: false }` [INFO] [stdout] cad72aea99cc7c52162f5725851a4da79c13cda068be937e4848df4674aa4c22