[INFO] cloning repository https://github.com/LinkTheDot/rustris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LinkTheDot/rustris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinkTheDot%2Frustris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinkTheDot%2Frustris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 954e7747dd07f27470727cf142b3a000e5841f0f [INFO] checking LinkTheDot/rustris/954e7747dd07f27470727cf142b3a000e5841f0f against master#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinkTheDot%2Frustris" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LinkTheDot/rustris [INFO] finished tweaking git repo https://github.com/LinkTheDot/rustris [INFO] tweaked toml for git repo https://github.com/LinkTheDot/rustris written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LinkTheDot/rustris on toolchain fe55364329579d361b1ab565728bc033a7dba07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LinkTheDot/rustris 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" "+fe55364329579d361b1ab565728bc033a7dba07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding android-activity v0.6.0 [INFO] [stderr] Adding arc-swap v1.7.1 [INFO] [stderr] Updating bitflags v2.4.2 -> v2.9.4 [INFO] [stderr] Adding block2 v0.5.1 [INFO] [stderr] Adding cfg_aliases v0.2.1 [INFO] [stderr] Updating chrono v0.4.34 -> v0.4.41 [INFO] [stderr] Adding derive_more v2.0.1 [INFO] [stderr] Adding derive_more-impl v2.0.1 [INFO] [stderr] Adding destructure_traitobject v0.2.0 [INFO] [stderr] Adding dpi v0.1.2 [INFO] [stderr] Adding fnv v1.0.7 [INFO] [stderr] Adding fontdue v0.8.0 (available: v0.9.3) [INFO] [stderr] Adding game-loop v1.3.0 [INFO] [stderr] Adding getrandom v0.3.3 [INFO] [stderr] Updating libc v0.2.153 -> v0.2.175 [INFO] [stderr] Updating log v0.4.20 -> v0.4.28 [INFO] [stderr] Adding log-mdc v0.1.0 [INFO] [stderr] Adding log4rs v1.4.0 [INFO] [stderr] Adding maplit v1.0.2 [INFO] [stderr] Adding mock_instant v0.6.0 [INFO] [stderr] Adding ndk v0.9.0 [INFO] [stderr] Adding ndk-sys v0.6.0+11769913 [INFO] [stderr] Updating objc-sys v0.3.2 -> v0.3.5 [INFO] [stderr] Adding objc2 v0.5.2 [INFO] [stderr] Adding objc2-app-kit v0.2.2 [INFO] [stderr] Adding objc2-cloud-kit v0.2.2 [INFO] [stderr] Adding objc2-contacts v0.2.2 [INFO] [stderr] Adding objc2-core-data v0.2.2 [INFO] [stderr] Adding objc2-core-image v0.2.2 [INFO] [stderr] Adding objc2-core-location v0.2.2 [INFO] [stderr] Adding objc2-encode v4.1.0 [INFO] [stderr] Adding objc2-foundation v0.2.2 [INFO] [stderr] Adding objc2-link-presentation v0.2.2 [INFO] [stderr] Adding objc2-metal v0.2.2 [INFO] [stderr] Adding objc2-quartz-core v0.2.2 [INFO] [stderr] Adding objc2-symbols v0.2.2 [INFO] [stderr] Adding objc2-ui-kit v0.2.2 [INFO] [stderr] Adding objc2-uniform-type-identifiers v0.2.2 [INFO] [stderr] Adding objc2-user-notifications v0.2.2 [INFO] [stderr] Adding ordered-float v2.10.1 [INFO] [stderr] Adding pin-project v1.1.10 [INFO] [stderr] Adding pin-project-internal v1.1.10 [INFO] [stderr] Adding ppv-lite86 v0.2.21 [INFO] [stderr] Updating proc-macro2 v1.0.78 -> v1.0.101 [INFO] [stderr] Adding r-efi v5.3.0 [INFO] [stderr] Updating rand v0.8.5 -> v0.9.2 [INFO] [stderr] Adding rand_chacha v0.9.0 [INFO] [stderr] Updating rand_core v0.6.4 -> v0.9.3 [INFO] [stderr] Adding sctk-adwaita v0.9.1 [INFO] [stderr] Adding serde-value v0.7.0 [INFO] [stderr] Adding serde_yaml v0.9.34+deprecated [INFO] [stderr] Updating syn v2.0.48 -> v2.0.106 [INFO] [stderr] Adding thiserror v2.0.16 [INFO] [stderr] Adding thiserror-impl v2.0.16 [INFO] [stderr] Adding thread-id v5.0.0 [INFO] [stderr] Adding typemap-ors v1.0.0 [INFO] [stderr] Adding unsafe-any-ors v1.0.0 [INFO] [stderr] Adding unsafe-libyaml v0.2.11 [INFO] [stderr] Adding wasi v0.14.3+wasi-0.2.4 [INFO] [stderr] Adding windows-link v0.1.3 [INFO] [stderr] Adding windows-sys v0.59.0 [INFO] [stderr] Updating windows-targets v0.52.0 -> v0.52.6 [INFO] [stderr] Updating windows_aarch64_gnullvm v0.52.0 -> v0.52.6 [INFO] [stderr] Updating windows_aarch64_msvc v0.52.0 -> v0.52.6 [INFO] [stderr] Updating windows_i686_gnu v0.52.0 -> v0.52.6 [INFO] [stderr] Adding windows_i686_gnullvm v0.52.6 [INFO] [stderr] Updating windows_i686_msvc v0.52.0 -> v0.52.6 [INFO] [stderr] Updating windows_x86_64_gnu v0.52.0 -> v0.52.6 [INFO] [stderr] Updating windows_x86_64_gnullvm v0.52.0 -> v0.52.6 [INFO] [stderr] Updating windows_x86_64_msvc v0.52.0 -> v0.52.6 [INFO] [stderr] Adding winit v0.30.3 (available: v0.30.12) [INFO] [stderr] Adding wit-bindgen v0.45.1 [INFO] [stderr] Adding zerocopy v0.8.26 [INFO] [stderr] Adding zerocopy-derive v0.8.26 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winit_input_helper v0.15.3 [INFO] [stderr] Downloaded mock_instant v0.6.0 [INFO] [stderr] Downloaded web-time v1.0.0 [INFO] [stderr] Downloaded thread-id v5.0.0 [INFO] [stderr] Downloaded log4rs v1.4.0 [INFO] [stderr] Downloaded winit v0.29.10 [INFO] [stderr] Downloaded fontdue v0.8.0 [INFO] [stderr] Downloaded game-loop v1.3.0 [INFO] [stderr] Downloaded git2 v0.18.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 135418bb664e38e65153b280a66baae6ce4fdb078d137a3beee0245a572d2b1f [INFO] running `Command { std: "docker" "start" "-a" "135418bb664e38e65153b280a66baae6ce4fdb078d137a3beee0245a572d2b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "135418bb664e38e65153b280a66baae6ce4fdb078d137a3beee0245a572d2b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "135418bb664e38e65153b280a66baae6ce4fdb078d137a3beee0245a572d2b1f", kill_on_drop: false }` [INFO] [stdout] 135418bb664e38e65153b280a66baae6ce4fdb078d137a3beee0245a572d2b1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b02022f1426831fe4845566e37a6073a5542e9efc786527f7dc81455828fcf0b [INFO] running `Command { std: "docker" "start" "-a" "b02022f1426831fe4845566e37a6073a5542e9efc786527f7dc81455828fcf0b", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking profiling v1.0.14 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Compiling winit v0.30.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking khronos-egl v4.1.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking thread-id v5.0.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Checking ultraviolet v0.9.2 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking mock_instant v0.6.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking web-time v1.0.0 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking fontdue v0.8.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking thiserror v2.0.16 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Compiling git2 v0.18.2 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking log4rs v1.4.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Compiling rustris v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking sctk-adwaita v0.9.1 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking winit_input_helper v0.15.3 [INFO] [stderr] Checking pixels v0.13.0 [INFO] [stderr] Checking game-loop v1.3.0 [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | match image::load_from_memory(include_bytes!(concat!(env!("PWD"), $path))) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | "menu_start_v1" => image_from_path!("/assets/start_v1.png"), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` which comes from the expansion of the macro `image_from_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | match image::load_from_memory(include_bytes!(concat!(env!("PWD"), $path))) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | "menu_start_v2" => image_from_path!("/assets/start_v2.png"), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` which comes from the expansion of the macro `image_from_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | match image::load_from_memory(include_bytes!(concat!(env!("PWD"), $path))) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | "menu_options" => image_from_path!("/assets/options.png"), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` which comes from the expansion of the macro `image_from_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | match image::load_from_memory(include_bytes!(concat!(env!("PWD"), $path))) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | "menu_exit" => image_from_path!("/assets/exit.png"), [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` which comes from the expansion of the macro `image_from_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | match image::load_from_memory(include_bytes!(concat!(env!("PWD"), $path))) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | "menu_background" => image_from_path!("/assets/background.png"), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` which comes from the expansion of the macro `image_from_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | "gadugi" => include_bytes!(concat!(env!("PWD"), "/assets/gadugi-normal.ttf")) as &[u8], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/general_data/logging.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/rustris_config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | match image::load_from_memory(include_bytes!(concat!(env!("PWD"), $path))) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | "menu_start_v1" => image_from_path!("/assets/start_v1.png"), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` which comes from the expansion of the macro `image_from_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | match image::load_from_memory(include_bytes!(concat!(env!("PWD"), $path))) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | "menu_start_v2" => image_from_path!("/assets/start_v2.png"), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` which comes from the expansion of the macro `image_from_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | match image::load_from_memory(include_bytes!(concat!(env!("PWD"), $path))) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | "menu_options" => image_from_path!("/assets/options.png"), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` which comes from the expansion of the macro `image_from_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | match image::load_from_memory(include_bytes!(concat!(env!("PWD"), $path))) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | "menu_exit" => image_from_path!("/assets/exit.png"), [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` which comes from the expansion of the macro `image_from_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | match image::load_from_memory(include_bytes!(concat!(env!("PWD"), $path))) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | "menu_background" => image_from_path!("/assets/background.png"), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` which comes from the expansion of the macro `image_from_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `PWD` not defined at compile time [INFO] [stdout] --> src/asset_loader.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | "gadugi" => include_bytes!(concat!(env!("PWD"), "/assets/gadugi-normal.ttf")) as &[u8], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("PWD")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/general_data/logging.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/rustris_config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/rustris_config.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 106 | game_loop( [INFO] [stdout] | --------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 112 | Self::update_game, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] ... [INFO] [stdout] 120 | fn update_game(game_loop: &mut GameLoop>) { [INFO] [stdout] | ----------------------------------------------------------------- found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `for<'a> fn(&'a mut GameLoop<_, _, Arc>) -> _` [INFO] [stdout] found function signature `fn(&mut GameLoop<_, _, Arc>) -> _` [INFO] [stdout] note: required by a bound in `game_loop` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/game-loop-1.3.0/src/helper.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn game_loop(event_loop: EventLoop, window: Arc, game: G, updates_per_second: u32, max_frame_time: f64,... [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 65 | where G: 'static, [INFO] [stdout] 66 | U: FnMut(&mut GameLoop>) + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `game_loop` [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 112 | |arg0: &mut GameLoop>| Self::update_game(/* &mut GameLoop> */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/rustris_config.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 106 | game_loop( [INFO] [stdout] | --------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 113 | Self::render, [INFO] [stdout] | ^^^^^^^^^^^^ expected due to this [INFO] [stdout] ... [INFO] [stdout] 138 | fn render(game_loop: &mut GameLoop>) { [INFO] [stdout] | ------------------------------------------------------------ found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `for<'a> fn(&'a mut GameLoop<_, _, Arc>) -> _` [INFO] [stdout] found function signature `fn(&mut GameLoop<_, _, Arc>) -> _` [INFO] [stdout] note: required by a bound in `game_loop` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/game-loop-1.3.0/src/helper.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn game_loop(event_loop: EventLoop, window: Arc, game: G, updates_per_second: u32, max_frame_time: f64,... [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 67 | R: FnMut(&mut GameLoop>) + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `game_loop` [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 113 | |arg0: &mut GameLoop>| Self::render(/* &mut GameLoop> */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/rustris_config.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 106 | game_loop( [INFO] [stdout] | --------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 114 | Self::handle_winit_events, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] ... [INFO] [stdout] 175 | fn handle_winit_events(game_loop: &mut GameLoop>, event: &Event<()>) { [INFO] [stdout] | -------------------------------------------------------------------------------------------- found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `for<'a, 'b> fn(&'a mut GameLoop<_, _, Arc>, &'b game_loop::winit::event::Event<_>) -> _` [INFO] [stdout] found function signature `fn(&mut GameLoop<_, _, Arc>, &winit::event::Event<()>) -> _` [INFO] [stdout] note: required by a bound in `game_loop` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/game-loop-1.3.0/src/helper.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn game_loop(event_loop: EventLoop, window: Arc, game: G, updates_per_second: u32, max_frame_time: f64,... [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 68 | H: FnMut(&mut GameLoop>, &Event) + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `game_loop` [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 114 | |arg0: &mut GameLoop>, arg1| Self::handle_winit_events(/* &mut GameLoop> */, /* &winit::event::Event<()> */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rustris_config.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | game_loop( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `EventLoop<_>`, found `EventLoop<()>` [INFO] [stdout] --> src/rustris_config.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | event_loop, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: two different versions of crate `winit` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.29.10/src/event_loop.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct EventLoop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `winit::event_loop::EventLoop` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.3/src/event_loop.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct EventLoop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `game_loop::winit::event_loop::EventLoop` [INFO] [stdout] | [INFO] [stdout] ::: src/rustris_config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use game_loop::{game_loop, GameLoop, Time, TimeTrait}; [INFO] [stdout] | --------- one version of crate `winit` used here, as a dependency of crate `game_loop` [INFO] [stdout] | [INFO] [stdout] ::: src/general_data/winit_traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::Event; [INFO] [stdout] | ----- one version of crate `winit` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `game_loop::winit::window::Window`, found `winit::window::Window` [INFO] [stdout] --> src/rustris_config.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: two different versions of crate `winit` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.29.10/src/window.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Window { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the found type `winit::window::Window` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.3/src/window.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Window { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the expected type `game_loop::winit::window::Window` [INFO] [stdout] | [INFO] [stdout] ::: src/rustris_config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use game_loop::{game_loop, GameLoop, Time, TimeTrait}; [INFO] [stdout] | --------- one version of crate `winit` used here, as a dependency of crate `game_loop` [INFO] [stdout] | [INFO] [stdout] ::: src/general_data/winit_traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::Event; [INFO] [stdout] | ----- one version of crate `winit` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/game-loop-1.3.0/src/helper.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn game_loop(event_loop: EventLoop, window: Arc, game: G, updates_per_second: u32, max_frame_time: f64,... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/rustris_config.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 106 | game_loop( [INFO] [stdout] | --------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 112 | Self::update_game, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] ... [INFO] [stdout] 120 | fn update_game(game_loop: &mut GameLoop>) { [INFO] [stdout] | ----------------------------------------------------------------- found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `for<'a> fn(&'a mut GameLoop<_, _, Arc>) -> _` [INFO] [stdout] found function signature `fn(&mut GameLoop<_, _, Arc>) -> _` [INFO] [stdout] note: required by a bound in `game_loop` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/game-loop-1.3.0/src/helper.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn game_loop(event_loop: EventLoop, window: Arc, game: G, updates_per_second: u32, max_frame_time: f64,... [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 65 | where G: 'static, [INFO] [stdout] 66 | U: FnMut(&mut GameLoop>) + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `game_loop` [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 112 | |arg0: &mut GameLoop>| Self::update_game(/* &mut GameLoop> */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/rustris_config.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 106 | game_loop( [INFO] [stdout] | --------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 113 | Self::render, [INFO] [stdout] | ^^^^^^^^^^^^ expected due to this [INFO] [stdout] ... [INFO] [stdout] 138 | fn render(game_loop: &mut GameLoop>) { [INFO] [stdout] | ------------------------------------------------------------ found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `for<'a> fn(&'a mut GameLoop<_, _, Arc>) -> _` [INFO] [stdout] found function signature `fn(&mut GameLoop<_, _, Arc>) -> _` [INFO] [stdout] note: required by a bound in `game_loop` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/game-loop-1.3.0/src/helper.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn game_loop(event_loop: EventLoop, window: Arc, game: G, updates_per_second: u32, max_frame_time: f64,... [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 67 | R: FnMut(&mut GameLoop>) + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `game_loop` [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 113 | |arg0: &mut GameLoop>| Self::render(/* &mut GameLoop> */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/rustris_config.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 106 | game_loop( [INFO] [stdout] | --------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 114 | Self::handle_winit_events, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected due to this [INFO] [stdout] ... [INFO] [stdout] 175 | fn handle_winit_events(game_loop: &mut GameLoop>, event: &Event<()>) { [INFO] [stdout] | -------------------------------------------------------------------------------------------- found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `for<'a, 'b> fn(&'a mut GameLoop<_, _, Arc>, &'b game_loop::winit::event::Event<_>) -> _` [INFO] [stdout] found function signature `fn(&mut GameLoop<_, _, Arc>, &winit::event::Event<()>) -> _` [INFO] [stdout] note: required by a bound in `game_loop` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/game-loop-1.3.0/src/helper.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn game_loop(event_loop: EventLoop, window: Arc, game: G, updates_per_second: u32, max_frame_time: f64,... [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 68 | H: FnMut(&mut GameLoop>, &Event) + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `game_loop` [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 114 | |arg0: &mut GameLoop>, arg1| Self::handle_winit_events(/* &mut GameLoop> */, /* &winit::event::Event<()> */), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/rustris_config.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | game_loop( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `EventLoop<_>`, found `EventLoop<()>` [INFO] [stdout] --> src/rustris_config.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | event_loop, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: two different versions of crate `winit` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.29.10/src/event_loop.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct EventLoop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `winit::event_loop::EventLoop` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.3/src/event_loop.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct EventLoop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `game_loop::winit::event_loop::EventLoop` [INFO] [stdout] | [INFO] [stdout] ::: src/rustris_config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use game_loop::{game_loop, GameLoop, Time, TimeTrait}; [INFO] [stdout] | --------- one version of crate `winit` used here, as a dependency of crate `game_loop` [INFO] [stdout] | [INFO] [stdout] ::: src/general_data/winit_traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::Event; [INFO] [stdout] | ----- one version of crate `winit` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `game_loop::winit::window::Window`, found `winit::window::Window` [INFO] [stdout] --> src/rustris_config.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | window, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: two different versions of crate `winit` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.29.10/src/window.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Window { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the found type `winit::window::Window` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.3/src/window.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Window { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this is the expected type `game_loop::winit::window::Window` [INFO] [stdout] | [INFO] [stdout] ::: src/rustris_config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use game_loop::{game_loop, GameLoop, Time, TimeTrait}; [INFO] [stdout] | --------- one version of crate `winit` used here, as a dependency of crate `game_loop` [INFO] [stdout] | [INFO] [stdout] ::: src/general_data/winit_traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::Event; [INFO] [stdout] | ----- one version of crate `winit` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/game-loop-1.3.0/src/helper.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn game_loop(event_loop: EventLoop, window: Arc, game: G, updates_per_second: u32, max_frame_time: f64,... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustris` (lib test) due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustris` (lib) due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b02022f1426831fe4845566e37a6073a5542e9efc786527f7dc81455828fcf0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b02022f1426831fe4845566e37a6073a5542e9efc786527f7dc81455828fcf0b", kill_on_drop: false }` [INFO] [stdout] b02022f1426831fe4845566e37a6073a5542e9efc786527f7dc81455828fcf0b