[INFO] cloning repository https://github.com/TioT2/anim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TioT2/anim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTioT2%2Fanim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTioT2%2Fanim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7380a4f478174163ba1c06e6b2a179f7a55ed35b [INFO] linting TioT2/anim against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTioT2%2Fanim" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TioT2/anim [INFO] finished tweaking git repo https://github.com/TioT2/anim [INFO] tweaked toml for git repo https://github.com/TioT2/anim written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TioT2/anim on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TioT2/anim 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.38 [INFO] [stderr] Downloaded hassle-rs v0.12.0 [INFO] [stderr] Downloaded widestring v1.2.0 [INFO] [stderr] Downloaded sdl2 v0.38.0 [INFO] [stderr] Downloaded vk-mem v0.5.0 [INFO] [stderr] Downloaded sdl2-sys v0.38.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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d52915a600796479aef826cb54a5ef53b8167eb95181132e2b852468add8b221 [INFO] running `Command { std: "docker" "start" "-a" "d52915a600796479aef826cb54a5ef53b8167eb95181132e2b852468add8b221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d52915a600796479aef826cb54a5ef53b8167eb95181132e2b852468add8b221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d52915a600796479aef826cb54a5ef53b8167eb95181132e2b852468add8b221", kill_on_drop: false }` [INFO] [stdout] d52915a600796479aef826cb54a5ef53b8167eb95181132e2b852468add8b221 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68aa91430821931888d40d692269469bbfb6f170f1513cbcfd4b4c67fe89648e [INFO] running `Command { std: "docker" "start" "-a" "68aa91430821931888d40d692269469bbfb6f170f1513cbcfd4b4c67fe89648e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling sdl2 v0.38.0 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking widestring v1.2.0 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling sdl2-sys v0.38.0 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling vk-mem v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling com_macros_support v0.6.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling com_macros v0.6.0 [INFO] [stderr] Checking com v0.6.0 [INFO] [stderr] Checking hassle-rs v0.12.0 [INFO] [stderr] Checking anim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/memory.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | Ok(Arc::new(Buffer { [INFO] [stdout] | ____________^ [INFO] [stdout] 190 | | allocator: self.clone(), [INFO] [stdout] 191 | | allocation: Some(Mutex::new(allocation)), [INFO] [stdout] 192 | | buffer, [INFO] [stdout] 193 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Buffer` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Buffer` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/memory.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | / Arc::new(Buffer { [INFO] [stdout] 199 | | allocation: None, [INFO] [stdout] 200 | | allocator: self.clone(), [INFO] [stdout] 201 | | buffer: vk::Buffer::null(), [INFO] [stdout] 202 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Buffer` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Buffer` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/render/core/swapchain.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | let caps_extent_ok = true [INFO] [stdout] | ______________________________^ [INFO] [stdout] 137 | | && surface_caps.current_extent.width != !0 [INFO] [stdout] 138 | | && surface_caps.current_extent.height != !0; [INFO] [stdout] | |_______________________________________________________^ help: try: `surface_caps.current_extent.width != !0 && surface_caps.current_extent.height != !0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/render/core/swapchain.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | let caps_extent_ok = true [INFO] [stdout] | ______________________________^ [INFO] [stdout] 137 | | && surface_caps.current_extent.width != !0 [INFO] [stdout] | |______________________________________________________^ help: try: `surface_caps.current_extent.width != !0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/swapchain.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(Arc::new(handle)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `SwapchainHandle` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `SwapchainHandle` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/swapchain.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | swapchain: Arc::new(SwapchainHandle { [INFO] [stdout] | ________________________^ [INFO] [stdout] 189 | | dc: dc.clone(), [INFO] [stdout] 190 | | swapchain: vk::SwapchainKHR::null(), [INFO] [stdout] 191 | | revision: 0, [INFO] [stdout] 192 | | extent: vk::Extent2D::default(), [INFO] [stdout] 193 | | images: Box::new([]), [INFO] [stdout] 194 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `SwapchainHandle` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `SwapchainHandle` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/render/core/util.rs:59:74 [INFO] [stdout] | [INFO] [stdout] 59 | for (mut item, dtor) in std::iter::zip(values.drain(..), destructors.into_iter()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/iter/adapters/zip.rs:70:7 [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 59 - for (mut item, dtor) in std::iter::zip(values.drain(..), destructors.into_iter()) { [INFO] [stdout] 59 + for (mut item, dtor) in std::iter::zip(values.drain(..), destructors) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/mod.rs:1053:18 [INFO] [stdout] | [INFO] [stdout] 1053 | let dc = Arc::new(DeviceContext::new(window_context, application_name)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `DeviceContext` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `DeviceContext` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/mod.rs:1055:25 [INFO] [stdout] | [INFO] [stdout] 1055 | let allocator = Arc::new(Allocator::new(dc.clone())?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Allocator` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Allocator` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/mod.rs:1099:25 [INFO] [stdout] | [INFO] [stdout] 1099 | render_set: Arc::new(RenderSet::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `RenderSet` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `RenderSet` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/mod.rs:1442:12 [INFO] [stdout] | [INFO] [stdout] 1442 | Ok(Arc::new(Mesh { [INFO] [stdout] | ____________^ [INFO] [stdout] 1443 | | buffer, [INFO] [stdout] 1444 | | _dc: self.dc.clone(), [INFO] [stdout] 1445 | | vertex_span: 0..vt_buf_size, [INFO] [stdout] 1446 | | index_span: vt_buf_size..vt_buf_size + ind_buf_size, [INFO] [stdout] 1447 | | index_count: indices.len(), [INFO] [stdout] 1448 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Mesh` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Mesh` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/mod.rs:1453:12 [INFO] [stdout] | [INFO] [stdout] 1453 | Ok(Arc::new(Instance { [INFO] [stdout] | ____________^ [INFO] [stdout] 1454 | | mesh, [INFO] [stdout] 1455 | | _material: material, [INFO] [stdout] 1456 | | render_set: Arc::downgrade(&self.render_set), [INFO] [stdout] 1457 | | transform: Cell::new(math::FMat::identity()), [INFO] [stdout] 1458 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Instance` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Instance` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/mod.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let core = Arc::new(RefCell::new(core)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc>` is not `Send` and `Sync` as `RefCell` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `RefCell` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/memory.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | Ok(Arc::new(Buffer { [INFO] [stdout] | ____________^ [INFO] [stdout] 190 | | allocator: self.clone(), [INFO] [stdout] 191 | | allocation: Some(Mutex::new(allocation)), [INFO] [stdout] 192 | | buffer, [INFO] [stdout] 193 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Buffer` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Buffer` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/memory.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | / Arc::new(Buffer { [INFO] [stdout] 199 | | allocation: None, [INFO] [stdout] 200 | | allocator: self.clone(), [INFO] [stdout] 201 | | buffer: vk::Buffer::null(), [INFO] [stdout] 202 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Buffer` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Buffer` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/render/core/swapchain.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | let caps_extent_ok = true [INFO] [stdout] | ______________________________^ [INFO] [stdout] 137 | | && surface_caps.current_extent.width != !0 [INFO] [stdout] 138 | | && surface_caps.current_extent.height != !0; [INFO] [stdout] | |_______________________________________________________^ help: try: `surface_caps.current_extent.width != !0 && surface_caps.current_extent.height != !0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/render/core/swapchain.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | let caps_extent_ok = true [INFO] [stdout] | ______________________________^ [INFO] [stdout] 137 | | && surface_caps.current_extent.width != !0 [INFO] [stdout] | |______________________________________________________^ help: try: `surface_caps.current_extent.width != !0` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/swapchain.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(Arc::new(handle)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `SwapchainHandle` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `SwapchainHandle` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/swapchain.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | swapchain: Arc::new(SwapchainHandle { [INFO] [stdout] | ________________________^ [INFO] [stdout] 189 | | dc: dc.clone(), [INFO] [stdout] 190 | | swapchain: vk::SwapchainKHR::null(), [INFO] [stdout] 191 | | revision: 0, [INFO] [stdout] 192 | | extent: vk::Extent2D::default(), [INFO] [stdout] 193 | | images: Box::new([]), [INFO] [stdout] 194 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `SwapchainHandle` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `SwapchainHandle` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/render/core/util.rs:59:74 [INFO] [stdout] | [INFO] [stdout] 59 | for (mut item, dtor) in std::iter::zip(values.drain(..), destructors.into_iter()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/iter/adapters/zip.rs:70:7 [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 59 - for (mut item, dtor) in std::iter::zip(values.drain(..), destructors.into_iter()) { [INFO] [stdout] 59 + for (mut item, dtor) in std::iter::zip(values.drain(..), destructors) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/mod.rs:1053:18 [INFO] [stdout] | [INFO] [stdout] 1053 | let dc = Arc::new(DeviceContext::new(window_context, application_name)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `DeviceContext` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `DeviceContext` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/mod.rs:1055:25 [INFO] [stdout] | [INFO] [stdout] 1055 | let allocator = Arc::new(Allocator::new(dc.clone())?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Allocator` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Allocator` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/mod.rs:1099:25 [INFO] [stdout] | [INFO] [stdout] 1099 | render_set: Arc::new(RenderSet::new()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `RenderSet` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `RenderSet` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/mod.rs:1442:12 [INFO] [stdout] | [INFO] [stdout] 1442 | Ok(Arc::new(Mesh { [INFO] [stdout] | ____________^ [INFO] [stdout] 1443 | | buffer, [INFO] [stdout] 1444 | | _dc: self.dc.clone(), [INFO] [stdout] 1445 | | vertex_span: 0..vt_buf_size, [INFO] [stdout] 1446 | | index_span: vt_buf_size..vt_buf_size + ind_buf_size, [INFO] [stdout] 1447 | | index_count: indices.len(), [INFO] [stdout] 1448 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Mesh` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Mesh` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/core/mod.rs:1453:12 [INFO] [stdout] | [INFO] [stdout] 1453 | Ok(Arc::new(Instance { [INFO] [stdout] | ____________^ [INFO] [stdout] 1454 | | mesh, [INFO] [stdout] 1455 | | _material: material, [INFO] [stdout] 1456 | | render_set: Arc::downgrade(&self.render_set), [INFO] [stdout] 1457 | | transform: Cell::new(math::FMat::identity()), [INFO] [stdout] 1458 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Instance` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Instance` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/render/mod.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let core = Arc::new(RefCell::new(core)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc>` is not `Send` and `Sync` as `RefCell` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `RefCell` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/main.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let window = Arc::new(window); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Window` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Window` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Arc::new(WindowContext(window.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `WindowContext` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `WindowContext` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/main.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let window = Arc::new(window); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `Window` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Window` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Arc::new(WindowContext(window.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc` is not `Send` and `Sync` as `WindowContext` is neither `Send` nor `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `WindowContext` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.33s [INFO] running `Command { std: "docker" "inspect" "68aa91430821931888d40d692269469bbfb6f170f1513cbcfd4b4c67fe89648e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68aa91430821931888d40d692269469bbfb6f170f1513cbcfd4b4c67fe89648e", kill_on_drop: false }` [INFO] [stdout] 68aa91430821931888d40d692269469bbfb6f170f1513cbcfd4b4c67fe89648e