[INFO] fetching crate sdl3 0.11.14... [INFO] checking sdl3-0.11.14 against try#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688-1 [INFO] extracting crate sdl3 0.11.14 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate sdl3 0.11.14 on toolchain a0cd57eba5d417638d3351ba13fc414ad1a24bec [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sdl3 0.11.14 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sdl3 0.11.14 [INFO] tweaked toml for crates.io crate sdl3 0.11.14 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate sdl3 0.11.14 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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.1.3+SDL3-preview-3.1.6` for dependency `sdl3-sys` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cbff57b28f1643a44eb63928a8530eb4ece307974945c00a045e99530396bfb [INFO] running `Command { std: "docker" "start" "-a" "6cbff57b28f1643a44eb63928a8530eb4ece307974945c00a045e99530396bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cbff57b28f1643a44eb63928a8530eb4ece307974945c00a045e99530396bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cbff57b28f1643a44eb63928a8530eb4ece307974945c00a045e99530396bfb", kill_on_drop: false }` [INFO] [stdout] 6cbff57b28f1643a44eb63928a8530eb4ece307974945c00a045e99530396bfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f906f6101e72cf4e6d420ba539530ddc287cf4c55f6c2e09c357bbcedbbec52 [INFO] running `Command { std: "docker" "start" "-a" "5f906f6101e72cf4e6d420ba539530ddc287cf4c55f6c2e09c357bbcedbbec52", kill_on_drop: false }` [INFO] [stderr] warning: version requirement `0.1.3+SDL3-preview-3.1.6` for dependency `sdl3-sys` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion [INFO] [stderr] warning: invalid feature `image` in required-features of target `cursor`: `image` is not present in [features] section [INFO] [stderr] warning: invalid feature `image` in required-features of target `image-demo`: `image` is not present in [features] section [INFO] [stderr] warning: invalid feature `mixer` in required-features of target `mixer-demo`: `mixer` is not present in [features] section [INFO] [stderr] warning: invalid feature `ttf` in required-features of target `resource-manager`: `ttf` is not present in [features] section [INFO] [stderr] warning: invalid feature `image` in required-features of target `resource-manager`: `image` is not present in [features] section [INFO] [stderr] warning: invalid feature `ttf` in required-features of target `ttf-demo`: `ttf` is not present in [features] section [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling naga v23.0.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling wgpu-hal v23.0.1 [INFO] [stderr] Compiling sdl3-sys v0.1.3+SDL3-preview-3.1.6 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking wgpu-types v23.0.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling wgpu-core v23.0.1 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking glow v0.14.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking profiling v1.0.8 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling wgpu v23.0.1 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling sdl3 v0.11.14 (/opt/rustwide/workdir) [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking petgraph v0.6.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.8.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stdout] warning: unexpected `cfg` condition value: `image` [INFO] [stdout] --> src/sdl3/lib.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(feature = "image")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `build-from-source`, `build-from-source-static`, `build-from-source-unix-console`, `c_vec`, `default`, `gfx`, `hidapi`, `link-framework`, `raw-window-handle`, `static-link`, `test-mode`, `unsafe_textures`, `use-pkg-config`, and `use-vcpkg` [INFO] [stdout] = help: consider adding `image` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `mixer` [INFO] [stdout] --> src/sdl3/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "mixer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `build-from-source`, `build-from-source-static`, `build-from-source-unix-console`, `c_vec`, `default`, `gfx`, `hidapi`, `link-framework`, `raw-window-handle`, `static-link`, `test-mode`, `unsafe_textures`, `use-pkg-config`, and `use-vcpkg` [INFO] [stdout] = help: consider adding `mixer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ttf` [INFO] [stdout] --> src/sdl3/lib.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "ttf")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `build-from-source`, `build-from-source-static`, `build-from-source-unix-console`, `c_vec`, `default`, `gfx`, `hidapi`, `link-framework`, `raw-window-handle`, `static-link`, `test-mode`, `unsafe_textures`, `use-pkg-config`, and `use-vcpkg` [INFO] [stdout] = help: consider adding `ttf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stdout] warning: unused import: `std::convert::Into` [INFO] [stdout] --> src/sdl3/gamepad.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sdl3/audio.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | let devices = unsafe { get_devices(&mut num_devices) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdl3/video.rs:1199:17 [INFO] [stdout] | [INFO] [stdout] 1199 | let mut metal_view = 0 as sys::metal::SDL_MetalView; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdl3/video.rs:1376:17 [INFO] [stdout] | [INFO] [stdout] 1376 | let mut metal_view = 0 as sys::metal::SDL_MetalView; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_ll` is never used [INFO] [stdout] --> src/sdl3/event.rs:479:8 [INFO] [stdout] | [INFO] [stdout] 460 | impl DisplayEvent { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 479 | fn to_ll(self) -> (u32, i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/sdl3/filesystem.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 285 | impl GlobResults<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 294 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/sdl3/joystick.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct JoystickInstance { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 17 | pub id: SDL_JoystickID, [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_access` and `get_gl_texture_id` are never used [INFO] [stdout] --> src/sdl3/render.rs:1867:12 [INFO] [stdout] | [INFO] [stdout] 1849 | impl InternalTexture { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1867 | pub fn get_access(&self) -> TextureAccess { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2204 | unsafe fn get_gl_texture_id(&self) -> Sint64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CAMERA_COUNT` is never used [INFO] [stdout] --> src/sdl3/sdl.rs:316:46 [INFO] [stdout] | [INFO] [stdout] 316 | subsystem!(CameraSubsystem, SDL_INIT_CAMERA, CAMERA_COUNT, nosync); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `subsystem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sdl3/sdl.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 232 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | fn new(sdl: &Sdl) -> Result<$name, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | subsystem!(CameraSubsystem, SDL_INIT_CAMERA, CAMERA_COUNT, nosync); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `subsystem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl3/render.rs:615:18 [INFO] [stdout] | [INFO] [stdout] 615 | unsafe { self.set_raw_target(texture.raw) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 615 | unsafe { let _ = self.set_raw_target(texture.raw); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl3/render.rs:617:18 [INFO] [stdout] | [INFO] [stdout] 617 | unsafe { self.set_raw_target(target) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 617 | unsafe { let _ = self.set_raw_target(target); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl3/render.rs:687:22 [INFO] [stdout] | [INFO] [stdout] 687 | unsafe { self.set_raw_target(texture.raw) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 687 | unsafe { let _ = self.set_raw_target(texture.raw); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl3/render.rs:691:18 [INFO] [stdout] | [INFO] [stdout] 691 | unsafe { self.set_raw_target(target) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 691 | unsafe { let _ = self.set_raw_target(target); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_timerID` should have a snake case name [INFO] [stdout] --> src/sdl3/timer.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | _timerID: sys::timer::SDL_TimerID, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_timer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stdout] warning: unexpected `cfg` condition value: `` [INFO] [stdout] --> examples/audio-wav.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(feature = "")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `build-from-source`, `build-from-source-static`, `build-from-source-unix-console`, `c_vec`, `default`, `gfx`, `hidapi`, `link-framework`, `raw-window-handle`, `static-link`, `test-mode`, `unsafe_textures`, `use-pkg-config`, and `use-vcpkg` [INFO] [stdout] = help: consider adding `` as a feature in `Cargo.toml` [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 imports: `AudioSpecWAV` and `AudioSpec` [INFO] [stdout] --> examples/audio-wav.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl3::audio::{AudioCallback, AudioSpec, AudioSpecWAV}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> examples/audio-wav.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> examples/audio-wav.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/audio-wav.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sound` is never constructed [INFO] [stdout] --> examples/audio-wav.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Sound { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `` [INFO] [stdout] --> examples/audio-queue-squarewave.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(feature = "")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `build-from-source`, `build-from-source-static`, `build-from-source-unix-console`, `c_vec`, `default`, `gfx`, `hidapi`, `link-framework`, `raw-window-handle`, `static-link`, `test-mode`, `unsafe_textures`, `use-pkg-config`, and `use-vcpkg` [INFO] [stdout] = help: consider adding `` as a feature in `Cargo.toml` [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: `sdl3::audio::AudioSpec` [INFO] [stdout] --> examples/audio-queue-squarewave.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl3::audio::AudioSpec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/audio-queue-squarewave.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hello` and `goodbye` are never read [INFO] [stdout] --> examples/properties.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct TestData<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | pub hello: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub goodbye: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_wave` is never used [INFO] [stdout] --> examples/audio-queue-squarewave.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn gen_wave(bytes_to_write: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> examples/draw_triangle.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | color: Color, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `image` [INFO] [stdout] --> src/sdl3/lib.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(feature = "image")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `build-from-source`, `build-from-source-static`, `build-from-source-unix-console`, `c_vec`, `default`, `gfx`, `hidapi`, `link-framework`, `raw-window-handle`, `static-link`, `test-mode`, `unsafe_textures`, `use-pkg-config`, and `use-vcpkg` [INFO] [stdout] = help: consider adding `image` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `mixer` [INFO] [stdout] --> src/sdl3/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "mixer")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `build-from-source`, `build-from-source-static`, `build-from-source-unix-console`, `c_vec`, `default`, `gfx`, `hidapi`, `link-framework`, `raw-window-handle`, `static-link`, `test-mode`, `unsafe_textures`, `use-pkg-config`, and `use-vcpkg` [INFO] [stdout] = help: consider adding `mixer` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ttf` [INFO] [stdout] --> src/sdl3/lib.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "ttf")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `build-from-source`, `build-from-source-static`, `build-from-source-unix-console`, `c_vec`, `default`, `gfx`, `hidapi`, `link-framework`, `raw-window-handle`, `static-link`, `test-mode`, `unsafe_textures`, `use-pkg-config`, and `use-vcpkg` [INFO] [stdout] = help: consider adding `ttf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Into` [INFO] [stdout] --> src/sdl3/gamepad.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sdl3/audio.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | let devices = unsafe { get_devices(&mut num_devices) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sdl3/event.rs:2976:9 [INFO] [stdout] | [INFO] [stdout] 2976 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/sdl3/event.rs:3003:9 [INFO] [stdout] | [INFO] [stdout] 3003 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sdl_context` [INFO] [stdout] --> src/sdl3/timer.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let sdl_context = crate::sdl::init().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sdl_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdl3/video.rs:1199:17 [INFO] [stdout] | [INFO] [stdout] 1199 | let mut metal_view = 0 as sys::metal::SDL_MetalView; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sdl3/video.rs:1376:17 [INFO] [stdout] | [INFO] [stdout] 1376 | let mut metal_view = 0 as sys::metal::SDL_MetalView; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_ll` is never used [INFO] [stdout] --> src/sdl3/event.rs:479:8 [INFO] [stdout] | [INFO] [stdout] 460 | impl DisplayEvent { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 479 | fn to_ll(self) -> (u32, i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/sdl3/filesystem.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 285 | impl GlobResults<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 294 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/sdl3/joystick.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct JoystickInstance { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 17 | pub id: SDL_JoystickID, [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_access` and `get_gl_texture_id` are never used [INFO] [stdout] --> src/sdl3/render.rs:1867:12 [INFO] [stdout] | [INFO] [stdout] 1849 | impl InternalTexture { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1867 | pub fn get_access(&self) -> TextureAccess { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2204 | unsafe fn get_gl_texture_id(&self) -> Sint64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CAMERA_COUNT` is never used [INFO] [stdout] --> src/sdl3/sdl.rs:316:46 [INFO] [stdout] | [INFO] [stdout] 316 | subsystem!(CameraSubsystem, SDL_INIT_CAMERA, CAMERA_COUNT, nosync); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `subsystem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sdl3/sdl.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 232 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | fn new(sdl: &Sdl) -> Result<$name, String> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | subsystem!(CameraSubsystem, SDL_INIT_CAMERA, CAMERA_COUNT, nosync); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `subsystem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl3/render.rs:615:18 [INFO] [stdout] | [INFO] [stdout] 615 | unsafe { self.set_raw_target(texture.raw) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 615 | unsafe { let _ = self.set_raw_target(texture.raw); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl3/render.rs:617:18 [INFO] [stdout] | [INFO] [stdout] 617 | unsafe { self.set_raw_target(target) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 617 | unsafe { let _ = self.set_raw_target(target); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl3/render.rs:687:22 [INFO] [stdout] | [INFO] [stdout] 687 | unsafe { self.set_raw_target(texture.raw) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 687 | unsafe { let _ = self.set_raw_target(texture.raw); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sdl3/render.rs:691:18 [INFO] [stdout] | [INFO] [stdout] 691 | unsafe { self.set_raw_target(target) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 691 | unsafe { let _ = self.set_raw_target(target); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_timerID` should have a snake case name [INFO] [stdout] --> src/sdl3/timer.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | _timerID: sys::timer::SDL_TimerID, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `_timer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.29s [INFO] running `Command { std: "docker" "inspect" "5f906f6101e72cf4e6d420ba539530ddc287cf4c55f6c2e09c357bbcedbbec52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f906f6101e72cf4e6d420ba539530ddc287cf4c55f6c2e09c357bbcedbbec52", kill_on_drop: false }` [INFO] [stdout] 5f906f6101e72cf4e6d420ba539530ddc287cf4c55f6c2e09c357bbcedbbec52