[INFO] fetching crate gfx-backend-gl 0.9.0... [INFO] testing gfx-backend-gl-0.9.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate gfx-backend-gl 0.9.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate gfx-backend-gl 0.9.0 [INFO] finished tweaking crates.io crate gfx-backend-gl 0.9.0 [INFO] tweaked toml for crates.io crate gfx-backend-gl 0.9.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gfx-backend-gl 0.9.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 66 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.1) [INFO] [stderr] Adding glow v0.9.0 (available: v0.16.0) [INFO] [stderr] Adding khronos-egl v4.1.0 (available: v6.0.0) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.8) [INFO] [stderr] Adding naga v0.5.0 (available: v25.0.1) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.4) [INFO] [stderr] Adding raw-window-handle v0.3.4 (available: v0.6.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spirv_headers v1.5.0 [INFO] [stderr] Downloaded slotmap v0.4.3 [INFO] [stderr] Downloaded rose_tree v0.2.0 [INFO] [stderr] Downloaded glow v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76afbb22f75d5429713f44cf7e1f1c19a8ef0ab4f08b9fcacce77a968835c266 [INFO] running `Command { std: "docker" "start" "-a" "76afbb22f75d5429713f44cf7e1f1c19a8ef0ab4f08b9fcacce77a968835c266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76afbb22f75d5429713f44cf7e1f1c19a8ef0ab4f08b9fcacce77a968835c266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76afbb22f75d5429713f44cf7e1f1c19a8ef0ab4f08b9fcacce77a968835c266", kill_on_drop: false }` [INFO] [stdout] 76afbb22f75d5429713f44cf7e1f1c19a8ef0ab4f08b9fcacce77a968835c266 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 223651f21e2353c01b4549e83ae83f85f165cbac98487509c7c0a4f6eb085d66 [INFO] running `Command { std: "docker" "start" "-a" "223651f21e2353c01b4549e83ae83f85f165cbac98487509c7c0a4f6eb085d66", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling glow v0.9.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rose_tree v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling naga v0.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling external-memory v0.0.1 [INFO] [stderr] Compiling gfx-hal v0.9.0 [INFO] [stderr] Compiling gfx-backend-gl v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `dummy` [INFO] [stdout] --> src/native.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | #[cfg(not(dummy))] [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(dummy)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dummy)");` 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 variable: `downlevel` [INFO] [stdout] --> src/info.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_downlevel` [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/info.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [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: field `src_target` is never read [INFO] [stdout] --> src/command.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 118 | CopyBufferToBuffer { [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 121 | src_target: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/command.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | CopyBufferToRenderbuffer(n::RawBuffer, n::Renderbuffer, command::BufferImageCopy), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 133 - CopyBufferToRenderbuffer(n::RawBuffer, n::Renderbuffer, command::BufferImageCopy), [INFO] [stdout] 133 + CopyBufferToRenderbuffer((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/command.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | CopyRenderbufferToBuffer(n::Renderbuffer, n::RawBuffer, command::BufferImageCopy), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 142 - CopyRenderbufferToBuffer(n::Renderbuffer, n::RawBuffer, command::BufferImageCopy), [INFO] [stdout] 142 + CopyRenderbufferToBuffer((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/command.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | CopyImageToTexture( [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 144 | n::ImageType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 145 | n::Texture, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 146 | n::TextureTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | command::ImageCopy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 144 ~ (), [INFO] [stdout] 145 ~ (), [INFO] [stdout] 146 ~ (), [INFO] [stdout] 147 ~ (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `framebuffer` is never read [INFO] [stdout] --> src/command.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 190 | struct Cache { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | framebuffer: Option<(FrameBufferTarget, n::RawFramebuffer)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_attribs` is never read [INFO] [stdout] --> src/command.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct CommandBuffer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 377 | active_attribs: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `framebuffer_texture`, `clear_buffer`, `program_interface`, and `frag_data_location` are never read [INFO] [stdout] --> src/info.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct PrivateCaps { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | pub framebuffer_texture: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub clear_buffer: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 212 | pub program_interface: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 213 | pub frag_data_location: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrivateCaps` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sampler_map` is never read [INFO] [stdout] --> src/native.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ComputePipeline { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 111 | pub(crate) program: Program, [INFO] [stdout] 112 | pub(crate) sampler_map: SamplerBindMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComputePipeline` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_levels` and `num_layers` are never read [INFO] [stdout] --> src/native.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) num_levels: i::Level, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | pub(crate) num_layers: i::Layer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/native.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 308 | pub(crate) properties: Properties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Memory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth_stencil` is never read [INFO] [stdout] --> src/native.rs:330:16 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct SubpassDesc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 329 | pub(crate) color_attachments: Vec, [INFO] [stdout] 330 | pub(crate) depth_stencil: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubpassDesc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layout` is never read [INFO] [stdout] --> src/native.rs:349:16 [INFO] [stdout] | [INFO] [stdout] 348 | pub(crate) struct PipelineLayoutSet { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 349 | pub(crate) layout: DescriptorSetLayout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PipelineLayoutSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_viewports` and `num_scissors` are never read [INFO] [stdout] --> src/queue.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | num_viewports: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | // Currently set scissor rects. [INFO] [stdout] 29 | num_scissors: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.95s [INFO] running `Command { std: "docker" "inspect" "223651f21e2353c01b4549e83ae83f85f165cbac98487509c7c0a4f6eb085d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "223651f21e2353c01b4549e83ae83f85f165cbac98487509c7c0a4f6eb085d66", kill_on_drop: false }` [INFO] [stdout] 223651f21e2353c01b4549e83ae83f85f165cbac98487509c7c0a4f6eb085d66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 775166270ac29ad777d495b16a5a7a962080597b84bef6f06487943c09b0a4ff [INFO] running `Command { std: "docker" "start" "-a" "775166270ac29ad777d495b16a5a7a962080597b84bef6f06487943c09b0a4ff", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `dummy` [INFO] [stdout] --> src/native.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | #[cfg(not(dummy))] [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(dummy)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dummy)");` 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 variable: `downlevel` [INFO] [stdout] --> src/info.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_downlevel` [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/info.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [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: field `src_target` is never read [INFO] [stdout] --> src/command.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 118 | CopyBufferToBuffer { [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 121 | src_target: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/command.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | CopyBufferToRenderbuffer(n::RawBuffer, n::Renderbuffer, command::BufferImageCopy), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 133 - CopyBufferToRenderbuffer(n::RawBuffer, n::Renderbuffer, command::BufferImageCopy), [INFO] [stdout] 133 + CopyBufferToRenderbuffer((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/command.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | CopyRenderbufferToBuffer(n::Renderbuffer, n::RawBuffer, command::BufferImageCopy), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 142 - CopyRenderbufferToBuffer(n::Renderbuffer, n::RawBuffer, command::BufferImageCopy), [INFO] [stdout] 142 + CopyRenderbufferToBuffer((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gfx-backend-gl v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/command.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | CopyImageToTexture( [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 144 | n::ImageType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 145 | n::Texture, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 146 | n::TextureTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | command::ImageCopy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 144 ~ (), [INFO] [stdout] 145 ~ (), [INFO] [stdout] 146 ~ (), [INFO] [stdout] 147 ~ (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `framebuffer` is never read [INFO] [stdout] --> src/command.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 190 | struct Cache { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | framebuffer: Option<(FrameBufferTarget, n::RawFramebuffer)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_attribs` is never read [INFO] [stdout] --> src/command.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct CommandBuffer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 377 | active_attribs: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `framebuffer_texture`, `clear_buffer`, `program_interface`, and `frag_data_location` are never read [INFO] [stdout] --> src/info.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct PrivateCaps { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | pub framebuffer_texture: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub clear_buffer: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 212 | pub program_interface: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 213 | pub frag_data_location: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrivateCaps` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sampler_map` is never read [INFO] [stdout] --> src/native.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ComputePipeline { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 111 | pub(crate) program: Program, [INFO] [stdout] 112 | pub(crate) sampler_map: SamplerBindMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComputePipeline` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_levels` and `num_layers` are never read [INFO] [stdout] --> src/native.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) num_levels: i::Level, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | pub(crate) num_layers: i::Layer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/native.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 308 | pub(crate) properties: Properties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Memory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth_stencil` is never read [INFO] [stdout] --> src/native.rs:330:16 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct SubpassDesc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 329 | pub(crate) color_attachments: Vec, [INFO] [stdout] 330 | pub(crate) depth_stencil: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubpassDesc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layout` is never read [INFO] [stdout] --> src/native.rs:349:16 [INFO] [stdout] | [INFO] [stdout] 348 | pub(crate) struct PipelineLayoutSet { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 349 | pub(crate) layout: DescriptorSetLayout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PipelineLayoutSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_viewports` and `num_scissors` are never read [INFO] [stdout] --> src/queue.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | num_viewports: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | // Currently set scissor rects. [INFO] [stdout] 29 | num_scissors: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `dummy` [INFO] [stdout] --> src/native.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | #[cfg(not(dummy))] [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(dummy)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dummy)");` 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 variable: `downlevel` [INFO] [stdout] --> src/info.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_downlevel` [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/info.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [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: field `src_target` is never read [INFO] [stdout] --> src/command.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 118 | CopyBufferToBuffer { [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] ... [INFO] [stdout] 121 | src_target: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/command.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | CopyBufferToRenderbuffer(n::RawBuffer, n::Renderbuffer, command::BufferImageCopy), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 133 - CopyBufferToRenderbuffer(n::RawBuffer, n::Renderbuffer, command::BufferImageCopy), [INFO] [stdout] 133 + CopyBufferToRenderbuffer((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/command.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | CopyRenderbufferToBuffer(n::Renderbuffer, n::RawBuffer, command::BufferImageCopy), [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 142 - CopyRenderbufferToBuffer(n::Renderbuffer, n::RawBuffer, command::BufferImageCopy), [INFO] [stdout] 142 + CopyRenderbufferToBuffer((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/command.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | CopyImageToTexture( [INFO] [stdout] | ------------------ fields in this variant [INFO] [stdout] 144 | n::ImageType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 145 | n::Texture, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 146 | n::TextureTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | command::ImageCopy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 144 ~ (), [INFO] [stdout] 145 ~ (), [INFO] [stdout] 146 ~ (), [INFO] [stdout] 147 ~ (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `framebuffer` is never read [INFO] [stdout] --> src/command.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 190 | struct Cache { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 200 | framebuffer: Option<(FrameBufferTarget, n::RawFramebuffer)>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `active_attribs` is never read [INFO] [stdout] --> src/command.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct CommandBuffer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 377 | active_attribs: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `framebuffer_texture`, `clear_buffer`, `program_interface`, and `frag_data_location` are never read [INFO] [stdout] --> src/info.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct PrivateCaps { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 205 | pub framebuffer_texture: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub clear_buffer: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 212 | pub program_interface: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 213 | pub frag_data_location: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrivateCaps` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sampler_map` is never read [INFO] [stdout] --> src/native.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct ComputePipeline { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 111 | pub(crate) program: Program, [INFO] [stdout] 112 | pub(crate) sampler_map: SamplerBindMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComputePipeline` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_levels` and `num_layers` are never read [INFO] [stdout] --> src/native.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) num_levels: i::Level, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 124 | pub(crate) num_layers: i::Layer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `properties` is never read [INFO] [stdout] --> src/native.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 308 | pub(crate) properties: Properties, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Memory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `depth_stencil` is never read [INFO] [stdout] --> src/native.rs:330:16 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct SubpassDesc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 329 | pub(crate) color_attachments: Vec, [INFO] [stdout] 330 | pub(crate) depth_stencil: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubpassDesc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layout` is never read [INFO] [stdout] --> src/native.rs:349:16 [INFO] [stdout] | [INFO] [stdout] 348 | pub(crate) struct PipelineLayoutSet { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 349 | pub(crate) layout: DescriptorSetLayout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PipelineLayoutSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_viewports` and `num_scissors` are never read [INFO] [stdout] --> src/queue.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | num_viewports: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | // Currently set scissor rects. [INFO] [stdout] 29 | num_scissors: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "775166270ac29ad777d495b16a5a7a962080597b84bef6f06487943c09b0a4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "775166270ac29ad777d495b16a5a7a962080597b84bef6f06487943c09b0a4ff", kill_on_drop: false }` [INFO] [stdout] 775166270ac29ad777d495b16a5a7a962080597b84bef6f06487943c09b0a4ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 043825e28eabd2f8d131bb4309d0a30e9a351e5ef8f4fd060113c998ba193d50 [INFO] running `Command { std: "docker" "start" "-a" "043825e28eabd2f8d131bb4309d0a30e9a351e5ef8f4fd060113c998ba193d50", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `dummy` [INFO] [stderr] --> src/native.rs:209:15 [INFO] [stderr] | [INFO] [stderr] 209 | #[cfg(not(dummy))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(dummy)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(dummy)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `downlevel` [INFO] [stderr] --> src/info.rs:661:13 [INFO] [stderr] | [INFO] [stderr] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_downlevel` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/info.rs:661:9 [INFO] [stderr] | [INFO] [stderr] 661 | let mut downlevel = hal::DownlevelProperties::all_enabled(); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `src_target` is never read [INFO] [stderr] --> src/command.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 118 | CopyBufferToBuffer { [INFO] [stderr] | ------------------ field in this variant [INFO] [stderr] ... [INFO] [stderr] 121 | src_target: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `0`, `1`, and `2` are never read [INFO] [stderr] --> src/command.rs:133:30 [INFO] [stderr] | [INFO] [stderr] 133 | CopyBufferToRenderbuffer(n::RawBuffer, n::Renderbuffer, command::BufferImageCopy), [INFO] [stderr] | ------------------------ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 133 - CopyBufferToRenderbuffer(n::RawBuffer, n::Renderbuffer, command::BufferImageCopy), [INFO] [stderr] 133 + CopyBufferToRenderbuffer((), (), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0`, `1`, and `2` are never read [INFO] [stderr] --> src/command.rs:142:30 [INFO] [stderr] | [INFO] [stderr] 142 | CopyRenderbufferToBuffer(n::Renderbuffer, n::RawBuffer, command::BufferImageCopy), [INFO] [stderr] | ------------------------ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 142 - CopyRenderbufferToBuffer(n::Renderbuffer, n::RawBuffer, command::BufferImageCopy), [INFO] [stderr] 142 + CopyRenderbufferToBuffer((), (), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stderr] --> src/command.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 143 | CopyImageToTexture( [INFO] [stderr] | ------------------ fields in this variant [INFO] [stderr] 144 | n::ImageType, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 145 | n::Texture, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 146 | n::TextureTarget, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 147 | command::ImageCopy, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 144 ~ (), [INFO] [stderr] 145 ~ (), [INFO] [stderr] 146 ~ (), [INFO] [stderr] 147 ~ (), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `framebuffer` is never read [INFO] [stderr] --> src/command.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 190 | struct Cache { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 200 | framebuffer: Option<(FrameBufferTarget, n::RawFramebuffer)>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `active_attribs` is never read [INFO] [stderr] --> src/command.rs:377:5 [INFO] [stderr] | [INFO] [stderr] 355 | pub struct CommandBuffer { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 377 | active_attribs: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CommandBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `framebuffer_texture`, `clear_buffer`, `program_interface`, and `frag_data_location` are never read [INFO] [stderr] --> src/info.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 199 | pub struct PrivateCaps { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 205 | pub framebuffer_texture: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 211 | pub clear_buffer: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 212 | pub program_interface: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 213 | pub frag_data_location: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PrivateCaps` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `sampler_map` is never read [INFO] [stderr] --> src/native.rs:112:16 [INFO] [stderr] | [INFO] [stderr] 110 | pub struct ComputePipeline { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 111 | pub(crate) program: Program, [INFO] [stderr] 112 | pub(crate) sampler_map: SamplerBindMap, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ComputePipeline` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `num_levels` and `num_layers` are never read [INFO] [stderr] --> src/native.rs:123:16 [INFO] [stderr] | [INFO] [stderr] 116 | pub struct Image { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 123 | pub(crate) num_levels: i::Level, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 124 | pub(crate) num_layers: i::Layer, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Image` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `properties` is never read [INFO] [stderr] --> src/native.rs:308:16 [INFO] [stderr] | [INFO] [stderr] 307 | pub struct Memory { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 308 | pub(crate) properties: Properties, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Memory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `depth_stencil` is never read [INFO] [stderr] --> src/native.rs:330:16 [INFO] [stderr] | [INFO] [stderr] 328 | pub struct SubpassDesc { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 329 | pub(crate) color_attachments: Vec, [INFO] [stderr] 330 | pub(crate) depth_stencil: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SubpassDesc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `layout` is never read [INFO] [stderr] --> src/native.rs:349:16 [INFO] [stderr] | [INFO] [stderr] 348 | pub(crate) struct PipelineLayoutSet { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 349 | pub(crate) layout: DescriptorSetLayout, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PipelineLayoutSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `num_viewports` and `num_scissors` are never read [INFO] [stderr] --> src/queue.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 19 | struct State { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 27 | num_viewports: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 28 | // Currently set scissor rects. [INFO] [stderr] 29 | num_scissors: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `gfx-backend-gl` (lib) generated 16 warnings (run `cargo fix --lib -p gfx-backend-gl` to apply 1 suggestion) [INFO] [stderr] warning: `gfx-backend-gl` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gfx_backend_gl-c02bf023600454b7) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test info::tests::test_version_parse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "043825e28eabd2f8d131bb4309d0a30e9a351e5ef8f4fd060113c998ba193d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "043825e28eabd2f8d131bb4309d0a30e9a351e5ef8f4fd060113c998ba193d50", kill_on_drop: false }` [INFO] [stdout] 043825e28eabd2f8d131bb4309d0a30e9a351e5ef8f4fd060113c998ba193d50