Skip to content

Make use of System.Threading.Lock #14238

Make use of System.Threading.Lock

Make use of System.Threading.Lock #14238

Triggered via pull request November 18, 2024 07:06
Status Failure
Total duration 3m 42s
Artifacts

build-and-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 12 warnings
build-test: framework/src/Volo.Abp.RabbitMQ/Volo/Abp/RabbitMQ/RabbitMqMessageConsumer.cs#L37
Inconsistent accessibility: property type 'Lock' is less accessible than property 'RabbitMqMessageConsumer.ChannelSendSyncLock'
build-test: framework/src/Volo.Abp.RabbitMQ/Volo/Abp/RabbitMQ/RabbitMqMessageConsumer.cs#L37
Inconsistent accessibility: property type 'Lock' is less accessible than property 'RabbitMqMessageConsumer.ChannelSendSyncLock'
build-test: framework/src/Volo.Abp.RabbitMQ/Volo/Abp/RabbitMQ/RabbitMqMessageConsumer.cs#L37
Inconsistent accessibility: property type 'Lock' is less accessible than property 'RabbitMqMessageConsumer.ChannelSendSyncLock'
build-test: framework/src/Volo.Abp.RabbitMQ/Volo/Abp/RabbitMQ/RabbitMqMessageConsumer.cs#L37
Inconsistent accessibility: property type 'Lock' is less accessible than property 'RabbitMqMessageConsumer.ChannelSendSyncLock'
build-test: framework/src/Volo.Abp.RabbitMQ/Volo/Abp/RabbitMQ/RabbitMqMessageConsumer.cs#L37
Inconsistent accessibility: property type 'Lock' is less accessible than property 'RabbitMqMessageConsumer.ChannelSendSyncLock'
build-test: framework/src/Volo.Abp.RabbitMQ/Volo/Abp/RabbitMQ/RabbitMqMessageConsumer.cs#L37
Inconsistent accessibility: property type 'Lock' is less accessible than property 'RabbitMqMessageConsumer.ChannelSendSyncLock'
build-test
Process completed with exit code 1.
build-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-test: framework/src/Volo.Abp.Core/Volo/Abp/IO/FileHelper.cs#L74
Avoid inexact read with 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
build-test: framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L33
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
build-test: framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L57
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
build-test: framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L33
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
build-test: framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs#L57
'Rfc2898DeriveBytes.Rfc2898DeriveBytes(string, byte[])' is obsolete: 'The default hash algorithm and iteration counts in Rfc2898DeriveBytes constructors are outdated and insecure. Use a constructor that accepts the hash algorithm and the number of iterations.' (https://aka.ms/dotnet-warnings/SYSLIB0041)
build-test: framework/test/SimpleConsoleDemo/obj/Debug/net9.0/SimpleConsoleDemo.GlobalUsings.g.cs#L3
The type 'LockFactory' in '/home/runner/work/abp/abp/framework/test/SimpleConsoleDemo/obj/Debug/net9.0/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.LockFactory.cs' conflicts with the imported type 'LockFactory' in 'Volo.Abp.Autofac, Version=9.1.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/abp/abp/framework/test/SimpleConsoleDemo/obj/Debug/net9.0/Backport.System.Threading.Lock.SourceGenerator/Backport.System.Threading.Lock.SourceGenerator.Generator/Backport.System.Threading.Lock.SourceGenerator.LockFactory.cs'.
build-test: framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L118
The default value specified for parameter 'displayName' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
build-test: framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L119
The default value specified for parameter 'multiTenancySide' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
build-test: framework/src/Volo.Abp.Authorization.Abstractions/Volo/Abp/Authorization/Permissions/PermissionDefinition.cs#L120
The default value specified for parameter 'isEnabled' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
build-test: framework/src/Volo.Abp.HangFire/Volo/Abp/Hangfire/AbpHangfireOptions.cs#L39
'BackgroundJobServer.BackgroundJobServer(BackgroundJobServerOptions, JobStorage, IEnumerable<IBackgroundProcess>, IJobFilterProvider, JobActivator, IBackgroundJobFactory, IBackgroundJobPerformer, IBackgroundJobStateChanger)' is obsolete: 'Create your own BackgroundJobServer-like type and pass custom services to it. This constructor will be removed in 2.0.0.'