Binarize: copy files from addons folder #480
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
lint.yaml
on: pull_request
stable / fmt
13s
Matrix: clippy
Annotations
10 errors and 2 warnings
mismatched types:
bin/src/modules/file_patching.rs#L26
error[E0308]: mismatched types
--> bin/src/modules/file_patching.rs:26:21
|
22 | create_link(
| ----------- arguments to this function are incorrect
...
26 | &ctx.project_folder().join(addon.folder().replace('/', "\\")),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&PathBuf`
|
= note: expected reference `&str`
found reference `&std::path::PathBuf`
note: function defined here
--> bin/src/utils/link.rs:51:8
|
51 | pub fn create_link(link: &PathBuf, target: &str) -> Result<(), Error> {
| ^^^^^^^^^^^ ------------
|
mismatched types:
bin/src/executor.rs#L173
error[E0308]: mismatched types
--> bin/src/executor.rs:173:43
|
173 | create_link(&tmp_mod, &prefix)?;
| ----------- ^^^^^^^ expected `&str`, found `&PathBuf`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&std::path::PathBuf`
note: function defined here
--> bin/src/utils/link.rs:51:8
|
51 | pub fn create_link(link: &PathBuf, target: &str) -> Result<(), Error> {
| ^^^^^^^^^^^ ------------
|
mismatched types:
bin/src/executor.rs#L136
error[E0308]: mismatched types
--> bin/src/executor.rs:136:33
|
136 | create_link(&tmp_addon, &target)?;
| ----------- ^^^^^^^ expected `&str`, found `&PathBuf`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&std::path::PathBuf`
note: function defined here
--> bin/src/utils/link.rs:51:8
|
51 | pub fn create_link(link: &PathBuf, target: &str) -> Result<(), Error> {
| ^^^^^^^^^^^ ------------
|
mismatched types:
bin/src/commands/launch.rs#L116
error[E0308]: mismatched types
--> bin/src/commands/launch.rs:116:28
|
116 | create_link(&link, ctx.build_folder())?;
| ----------- ^^^^^^^^^^^^^^^^^^ expected `&str`, found `&PathBuf`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&std::path::PathBuf`
note: function defined here
--> bin/src/utils/link.rs:51:8
|
51 | pub fn create_link(link: &PathBuf, target: &str) -> Result<(), Error> {
| ^^^^^^^^^^^ ------------
|
beta / clippy
Clippy had exited with the 101 exit code
|
mismatched types:
bin/src/modules/file_patching.rs#L26
error[E0308]: mismatched types
--> bin/src/modules/file_patching.rs:26:21
|
22 | create_link(
| ----------- arguments to this function are incorrect
...
26 | &ctx.project_folder().join(addon.folder().replace('/', "\\")),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&PathBuf`
|
= note: expected reference `&str`
found reference `&std::path::PathBuf`
note: function defined here
--> bin/src/utils/link.rs:51:8
|
51 | pub fn create_link(link: &PathBuf, target: &str) -> Result<(), Error> {
| ^^^^^^^^^^^ ------------
|
mismatched types:
bin/src/executor.rs#L173
error[E0308]: mismatched types
--> bin/src/executor.rs:173:43
|
173 | create_link(&tmp_mod, &prefix)?;
| ----------- ^^^^^^^ expected `&str`, found `&PathBuf`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&std::path::PathBuf`
note: function defined here
--> bin/src/utils/link.rs:51:8
|
51 | pub fn create_link(link: &PathBuf, target: &str) -> Result<(), Error> {
| ^^^^^^^^^^^ ------------
|
mismatched types:
bin/src/executor.rs#L136
error[E0308]: mismatched types
--> bin/src/executor.rs:136:33
|
136 | create_link(&tmp_addon, &target)?;
| ----------- ^^^^^^^ expected `&str`, found `&PathBuf`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&std::path::PathBuf`
note: function defined here
--> bin/src/utils/link.rs:51:8
|
51 | pub fn create_link(link: &PathBuf, target: &str) -> Result<(), Error> {
| ^^^^^^^^^^^ ------------
|
mismatched types:
bin/src/commands/launch.rs#L116
error[E0308]: mismatched types
--> bin/src/commands/launch.rs:116:28
|
116 | create_link(&link, ctx.build_folder())?;
| ----------- ^^^^^^^^^^^^^^^^^^ expected `&str`, found `&PathBuf`
| |
| arguments to this function are incorrect
|
= note: expected reference `&str`
found reference `&std::path::PathBuf`
note: function defined here
--> bin/src/utils/link.rs:51:8
|
51 | pub fn create_link(link: &PathBuf, target: &str) -> Result<(), Error> {
| ^^^^^^^^^^^ ------------
|
stable / clippy
Clippy had exited with the 101 exit code
|
beta / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
stable / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|