Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2025

Bumps askama from 0.13.1 to 0.14.0.

Release notes

Sourced from askama's releases.

v0.14.0

Added Features

Bug Fixes And Consistency

Further Changes

New Contributors

Full Changelog: askama-rs/askama@v0.13.0...v0.14.0

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps [askama](https://github.com/askama-rs/askama) from 0.13.1 to 0.14.0.
- [Release notes](https://github.com/askama-rs/askama/releases)
- [Commits](askama-rs/askama@v0.13.1...v0.14.0)

---
updated-dependencies:
- dependency-name: askama
  dependency-version: 0.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 28, 2025
@qodo-free-for-open-source-projects
Copy link

qodo-free-for-open-source-projects bot commented Apr 28, 2025

CI Feedback 🧐

(Feedback updated until commit 9c7e59c)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: Rust (windows-latest)

Failed stage: Compile [❌]

Failure summary:

The action failed during compilation of the Rust project static-server. The error is in src\main.rs
at line 367 where there's a #[derive(Template)] macro. The error message indicates that a function
named datetime (defined at line 359) takes 1 argument (ts: &i64) but is being called with 2
arguments somewhere in the template. The second argument is of type &dyn _::askama::Values which is
unexpected.

Relevant error logs:
1:  ##[group]Operating System
2:  Microsoft Windows Server 2022
...

477:  �[1m�[32m  Downloaded�[0m colorchoice v1.0.3
478:  �[1m�[32m  Downloaded�[0m clap_lex v0.7.4
479:  �[1m�[32m  Downloaded�[0m clap_derive v4.5.32
480:  �[1m�[32m  Downloaded�[0m cfg-if v1.0.0
481:  �[1m�[32m  Downloaded�[0m autocfg v1.4.0
482:  �[1m�[32m  Downloaded�[0m atomic-waker v1.1.2
483:  �[1m�[32m  Downloaded�[0m anstyle-wincon v3.0.7
484:  �[1m�[32m  Downloaded�[0m anstyle-query v1.1.2
485:  �[1m�[32m  Downloaded�[0m anstyle-parse v0.2.6
486:  �[1m�[32m  Downloaded�[0m anstyle v1.0.10
487:  �[1m�[32m  Downloaded�[0m unicase v2.8.1
488:  �[1m�[32m  Downloaded�[0m tower-service v0.3.3
489:  �[1m�[32m  Downloaded�[0m tower-layer v0.3.3
490:  �[1m�[32m  Downloaded�[0m sync_wrapper v1.0.2
491:  �[1m�[32m  Downloaded�[0m serde_urlencoded v0.7.1
492:  �[1m�[32m  Downloaded�[0m serde_path_to_error v0.1.17
493:  �[1m�[32m  Downloaded�[0m rustversion v1.0.20
...

574:  �[1m�[32m   Compiling�[0m overload v0.1.1
575:  �[1m�[32m   Compiling�[0m sharded-slab v0.1.7
576:  �[1m�[32m   Compiling�[0m nu-ansi-term v0.46.0
577:  �[1m�[32m   Compiling�[0m clap_builder v4.5.37
578:  �[1m�[32m   Compiling�[0m clap_derive v4.5.32
579:  �[1m�[32m   Compiling�[0m tokio-util v0.7.15
580:  �[1m�[32m   Compiling�[0m h2 v0.4.9
581:  �[1m�[32m   Compiling�[0m askama_parser v0.14.0
582:  �[1m�[32m   Compiling�[0m tower v0.5.2
583:  �[1m�[32m   Compiling�[0m askama_derive v0.14.0
584:  �[1m�[32m   Compiling�[0m hyper v1.6.0
585:  �[1m�[32m   Compiling�[0m deranged v0.4.0
586:  �[1m�[32m   Compiling�[0m hyper-util v0.1.11
587:  �[1m�[32m   Compiling�[0m serde_urlencoded v0.7.1
588:  �[1m�[32m   Compiling�[0m axum-core v0.5.2 (https://github.com/tokio-rs/axum.git?branch=main#7b04b174)
589:  �[1m�[32m   Compiling�[0m serde_path_to_error v0.1.17
590:  �[1m�[32m   Compiling�[0m tracing-log v0.2.0
591:  �[1m�[32m   Compiling�[0m thread_local v1.1.8
592:  �[1m�[32m   Compiling�[0m bitflags v2.9.0
593:  �[1m�[32m   Compiling�[0m time-core v0.1.4
594:  �[1m�[32m   Compiling�[0m http-range-header v0.4.2
595:  �[1m�[32m   Compiling�[0m matchit v0.8.4
596:  �[1m�[32m   Compiling�[0m num-conv v0.1.0
597:  �[1m�[32m   Compiling�[0m axum v0.8.3 (https://github.com/tokio-rs/axum.git?branch=main#7b04b174)
598:  �[1m�[32m   Compiling�[0m time v0.3.41
599:  �[1m�[32m   Compiling�[0m tower-http v0.6.2
600:  �[1m�[32m   Compiling�[0m tracing-subscriber v0.3.19
601:  �[1m�[32m   Compiling�[0m askama v0.14.0
602:  �[1m�[32m   Compiling�[0m clap v4.5.37
603:  �[1m�[32m   Compiling�[0m axum-macros v0.5.0 (https://github.com/tokio-rs/axum.git?branch=main#7b04b174)
604:  �[1m�[32m   Compiling�[0m base64 v0.22.1
605:  �[1m�[32m   Compiling�[0m static-server v0.5.5 (D:\a\static-server\static-server)
606:  �[0m�[1m�[38;5;9merror[E0061]�[0m�[0m�[1m�[38;5;15m: this function takes 1 argument but 2 arguments were supplied�[0m
607:  �[0m   �[0m�[0m�[1m�[38;5;14m--> �[0m�[0msrc\main.rs:367:10�[0m
608:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
609:  �[0m�[1m�[38;5;14m367�[0m�[0m �[0m�[0m�[1m�[38;5;14m|�[0m�[0m �[0m�[0m#[derive(Template)]�[0m
610:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m�[0m          �[0m�[0m�[1m�[38;5;9m^^^^^^^^�[0m�[0m �[0m�[0m�[1m�[38;5;9munexpected argument #2 of type `&dyn _::askama::Values`�[0m
611:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
612:  �[0m�[1m�[38;5;10mnote�[0m�[0m: function defined here�[0m
613:  �[0m   �[0m�[0m�[1m�[38;5;14m--> �[0m�[0msrc\main.rs:359:19�[0m
614:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m
615:  �[0m�[1m�[38;5;14m359�[0m�[0m �[0m�[0m�[1m�[38;5;14m|�[0m�[0m �[0m�[0m    pub(crate) fn datetime(ts: &i64) -> ::askama::Result<String> {�[0m
616:  �[0m    �[0m�[0m�[1m�[38;5;14m|�[0m�[0m                   �[0m�[0m�[1m�[38;5;10m^^^^^^^^�[0m
617:  �[0m    �[0m�[0m�[1m�[38;5;14m= �[0m�[0m�[1m�[38;5;15mnote�[0m�[0m: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info)�[0m
618:  �[0m�[1m�[38;5;15mFor more information about this error, try `rustc --explain E0061`.�[0m
619:  �[1m�[31merror�[0m�[1m:�[0m could not compile `static-server` (bin "static-server" test) due to 1 previous error
620:  ##[error]Process completed with exit code 1.
621:  Post job cleanup.

@ttys3 ttys3 merged commit b7a4539 into main Apr 30, 2025
0 of 5 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/askama-0.14.0 branch April 30, 2025 03:16
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