[INFO] cloning repository https://github.com/the-aNamee/Run [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/the-aNamee/Run" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe-aNamee%2FRun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe-aNamee%2FRun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32105bf82f70b8514191878058eb131560bdd473 [INFO] testing the-aNamee/Run against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe-aNamee%2FRun" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/the-aNamee/Run [INFO] finished tweaking git repo https://github.com/the-aNamee/Run [INFO] tweaked toml for git repo https://github.com/the-aNamee/Run written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/the-aNamee/Run on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/the-aNamee/Run 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1a82cee4b1a2fcbc4fe856a8ec3d27b3b4ec20d05ca0fe6df9c1c1fbee9aee0 [INFO] running `Command { std: "docker" "start" "-a" "f1a82cee4b1a2fcbc4fe856a8ec3d27b3b4ec20d05ca0fe6df9c1c1fbee9aee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1a82cee4b1a2fcbc4fe856a8ec3d27b3b4ec20d05ca0fe6df9c1c1fbee9aee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1a82cee4b1a2fcbc4fe856a8ec3d27b3b4ec20d05ca0fe6df9c1c1fbee9aee0", kill_on_drop: false }` [INFO] [stdout] f1a82cee4b1a2fcbc4fe856a8ec3d27b3b4ec20d05ca0fe6df9c1c1fbee9aee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 0de956a24159bb3cf3c730537cab11b17fce146401ed330bc60c1e2c1ef915a9 [INFO] running `Command { std: "docker" "start" "-a" "0de956a24159bb3cf3c730537cab11b17fce146401ed330bc60c1e2c1ef915a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling web-time v0.2.4 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling bevy_ptr v0.13.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling raw-window-handle v0.6.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling async-executor v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-channel v2.2.1 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling bevy_tasks v0.13.2 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling wgpu-hal v0.19.4 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling accesskit v0.12.3 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling blocking v1.6.0 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling const_panic v0.2.8 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling radsort v0.1.0 [INFO] [stderr] Compiling ab_glyph v0.2.25 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling euclid v0.22.9 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling svg_fmt v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling gilrs v0.10.7 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling grid v0.10.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling sysinfo v0.30.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling pretty-type-name v1.0.1 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling webbrowser v0.8.15 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bevy_macro_utils v0.13.2 [INFO] [stderr] Compiling encase_derive_impl v0.7.0 [INFO] [stderr] Compiling taffy v0.3.19 [INFO] [stderr] Compiling opener v0.6.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling duplicate v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.13.2 [INFO] [stderr] Compiling bevy_reflect_derive v0.13.2 [INFO] [stderr] Compiling bevy_ecs_macros v0.13.2 [INFO] [stderr] Compiling bevy_derive v0.13.2 [INFO] [stderr] Compiling bevy_asset_macros v0.13.2 [INFO] [stderr] Compiling encase_derive v0.7.0 [INFO] [stderr] Compiling bevy_encase_derive v0.13.2 [INFO] [stderr] Compiling bevy_render_macros v0.13.2 [INFO] [stderr] Compiling gltf-derive v1.4.0 [INFO] [stderr] Compiling bevy_gizmos_macros v0.13.2 [INFO] [stderr] Compiling bevy-inspector-egui-derive v0.23.0 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ruzstd v0.5.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ecolor v0.26.2 [INFO] [stderr] Compiling emath v0.26.2 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling glam v0.25.0 [INFO] [stderr] Compiling erased-serde v0.4.4 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling wgpu-types v0.19.2 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling gilrs-core v0.5.11 [INFO] [stderr] Compiling epaint v0.26.2 [INFO] [stderr] Compiling gltf-json v1.4.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling naga v0.19.2 [INFO] [stderr] Compiling egui v0.26.2 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling bevy_math v0.13.2 [INFO] [stderr] Compiling hexasphere v10.0.0 [INFO] [stderr] Compiling bevy_mikktspace v0.13.2 [INFO] [stderr] Compiling encase v0.7.0 [INFO] [stderr] Compiling bevy_utils v0.13.2 [INFO] [stderr] Compiling gltf v1.4.0 [INFO] [stderr] Compiling bevy_reflect v0.13.2 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling egui_dock v0.11.4 [INFO] [stderr] Compiling egui-gizmo v0.16.2 [INFO] [stderr] Compiling arboard v3.4.0 [INFO] [stderr] Compiling naga_oil v0.13.0 [INFO] [stderr] Compiling accesskit_winit v0.17.0 [INFO] [stderr] Compiling bevy_ecs v0.13.2 [INFO] [stderr] Compiling bevy_app v0.13.2 [INFO] [stderr] Compiling bevy_log v0.13.2 [INFO] [stderr] Compiling bevy_core v0.13.2 [INFO] [stderr] Compiling bevy_input v0.13.2 [INFO] [stderr] Compiling bevy_time v0.13.2 [INFO] [stderr] Compiling bevy_a11y v0.13.2 [INFO] [stderr] Compiling bevy_asset v0.13.2 [INFO] [stderr] Compiling bevy_hierarchy v0.13.2 [INFO] [stderr] Compiling bevy_transform v0.13.2 [INFO] [stderr] Compiling bevy_diagnostic v0.13.2 [INFO] [stderr] Compiling bevy_window v0.13.2 [INFO] [stderr] Compiling bevy_gilrs v0.13.2 [INFO] [stderr] Compiling bevy_winit v0.13.2 [INFO] [stderr] Compiling bevy_audio v0.13.2 [INFO] [stderr] Compiling bevy_render v0.13.2 [INFO] [stderr] Compiling bevy_core_pipeline v0.13.2 [INFO] [stderr] Compiling bevy_scene v0.13.2 [INFO] [stderr] Compiling bevy_animation v0.13.2 [INFO] [stderr] Compiling bevy_mod_debugdump v0.10.0 [INFO] [stderr] Compiling bevy_sprite v0.13.2 [INFO] [stderr] Compiling bevy_pbr v0.13.2 [INFO] [stderr] Compiling bevy_text v0.13.2 [INFO] [stderr] Compiling bevy_ui v0.13.2 [INFO] [stderr] Compiling bevy_gltf v0.13.2 [INFO] [stderr] Compiling bevy_gizmos v0.13.2 [INFO] [stderr] Compiling bevy_internal v0.13.2 [INFO] [stderr] Compiling bevy v0.13.2 [INFO] [stderr] Compiling bevy_egui v0.25.0 [INFO] [stderr] Compiling bevy-inspector-egui v0.23.4 [INFO] [stderr] Compiling bevy_editor_pls_core v0.8.1 [INFO] [stderr] Compiling bevy_editor_pls_default_windows v0.8.1 [INFO] [stderr] Compiling bevy_editor_pls v0.8.1 [INFO] [stderr] Compiling run v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | if let status = copy_of_status_manager.unwrap().clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:99:56 [INFO] [stdout] | [INFO] [stdout] 99 | if let status = copy_of_status_manager.unwrap().clone() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PlayerStatusManager` does not implement `Clone`, so calling `clone` on `&PlayerStatusManager` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 99 - if let status = copy_of_status_manager.unwrap().clone() { [INFO] [stdout] 99 + if let status = copy_of_status_manager.unwrap() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PlayerStatusManager`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 297 + #[derive(Clone)] [INFO] [stdout] 298 | struct PlayerStatusManager { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 32s [INFO] running `Command { std: "docker" "inspect" "0de956a24159bb3cf3c730537cab11b17fce146401ed330bc60c1e2c1ef915a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de956a24159bb3cf3c730537cab11b17fce146401ed330bc60c1e2c1ef915a9", kill_on_drop: false }` [INFO] [stdout] 0de956a24159bb3cf3c730537cab11b17fce146401ed330bc60c1e2c1ef915a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 3530c1f029a5d5ba5247e657979c05953758ed94d3e011547d06ae735370ec66 [INFO] running `Command { std: "docker" "start" "-a" "3530c1f029a5d5ba5247e657979c05953758ed94d3e011547d06ae735370ec66", kill_on_drop: false }` [INFO] [stderr] Compiling run v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | if let status = copy_of_status_manager.unwrap().clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:99:56 [INFO] [stdout] | [INFO] [stdout] 99 | if let status = copy_of_status_manager.unwrap().clone() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `PlayerStatusManager` does not implement `Clone`, so calling `clone` on `&PlayerStatusManager` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 99 - if let status = copy_of_status_manager.unwrap().clone() { [INFO] [stdout] 99 + if let status = copy_of_status_manager.unwrap() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `PlayerStatusManager`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 297 + #[derive(Clone)] [INFO] [stdout] 298 | struct PlayerStatusManager { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.19s [INFO] running `Command { std: "docker" "inspect" "3530c1f029a5d5ba5247e657979c05953758ed94d3e011547d06ae735370ec66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3530c1f029a5d5ba5247e657979c05953758ed94d3e011547d06ae735370ec66", kill_on_drop: false }` [INFO] [stdout] 3530c1f029a5d5ba5247e657979c05953758ed94d3e011547d06ae735370ec66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] f487203996d10c45eaa1003366de7d104edac27c65c7aa6bb6d2d8de4708fad6 [INFO] running `Command { std: "docker" "start" "-a" "f487203996d10c45eaa1003366de7d104edac27c65c7aa6bb6d2d8de4708fad6", kill_on_drop: false }` [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/main.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 99 | if let status = copy_of_status_manager.unwrap().clone() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:99:56 [INFO] [stderr] | [INFO] [stderr] 99 | if let status = copy_of_status_manager.unwrap().clone() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `PlayerStatusManager` does not implement `Clone`, so calling `clone` on `&PlayerStatusManager` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 99 - if let status = copy_of_status_manager.unwrap().clone() { [INFO] [stderr] 99 + if let status = copy_of_status_manager.unwrap() { [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `PlayerStatusManager`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 297 + #[derive(Clone)] [INFO] [stderr] 298 | struct PlayerStatusManager { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `run` (bin "run" test) generated 2 warnings (run `cargo fix --bin "run" -p run --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/run/9bcfeb4b887720fe/deps/run-9bcfeb4b887720fe) [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" "f487203996d10c45eaa1003366de7d104edac27c65c7aa6bb6d2d8de4708fad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f487203996d10c45eaa1003366de7d104edac27c65c7aa6bb6d2d8de4708fad6", kill_on_drop: false }` [INFO] [stdout] f487203996d10c45eaa1003366de7d104edac27c65c7aa6bb6d2d8de4708fad6