[INFO] cloning repository https://github.com/bwestley/mahjong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bwestley/mahjong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwestley%2Fmahjong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwestley%2Fmahjong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0e2a102a951df4dab0c34c4a33b36c8932e12da [INFO] testing bwestley/mahjong against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwestley%2Fmahjong" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bwestley/mahjong [INFO] finished tweaking git repo https://github.com/bwestley/mahjong [INFO] tweaked toml for git repo https://github.com/bwestley/mahjong written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bwestley/mahjong on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bwestley/mahjong 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fcb06a35fca639e39e0ace36dc93d6ca8cf7d84d1368f92565838bac3cddcb7 [INFO] running `Command { std: "docker" "start" "-a" "4fcb06a35fca639e39e0ace36dc93d6ca8cf7d84d1368f92565838bac3cddcb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fcb06a35fca639e39e0ace36dc93d6ca8cf7d84d1368f92565838bac3cddcb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fcb06a35fca639e39e0ace36dc93d6ca8cf7d84d1368f92565838bac3cddcb7", kill_on_drop: false }` [INFO] [stdout] 4fcb06a35fca639e39e0ace36dc93d6ca8cf7d84d1368f92565838bac3cddcb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2f4202ceea70bff589d7f2a26201cdf40641fdc366d852d837134807f4f74bd [INFO] running `Command { std: "docker" "start" "-a" "d2f4202ceea70bff589d7f2a26201cdf40641fdc366d852d837134807f4f74bd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling kurbo v0.9.5 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling winit v0.30.10 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling svgtypes v0.13.0 [INFO] [stderr] Compiling accesskit_consumer v0.26.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling rctree v0.5.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling core_maths v0.1.1 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling imagesize v0.12.0 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling roxmltree v0.19.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Compiling mime_guess2 v2.3.1 [INFO] [stderr] Compiling kurbo v0.11.2 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.4.0 [INFO] [stderr] Compiling fontconfig-parser v0.5.8 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-ccc v0.4.0 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling svgtypes v0.15.3 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling imagesize v0.13.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling fontdb v0.23.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.31.1 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling rustybuzz v0.20.1 [INFO] [stderr] Compiling ecolor v0.31.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling epaint v0.31.1 [INFO] [stderr] Compiling usvg-tree v0.37.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling usvg-parser v0.37.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling arboard v3.5.0 [INFO] [stderr] Compiling egui v0.31.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling usvg v0.37.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling usvg v0.45.1 [INFO] [stderr] Compiling wayland-protocols v0.32.8 [INFO] [stderr] Compiling wayland-cursor v0.31.10 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling resvg v0.37.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling resvg v0.45.1 [INFO] [stderr] Compiling webbrowser v1.0.4 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling egui_glow v0.31.1 [INFO] [stderr] Compiling egui_extras v0.31.1 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.8 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.8 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.10.1 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.13.1 [INFO] [stderr] Compiling accesskit_winit v0.23.1 [INFO] [stderr] Compiling egui-winit v0.31.1 [INFO] [stderr] Compiling eframe v0.31.1 [INFO] [stderr] Compiling mahjong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `hint_match_index` is never read [INFO] [stdout] --> src/game.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 112 | hint_match_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/game.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn moves_left(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn can_move(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn can_shuffle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn can_undo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn can_redo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn all_tiles_unblocked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn restart(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn shuffle_remaining(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn undo(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn redo(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn next_hint(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `equals` is never used [INFO] [stdout] --> src/map.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Slot { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn equals(&self, b: Slot) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `score_name` are never read [INFO] [stdout] --> src/map.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 29 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub score_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapLoader` is never constructed [INFO] [stdout] --> src/map.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct MapLoader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/map.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl MapLoader { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 272 | pub fn load_builtin(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn load_folder(&mut self, folder_path: &Path) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | fn load_file(&mut self, filename: &Path) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn get_attribute(attributes: &Vec, name: &str, default: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | fn get_attribute_t( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | fn get_attribute_doubled(attributes: &Vec, name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn start_element_cb( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | fn end_element_cb(&mut self, element_name: OwnedName) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "d2f4202ceea70bff589d7f2a26201cdf40641fdc366d852d837134807f4f74bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f4202ceea70bff589d7f2a26201cdf40641fdc366d852d837134807f4f74bd", kill_on_drop: false }` [INFO] [stdout] d2f4202ceea70bff589d7f2a26201cdf40641fdc366d852d837134807f4f74bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc14dda5301b459044bc0de0218dea9f3b9a6a070e69c4e70a0b39bdfea0d45e [INFO] running `Command { std: "docker" "start" "-a" "fc14dda5301b459044bc0de0218dea9f3b9a6a070e69c4e70a0b39bdfea0d45e", kill_on_drop: false }` [INFO] [stderr] Compiling mahjong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `hint_match_index` is never read [INFO] [stdout] --> src/game.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 112 | hint_match_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/game.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn moves_left(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn can_move(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn can_shuffle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn can_undo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn can_redo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn all_tiles_unblocked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn restart(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn shuffle_remaining(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn undo(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn redo(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn next_hint(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `equals` is never used [INFO] [stdout] --> src/map.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Slot { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn equals(&self, b: Slot) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `score_name` are never read [INFO] [stdout] --> src/map.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 29 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub score_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MapLoader` is never constructed [INFO] [stdout] --> src/map.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct MapLoader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/map.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 271 | impl MapLoader { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 272 | pub fn load_builtin(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn load_folder(&mut self, folder_path: &Path) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | fn load_file(&mut self, filename: &Path) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn get_attribute(attributes: &Vec, name: &str, default: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | fn get_attribute_t( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | fn get_attribute_doubled(attributes: &Vec, name: &str) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn start_element_cb( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | fn end_element_cb(&mut self, element_name: OwnedName) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "fc14dda5301b459044bc0de0218dea9f3b9a6a070e69c4e70a0b39bdfea0d45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc14dda5301b459044bc0de0218dea9f3b9a6a070e69c4e70a0b39bdfea0d45e", kill_on_drop: false }` [INFO] [stdout] fc14dda5301b459044bc0de0218dea9f3b9a6a070e69c4e70a0b39bdfea0d45e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f9ed1ec9091bb8e2072c1bac1e30c53e30a52e18b42012d36fc669edbe7a80ab [INFO] running `Command { std: "docker" "start" "-a" "f9ed1ec9091bb8e2072c1bac1e30c53e30a52e18b42012d36fc669edbe7a80ab", kill_on_drop: false }` [INFO] [stderr] warning: field `hint_match_index` is never read [INFO] [stderr] --> src/game.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 105 | pub struct Game { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 112 | hint_match_index: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/game.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 133 | impl Game { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 162 | pub fn moves_left(&mut self) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 166 | pub fn complete(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 175 | pub fn can_move(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 179 | pub fn can_shuffle(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 192 | pub fn can_undo(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 196 | pub fn can_redo(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 205 | pub fn all_tiles_unblocked(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 253 | pub fn restart(&mut self) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 299 | pub fn shuffle_remaining(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 357 | pub fn undo(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 375 | pub fn redo(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 393 | pub fn next_hint(&mut self) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `equals` is never used [INFO] [stderr] --> src/map.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Slot { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn equals(&self, b: Slot) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `score_name` are never read [INFO] [stderr] --> src/map.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Map { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 29 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 30 | pub score_name: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Map` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `MapLoader` is never constructed [INFO] [stderr] --> src/map.rs:265:12 [INFO] [stderr] | [INFO] [stderr] 265 | pub struct MapLoader { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/map.rs:272:12 [INFO] [stderr] | [INFO] [stderr] 271 | impl MapLoader { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 272 | pub fn load_builtin(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 276 | pub fn load_folder(&mut self, folder_path: &Path) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 297 | fn load_file(&mut self, filename: &Path) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 327 | fn get_attribute(attributes: &Vec, name: &str, default: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 337 | fn get_attribute_t( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 351 | fn get_attribute_doubled(attributes: &Vec, name: &str) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 355 | fn start_element_cb( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 423 | fn end_element_cb(&mut self, element_name: OwnedName) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mahjong` (bin "mahjong" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mahjong-669822c8650b890c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f9ed1ec9091bb8e2072c1bac1e30c53e30a52e18b42012d36fc669edbe7a80ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9ed1ec9091bb8e2072c1bac1e30c53e30a52e18b42012d36fc669edbe7a80ab", kill_on_drop: false }` [INFO] [stdout] f9ed1ec9091bb8e2072c1bac1e30c53e30a52e18b42012d36fc669edbe7a80ab