You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your issue may already be reported!
Please search on the Actix Web issue tracker before creating one.
Expected Behavior
Including actix-web as a project dependency should not result in any Clippy errors or warnings.
Current Behavior
Under rustc 1.59.0, in a project with actix-web 3.3.2 as a dependency, running cargo clippy -D warnings results in the following warning text: warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1.
time-macros-impl 0.1.1 is a dependency of time-macros 0.1.1, which is a dependency of time 0.2.22, which is a dependency of actix-web 3.3.2 (and actix-identity 0.3.1, actix-http 2.2.0, and cookie 0.14.2, which is used by actix-http 2.2.0). None of these time packages are used elsewhere in the project.
Upgrading to actix-web 3.3.3, the latest stable version, does not fix the issue as the time package dependencies are unchanged.
The latest unstable release candidate version, actix-web 4.0.0-rc3, uses a later version of the time package, which should not have the issue. However, it is not clear when this will become a stable release, or whether it is likely to be sooner than the release of the future version of Rust which will break the package.
Possible Solution
Please provide a stable release in which the time package is upgraded to a version which has resolved the issue with time-macros-impl 0.1.1 (it appears that this is fixed from time 0.2.26 onwards).
Steps to Reproduce (for bugs)
Under rustc 1.59.0, in a project with actix-web 3.3.2 as a dependency, run cargo clippy -D warnings.
Run cargo report future-incompatibilities for more detailed information.
Context
We have a project depending on actix-web (and other Actix packages, as listed above) which is in production with many daily users. We would like to keep it reliable by only using stable packages and by always moving to new Rust versions as soon as they are available. We wanted to alert you to this Clippy warning so that there is plenty of time to resolve the issue before the future Rust version makes it a breaking change.
Your Environment
Rust Version (I.e, output of rustc -V): rustc 1.59.0 (9d1b2106e 2022-02-23)
Actix Web Version: 3.3.2
The text was updated successfully, but these errors were encountered:
Your issue may already be reported!
Please search on the Actix Web issue tracker before creating one.
Expected Behavior
Including actix-web as a project dependency should not result in any Clippy errors or warnings.
Current Behavior
Under
rustc 1.59.0
, in a project withactix-web 3.3.2
as a dependency, runningcargo clippy -D warnings
results in the following warning text:warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1
.time-macros-impl 0.1.1
is a dependency oftime-macros 0.1.1
, which is a dependency oftime 0.2.22
, which is a dependency ofactix-web 3.3.2
(andactix-identity 0.3.1
,actix-http 2.2.0
, andcookie 0.14.2
, which is used byactix-http 2.2.0
). None of thesetime
packages are used elsewhere in the project.Upgrading to
actix-web 3.3.3
, the latest stable version, does not fix the issue as thetime
package dependencies are unchanged.The latest unstable release candidate version,
actix-web 4.0.0-rc3
, uses a later version of thetime
package, which should not have the issue. However, it is not clear when this will become a stable release, or whether it is likely to be sooner than the release of the future version of Rust which will break the package.Possible Solution
Please provide a stable release in which the
time
package is upgraded to a version which has resolved the issue withtime-macros-impl 0.1.1
(it appears that this is fixed fromtime 0.2.26
onwards).Steps to Reproduce (for bugs)
rustc 1.59.0
, in a project withactix-web 3.3.2
as a dependency, runcargo clippy -D warnings
.cargo report future-incompatibilities
for more detailed information.Context
We have a project depending on actix-web (and other Actix packages, as listed above) which is in production with many daily users. We would like to keep it reliable by only using stable packages and by always moving to new Rust versions as soon as they are available. We wanted to alert you to this Clippy warning so that there is plenty of time to resolve the issue before the future Rust version makes it a breaking change.
Your Environment
rustc -V
): rustc 1.59.0 (9d1b2106e 2022-02-23)The text was updated successfully, but these errors were encountered: