Skip to content

Does not build #23

@nocturn9x

Description

@nocturn9x

As per the title, all of my attempts getting this to build failed. It seems there is an issue with the repository hosting the rust code, because I get the following error:

444.6 error: the `#[test]` attribute may only be used on a free function
444.6   --> tokenserver-auth/src/crypto.rs:27:5
444.6    |
444.6 27 |     #[test]
444.6    |     ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions
444.6    |
444.6 help: replace with conditional compilation to make the item only exist when tests are being run
444.6    |
444.6 27 -     #[test]
444.6 27 +     #[cfg(test)]
444.6    |
444.6 
444.6 error: the `#[test]` attribute may only be used on a free function
444.6   --> tokenserver-auth/src/crypto.rs:57:5
444.6    |
444.6 57 |     #[test]
444.6    |     ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions
444.6    |
444.6 help: replace with conditional compilation to make the item only exist when tests are being run
444.6    |
444.6 57 -     #[test]
444.6 57 +     #[cfg(test)]
444.6    |
444.6 
446.2 error: could not compile `tokenserver-auth` (lib) due to 2 previous errors
446.2 warning: build failed, waiting for other jobs to finish...
465.1 warning: `syncstorage-mysql` (lib) generated 1 warning
465.2 error: failed to compile `syncserver v0.18.3 (/app/syncserver)`, intermediate artifacts can be found at `/app/target`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions