Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 18, 2025

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jul 18, 2025
@dependabot dependabot bot force-pushed the dependabot/cargo/resvg-0.45.1 branch from 23c43ee to f583a96 Compare July 18, 2025 12:23
@0xB10C
Copy link
Owner

0xB10C commented Jul 18, 2025

build failure

error[E0308]: arguments to this function are incorrect
    --> web/src/ogimage.rs:344:8
     |
344  |     if resvg::render(&rtree, usvg::FitTo::Original, pixmap.as_mut()).is_none() {
     |        ^^^^^^^^^^^^^ ------  ---------------------  --------------- expected `&mut PixmapMut<'_>`, found `PixmapMut<'_>`
     |                      |       |
     |                      |       expected `Transform`, found `FitTo`
     |                      expected `resvg::usvg::Tree`, found `usvg::Tree`
     |
note: two different versions of crate `usvg` are being used; two types coming from two different versions of the same crate are different types even if they look the same
    --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/usvg-0.14.1/src/tree/mod.rs:36:1
     |
36   | pub struct Tree {
     | ^^^^^^^^^^^^^^^ this is the found type `usvg::Tree`
     |
    ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/usvg-0.45.1/src/tree/mod.rs:1553:1
     |
1553 | pub struct Tree {
     | ^^^^^^^^^^^^^^^ this is the expected type `resvg::usvg::Tree`
     |
    ::: web/src/ogimage.rs:26:26
     |
26   |     usvg_opts: web::Data<usvg::Options>,
     |                          ---- one version of crate `usvg` used here, as a direct dependency of the current crate
...
344  |     if resvg::render(&rtree, usvg::FitTo::Original, pixmap.as_mut()).is_none() {
     |        ----- one version of crate `usvg` used here, as a dependency of crate `resvg`
     = help: you can use `cargo tree` to explore your dependency tree
note: function defined here
    --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/resvg-0.45.1/src/lib.rs:34:8
     |
34   | pub fn render(
     |        ^^^^^^

error[E0599]: no method named `is_none` found for unit type `()` in the current scope
   --> web/src/ogimage.rs:344:70
    |
344 |     if resvg::render(&rtree, usvg::FitTo::Original, pixmap.as_mut()).is_none() {
    |                                                                      ^^^^^^^
    |
help: there is a method `is_noop` with a similar name, but with different arguments
   --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/diesel-2.2.4/src/query_builder/mod.rs:284:5
    |
284 |     fn is_noop(&self, backend: &DB) -> QueryResult<bool> {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Some errors have detailed explanations: E0308, E0599.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `miningpool-observer-web` (bin "miningpool-observer-web") due to 2 previous errors

@dependabot dependabot bot force-pushed the dependabot/cargo/resvg-0.45.1 branch 2 times, most recently from 76d51f6 to a95043d Compare July 28, 2025 14:31
---
updated-dependencies:
- dependency-name: resvg
  dependency-version: 0.45.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/resvg-0.45.1 branch from a95043d to 81368c4 Compare July 29, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants