Skip to content

psp-9530 allow research files to add retired properties. #13996

psp-9530 allow research files to add retired properties.

psp-9530 allow research files to add retired properties. #13996

Triggered via pull request December 19, 2024 00:13
Status Failure
Total duration 3m 7s
Artifacts

api-dotnetcore.yml

on: pull_request
check-changes
15s
check-changes
Matrix: build-backend
post-build
0s
post-build
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 30 warnings
build-backend (./source/backend/api, Pims.sln): source/backend/tests/unit/api/Services/LeaseServiceTest.cs#L714
An expression tree may not contain a call or invocation that uses optional arguments
build-backend (./source/backend/api, Pims.sln): source/backend/tests/unit/api/Services/DispositionFileServiceTest.cs#L1032
An expression tree may not contain a call or invocation that uses optional arguments
build-backend (./source/backend/api, Pims.sln): source/backend/tests/unit/api/Services/AcquisitionFileServiceTest.cs#L1415
An expression tree may not contain a call or invocation that uses optional arguments
build-backend (./source/backend/api, Pims.sln): source/backend/tests/unit/api/Services/LeaseServiceTest.cs#L714
An expression tree may not contain a call or invocation that uses optional arguments
build-backend (./source/backend/api, Pims.sln): source/backend/tests/unit/api/Services/DispositionFileServiceTest.cs#L1032
An expression tree may not contain a call or invocation that uses optional arguments
build-backend (./source/backend/api, Pims.sln): source/backend/tests/unit/api/Services/AcquisitionFileServiceTest.cs#L1415
An expression tree may not contain a call or invocation that uses optional arguments
build-backend (./source/backend/api, Pims.sln)
Process completed with exit code 1.
build-backend (./source/backend/proxy, Proxy.sln): source/backend/core/Exceptions/NotAuthorizedException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/proxy, Proxy.sln): source/backend/core/Exceptions/MayanRepositoryException.cs#L27
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/proxy, Proxy.sln): source/backend/core/Exceptions/ForeignKeyDependencyException.cs#L27
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/proxy, Proxy.sln): source/backend/core/Exceptions/DuplicateEntityException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/proxy, Proxy.sln): source/backend/core/Exceptions/ContractorNotInTeamException.cs#L27
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/proxy, Proxy.sln): source/backend/core/Exceptions/ConfigurationException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/proxy, Proxy.sln): source/backend/core/Exceptions/BusinessRuleViolationException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/proxy, Proxy.sln): source/backend/core/Extensions/EnumExtensions.cs#L3
Using directive for 'System.ComponentModel.DataAnnotations' should appear before directive for 'Pims.Core.Security' (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1208.md)
build-backend (./source/backend/scheduler, Scheduler.sln): source/backend/core/Exceptions/NotAuthorizedException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/scheduler, Scheduler.sln): source/backend/core/Exceptions/MayanRepositoryException.cs#L27
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/scheduler, Scheduler.sln): source/backend/core/Exceptions/ForeignKeyDependencyException.cs#L27
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/scheduler, Scheduler.sln): source/backend/core/Exceptions/DuplicateEntityException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/scheduler, Scheduler.sln): source/backend/core/Exceptions/ContractorNotInTeamException.cs#L27
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/scheduler, Scheduler.sln): source/backend/core/Exceptions/ConfigurationException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/scheduler, Scheduler.sln): source/backend/core/Exceptions/BusinessRuleViolationException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/scheduler, Scheduler.sln): source/backend/core/Extensions/EnumExtensions.cs#L3
Using directive for 'System.ComponentModel.DataAnnotations' should appear before directive for 'Pims.Core.Security' (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1208.md)
build-backend (./source/backend/api, Pims.sln): source/backend/clamav/Exceptions/AvException.cs#L34
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/api, Pims.sln): source/backend/clamav/ClamAvService.cs#L82
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
build-backend (./source/backend/api, Pims.sln): source/backend/clamav/ClamAvService.cs#L85
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
build-backend (./source/backend/api, Pims.sln): source/backend/clamav/ClamAvService.cs#L88
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
build-backend (./source/backend/api, Pims.sln): source/backend/clamav/ClamAvService.cs#L91
Number of parameters supplied in the logging message template do not match the number of named placeholders (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2017)
build-backend (./source/backend/api, Pims.sln): source/backend/core/Exceptions/ConfigurationException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/api, Pims.sln): source/backend/core/Exceptions/BusinessRuleViolationException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/api, Pims.sln): source/backend/core/Exceptions/NotAuthorizedException.cs#L51
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/api, Pims.sln): source/backend/core/Exceptions/MayanRepositoryException.cs#L27
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build-backend (./source/backend/api, Pims.sln): source/backend/core/Exceptions/ContractorNotInTeamException.cs#L27
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)