Skip to content

Исправляет ошибку тестов #119

Исправляет ошибку тестов

Исправляет ошибку тестов #119

Triggered via push November 19, 2024 23:10
Status Success
Total duration 1m 24s
Artifacts

push.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: VkNet/Exception/AccessTokenInvalidException.cs#L55
Member 'AccessTokenInvalidException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'AccessTokenInvalidException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/CaptchaNeededException.cs#L37
Member 'CaptchaNeededException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'CaptchaNeededException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/LongPollOutdateException.cs#L31
Member 'LongPollOutdateException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'LongPollOutdateException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/NeedValidationException.cs#L44
Member 'NeedValidationException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'NeedValidationException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/TooMuchElementsInTemplateException.cs#L26
Member 'TooMuchElementsInTemplateException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'TooMuchElementsInTemplateException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/VkApiException.cs#L63
Member 'VkApiException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'VkApiException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Exception/VkKeyboardPayloadMaxLengthException.cs#L26
Member 'VkKeyboardPayloadMaxLengthException.GetObjectData(SerializationInfo, StreamingContext)' overrides obsolete member 'Exception.GetObjectData(SerializationInfo, StreamingContext)'. Add the Obsolete attribute to 'VkKeyboardPayloadMaxLengthException.GetObjectData(SerializationInfo, StreamingContext)'.
build: VkNet/Model/MessageActionObject.cs#L61
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: VkNet/Categories/Async/WallCategoryAsync.cs#L61
'WallCategory.Repost(string, string, long?, bool)' is obsolete: 'Use ICaptchaSolver to handle captcha. This method is obsolete and will be removed in future.'
build: VkNet/VkApi.cs#L282
'StreamingContextStates' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build: VkNet/Model/MessageActionObject.cs#L61
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
build: VkNet/Categories/Async/WallCategoryAsync.cs#L61
'WallCategory.Repost(string, string, long?, bool)' is obsolete: 'Use ICaptchaSolver to handle captcha. This method is obsolete and will be removed in future.'
build: VkNet/Utils/AttachmentConverterService.cs#L64
'PhotosList' is obsolete: 'Для версии API ниже 5.0'
build: VkNet/Infrastructure/Authorization/ImplicitFlow/ImplicitFlow.cs#L64
'ImplicitFlow.CreateAuthorizeUrl()' is obsolete: 'Используйте перегрузку Url CreateAuthorizeUrl();
build: VkNet/Utils/BotsLongPoll/GroupUpdateEvent.cs#L25
Non-nullable field 'RawUpdate' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: VkNet/Utils/BotsLongPoll/BotsLongPoolOnUpdatesEvent.cs#L17
Non-nullable field 'Response' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: VkNet/Utils/BotsLongPoll/BotsLongPoolOnUpdatesEvent.cs#L22
Non-nullable field 'Updates' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: VkNet/Utils/UsersLongPoll/UsersLongPoolOnUpdatesEvent.cs#L16
Non-nullable field 'Response' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: VkNet/Utils/UsersLongPoll/UsersLongPoolOnUpdatesEvent.cs#L21
Non-nullable field 'Messages' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build: VkNet/Utils/UsersLongPoll/UserMessageEvent.cs#L25
Non-nullable field 'RawMessage' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.