[INFO] cloning repository https://github.com/solarsail/gfxrs-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/solarsail/gfxrs-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolarsail%2Fgfxrs-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolarsail%2Fgfxrs-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ddf7f82db43c2f684fe8ce99f09829fb27bcae5 [INFO] testing solarsail/gfxrs-playground against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsolarsail%2Fgfxrs-playground" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/solarsail/gfxrs-playground on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/solarsail/gfxrs-playground [INFO] finished tweaking git repo https://github.com/solarsail/gfxrs-playground [INFO] tweaked toml for git repo https://github.com/solarsail/gfxrs-playground written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/solarsail/gfxrs-playground 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded textwrap v0.7.0 [INFO] [stderr] Downloaded atty v0.2.2 [INFO] [stderr] Downloaded structopt-derive v0.1.0 [INFO] [stderr] Downloaded shell32-sys v0.1.1 [INFO] [stderr] Downloaded structopt v0.1.0 [INFO] [stderr] Downloaded phf_generator v0.7.21 [INFO] [stderr] Downloaded cgl v0.2.1 [INFO] [stderr] Downloaded term_size v0.3.0 [INFO] [stderr] Downloaded phf_shared v0.7.21 [INFO] [stderr] Downloaded siphasher v0.2.2 [INFO] [stderr] Downloaded gfx_window_glutin v0.17.0 [INFO] [stderr] Downloaded gfx_gl v0.3.1 [INFO] [stderr] Downloaded gleam v0.4.8 [INFO] [stderr] Downloaded gdi32-sys v0.1.1 [INFO] [stderr] Downloaded gfx v0.16.1 [INFO] [stderr] Downloaded approx v0.1.1 [INFO] [stderr] Downloaded xml-rs v0.6.1 [INFO] [stderr] Downloaded cgmath v0.15.0 [INFO] [stderr] Downloaded itoa v0.3.3 [INFO] [stderr] Downloaded wayland-client v0.9.9 [INFO] [stderr] Downloaded glutin v0.9.2 [INFO] [stderr] Downloaded futures v0.1.15 [INFO] [stderr] Downloaded deflate v0.7.16 [INFO] [stderr] Downloaded xml-rs v0.3.6 [INFO] [stderr] Downloaded winit v0.7.6 [INFO] [stderr] Downloaded derivative v1.0.0 [INFO] [stderr] Downloaded gfx_core v0.7.2 [INFO] [stderr] Downloaded core-graphics v0.8.2 [INFO] [stderr] Downloaded khronos_api v1.0.1 [INFO] [stderr] Downloaded image v0.15.0 [INFO] [stderr] Downloaded scoped_threadpool v0.1.7 [INFO] [stderr] Downloaded rayon v0.8.2 [INFO] [stderr] Downloaded x11-dl v2.15.0 [INFO] [stderr] Downloaded libc v0.2.30 [INFO] [stderr] Downloaded clap v2.26.0 [INFO] [stderr] Downloaded itertools v0.5.10 [INFO] [stderr] Downloaded memmap v0.4.0 [INFO] [stderr] Downloaded wayland-kbd v0.9.1 [INFO] [stderr] Downloaded tempfile v2.1.6 [INFO] [stderr] Downloaded wayland-protocols v0.9.9 [INFO] [stderr] Downloaded num_cpus v1.6.2 [INFO] [stderr] Downloaded rand v0.3.16 [INFO] [stderr] Downloaded rayon-core v1.2.1 [INFO] [stderr] Downloaded byteorder v1.1.0 [INFO] [stderr] Downloaded unicode-segmentation v1.2.0 [INFO] [stderr] Downloaded core-foundation-sys v0.3.1 [INFO] [stderr] Downloaded serde v0.9.15 [INFO] [stderr] Downloaded serde_json v0.9.10 [INFO] [stderr] Downloaded dlib v0.3.1 [INFO] [stderr] Downloaded wayland-sys v0.9.9 [INFO] [stderr] Downloaded coco v0.1.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.13 [INFO] [stderr] Downloaded bitflags v0.8.2 [INFO] [stderr] Downloaded draw_state v0.7.1 [INFO] [stderr] Downloaded gfx_device_gl v0.14.3 [INFO] [stderr] Downloaded cocoa v0.9.2 [INFO] [stderr] Downloaded core-foundation v0.4.4 [INFO] [stderr] Downloaded shared_library v0.1.7 [INFO] [stderr] Downloaded user32-sys v0.1.2 [INFO] [stderr] Downloaded fs2 v0.2.5 [INFO] [stderr] Downloaded libloading v0.3.4 [INFO] [stderr] Downloaded either v1.1.0 [INFO] [stderr] Downloaded magenta v0.1.1 [INFO] [stderr] Downloaded log v0.3.8 [INFO] [stderr] Downloaded png v0.9.0 [INFO] [stderr] Downloaded target_build_utils v0.3.1 [INFO] [stderr] Downloaded num-rational v0.1.39 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] [stderr] Downloaded dwmapi-sys v0.1.0 [INFO] [stderr] Downloaded phf v0.7.21 [INFO] [stderr] Downloaded gl_generator v0.5.5 [INFO] [stderr] Downloaded core-foundation-sys v0.4.4 [INFO] [stderr] Downloaded core-foundation v0.3.0 [INFO] [stderr] Downloaded wayland-scanner v0.9.9 [INFO] [stderr] Downloaded wayland-window v0.7.0 [INFO] [stderr] Downloaded scopeguard v0.3.2 [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded phf_codegen v0.7.21 [INFO] [stderr] Downloaded spin_sleep v0.3.1 [INFO] [stderr] Downloaded color_quant v1.0.0 [INFO] [stderr] Downloaded magenta-sys v0.1.1 [INFO] [stderr] Downloaded adler32 v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 541cfe3d7db09293e776d227ee4972b60d9359445f2cf6f01bb353824e85725c [INFO] running `Command { std: "docker" "start" "-a" "541cfe3d7db09293e776d227ee4972b60d9359445f2cf6f01bb353824e85725c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "541cfe3d7db09293e776d227ee4972b60d9359445f2cf6f01bb353824e85725c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "541cfe3d7db09293e776d227ee4972b60d9359445f2cf6f01bb353824e85725c", kill_on_drop: false }` [INFO] [stdout] 541cfe3d7db09293e776d227ee4972b60d9359445f2cf6f01bb353824e85725c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fa0bfdaf0642d876efd8b69fdf94fd7fa53cfae0f041f1d5a22e94c4c9e3ca7 [INFO] running `Command { std: "docker" "start" "-a" "3fa0bfdaf0642d876efd8b69fdf94fd7fa53cfae0f041f1d5a22e94c4c9e3ca7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.3 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling scopeguard v0.3.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling futures v0.1.15 [INFO] [stderr] Compiling draw_state v0.7.1 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling deflate v0.7.16 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling x11-dl v2.15.0 [INFO] [stderr] Compiling shared_library v0.1.7 [INFO] [stderr] Compiling num_cpus v1.6.2 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling textwrap v0.7.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling wayland-scanner v0.9.9 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling inflate v0.2.0 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling unicode-segmentation v1.2.0 [INFO] [stderr] Compiling num-rational v0.1.39 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling spin_sleep v0.3.1 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling tempfile v2.1.6 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling clap v2.26.0 [INFO] [stderr] Compiling wayland-client v0.9.9 [INFO] [stderr] Compiling wayland-protocols v0.9.9 [INFO] [stderr] Compiling cgmath v0.15.0 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling png v0.9.0 [INFO] [stderr] Compiling structopt-derive v0.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling image v0.15.0 [INFO] [stderr] Compiling gfx_core v0.7.2 [INFO] [stderr] Compiling gfx_device_gl v0.14.3 [INFO] [stderr] Compiling gfx v0.16.1 [INFO] [stderr] Compiling structopt v0.1.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.9 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling wayland-window v0.7.0 [INFO] [stderr] Compiling winit v0.7.6 [INFO] [stderr] Compiling gfx_window_glutin v0.17.0 [INFO] [stderr] Compiling light-casters v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] 85 + render::DirLight::new(light_color * 0.05, (light_color * 0.3), light_color, dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:85:57 [INFO] [stdout] | [INFO] [stdout] 85 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] 85 + render::DirLight::new((light_color * 0.05), light_color * 0.3, light_color, dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/system/camera.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 10 | | let mut m = HashMap::new(); [INFO] [stdout] 11 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/system/camera.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 10 | | let mut m = HashMap::new(); [INFO] [stdout] 11 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_fps` is assigned to, but never used [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut current_fps = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_fps` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_fps` is never read [INFO] [stdout] --> src/main.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | current_fps = Some(fps); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `spot` is never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | spot: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `projection_matrix` and `view_matrix` are never used [INFO] [stdout] --> src/system/camera.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl CameraSystem { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn projection_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn view_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, bitflags v0.8.2, syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3fa0bfdaf0642d876efd8b69fdf94fd7fa53cfae0f041f1d5a22e94c4c9e3ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa0bfdaf0642d876efd8b69fdf94fd7fa53cfae0f041f1d5a22e94c4c9e3ca7", kill_on_drop: false }` [INFO] [stdout] 3fa0bfdaf0642d876efd8b69fdf94fd7fa53cfae0f041f1d5a22e94c4c9e3ca7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a069fe53570f02b6749c6c97c0297185c4e6e529e2a4710783a27de7b036b9a [INFO] running `Command { std: "docker" "start" "-a" "5a069fe53570f02b6749c6c97c0297185c4e6e529e2a4710783a27de7b036b9a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling light-casters v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] 85 + render::DirLight::new(light_color * 0.05, (light_color * 0.3), light_color, dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:85:57 [INFO] [stdout] | [INFO] [stdout] 85 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 85 - render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stdout] 85 + render::DirLight::new((light_color * 0.05), light_color * 0.3, light_color, dir) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/system/camera.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 10 | | let mut m = HashMap::new(); [INFO] [stdout] 11 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/system/camera.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref KEY_MAP: HashMap = { [INFO] [stdout] 10 | | let mut m = HashMap::new(); [INFO] [stdout] 11 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stdout] ... | [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_fps` is assigned to, but never used [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let mut current_fps = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_fps` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_fps` is never read [INFO] [stdout] --> src/main.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | current_fps = Some(fps); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `spot` is never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | spot: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `projection_matrix` and `view_matrix` are never used [INFO] [stdout] --> src/system/camera.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl CameraSystem { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn projection_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn view_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Opt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, bitflags v0.8.2, syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5a069fe53570f02b6749c6c97c0297185c4e6e529e2a4710783a27de7b036b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a069fe53570f02b6749c6c97c0297185c4e6e529e2a4710783a27de7b036b9a", kill_on_drop: false }` [INFO] [stdout] 5a069fe53570f02b6749c6c97c0297185c4e6e529e2a4710783a27de7b036b9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 074d8d88da8b4f0f5c10e305d8ddd5a1e419ec149ae2b094a7756720efed3dc3 [INFO] running `Command { std: "docker" "start" "-a" "074d8d88da8b4f0f5c10e305d8ddd5a1e419ec149ae2b094a7756720efed3dc3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:85:35 [INFO] [stderr] | [INFO] [stderr] 85 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 85 - render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stderr] 85 + render::DirLight::new(light_color * 0.05, (light_color * 0.3), light_color, dir) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:85:57 [INFO] [stderr] | [INFO] [stderr] 85 | render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 85 - render::DirLight::new((light_color * 0.05), (light_color * 0.3), light_color, dir) [INFO] [stderr] 85 + render::DirLight::new((light_color * 0.05), light_color * 0.3, light_color, dir) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/system/camera.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / lazy_static! { [INFO] [stderr] 9 | | static ref KEY_MAP: HashMap = { [INFO] [stderr] 10 | | let mut m = HashMap::new(); [INFO] [stderr] 11 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stderr] ... | [INFO] [stderr] 16 | | }; [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/system/camera.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / lazy_static! { [INFO] [stderr] 9 | | static ref KEY_MAP: HashMap = { [INFO] [stderr] 10 | | let mut m = HashMap::new(); [INFO] [stderr] 11 | | m.insert(VirtualKeyCode::W, MD::Up); [INFO] [stderr] ... | [INFO] [stderr] 16 | | }; [INFO] [stderr] 17 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `current_fps` is assigned to, but never used [INFO] [stderr] --> src/main.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | let mut current_fps = None; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_current_fps` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `current_fps` is never read [INFO] [stderr] --> src/main.rs:148:13 [INFO] [stderr] | [INFO] [stderr] 148 | current_fps = Some(fps); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `spot` is never read [INFO] [stderr] --> src/main.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 40 | struct Opt { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 46 | spot: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `projection_matrix` and `view_matrix` are never used [INFO] [stderr] --> src/system/camera.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl CameraSystem { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn projection_matrix(&self) -> Matrix4 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn view_matrix(&self) -> Matrix4 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(StructOpt)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Opt` is not local [INFO] [stderr] | `StructOpt` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | #[derive(StructOpt)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Opt` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `light-casters` (bin "light-casters" test) generated 10 warnings (run `cargo fix --bin "light-casters" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, bitflags v0.8.2, syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/light_casters-5fae0040069386c1) [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" "074d8d88da8b4f0f5c10e305d8ddd5a1e419ec149ae2b094a7756720efed3dc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "074d8d88da8b4f0f5c10e305d8ddd5a1e419ec149ae2b094a7756720efed3dc3", kill_on_drop: false }` [INFO] [stdout] 074d8d88da8b4f0f5c10e305d8ddd5a1e419ec149ae2b094a7756720efed3dc3