Skip to content

Binarize: copy files from addons folder #480

Binarize: copy files from addons folder

Binarize: copy files from addons folder #480

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / stable failed Oct 30, 2023 in 0s

stable

4 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 4
Warning 0
Note 0
Help 0

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check failure on line 26 in bin/src/modules/file_patching.rs

See this annotation in the file changed.

@github-actions github-actions / stable

mismatched types

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> {
   |        ^^^^^^^^^^^                 ------------

Check failure on line 173 in bin/src/executor.rs

See this annotation in the file changed.

@github-actions github-actions / stable

mismatched types

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> {
    |        ^^^^^^^^^^^                 ------------

Check failure on line 136 in bin/src/executor.rs

See this annotation in the file changed.

@github-actions github-actions / stable

mismatched types

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> {
    |        ^^^^^^^^^^^                 ------------

Check failure on line 116 in bin/src/commands/launch.rs

See this annotation in the file changed.

@github-actions github-actions / stable

mismatched types

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> {
    |        ^^^^^^^^^^^                 ------------