Skip to content

Update NetSerializer #12777

Update NetSerializer

Update NetSerializer #12777

Triggered via push November 11, 2024 20:36
Status Success
Total duration 4m 57s
Artifacts

build-test.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
build (ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3.6.0, actions/setup-dotnet@v3.2.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (ubuntu-latest): NetSerializer/NetSerializer/Helpers.cs#L24
'Type.IsSerializable' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): NetSerializer/NetSerializer/Helpers.cs#L27
'FieldAttributes.NotSerialized' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): NetSerializer/NetSerializer/TypeSerializers/GenericSerializer.cs#L24
'Type.IsSerializable' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): NetSerializer/NetSerializer/TypeSerializers/GenericSerializer.cs#L146
'FormatterServices' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (ubuntu-latest): Robust.Shared/Containers/SharedContainerSystem.cs#L580
'SharedContainerSystem.TryGetContainingContainer(EntityUid, out BaseContainer?, MetaDataComponent?, TransformComponent?)' is obsolete: 'Use Entity<T> variant'
build (ubuntu-latest): Robust.Shared/Containers/SharedContainerSystem.cs#L650
'SharedContainerSystem.TryGetContainingContainer(EntityUid, out BaseContainer?, MetaDataComponent?, TransformComponent?)' is obsolete: 'Use Entity<T> variant'
build (ubuntu-latest): Robust.Shared/Containers/SharedContainerSystem.cs#L663
'SharedContainerSystem.TryGetContainingContainer(EntityUid, out BaseContainer?, MetaDataComponent?, TransformComponent?)' is obsolete: 'Use Entity<T> variant'
build (ubuntu-latest): Robust.Shared/Containers/ContainerSlot.cs#L75
'Logger.Warning(string)' is obsolete: 'Use ISawmill.Warning'
build (ubuntu-latest): Robust.Shared/Containers/ContainerManagerComponent.cs#L32
'Component.Owner' is obsolete: 'Update your API to allow accessing Owner through other means'
build (ubuntu-latest): Robust.Shared/Toolshed/TypeParsers/SessionTypeParser.cs#L46
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build (windows-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3.6.0, actions/setup-dotnet@v3.2.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (windows-latest): NetSerializer/NetSerializer/Helpers.cs#L24
'Type.IsSerializable' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (windows-latest): NetSerializer/NetSerializer/Helpers.cs#L27
'FieldAttributes.NotSerialized' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (windows-latest): NetSerializer/NetSerializer/TypeSerializers/GenericSerializer.cs#L24
'Type.IsSerializable' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (windows-latest): NetSerializer/NetSerializer/TypeSerializers/GenericSerializer.cs#L146
'FormatterServices' is obsolete: 'Formatter-based serialization is obsolete and should not be used.' (https://aka.ms/dotnet-warnings/SYSLIB0050)
build (windows-latest): Robust.Shared/Containers/SharedContainerSystem.cs#L580
'SharedContainerSystem.TryGetContainingContainer(EntityUid, out BaseContainer?, MetaDataComponent?, TransformComponent?)' is obsolete: 'Use Entity<T> variant'
build (windows-latest): Robust.Shared/Containers/SharedContainerSystem.cs#L650
'SharedContainerSystem.TryGetContainingContainer(EntityUid, out BaseContainer?, MetaDataComponent?, TransformComponent?)' is obsolete: 'Use Entity<T> variant'
build (windows-latest): Robust.Shared/Containers/SharedContainerSystem.cs#L663
'SharedContainerSystem.TryGetContainingContainer(EntityUid, out BaseContainer?, MetaDataComponent?, TransformComponent?)' is obsolete: 'Use Entity<T> variant'
build (windows-latest): Robust.Shared/Containers/ContainerSlot.cs#L75
'Logger.Warning(string)' is obsolete: 'Use ISawmill.Warning'
build (windows-latest): Robust.Shared/Containers/ContainerManagerComponent.cs#L32
'Component.Owner' is obsolete: 'Update your API to allow accessing Owner through other means'
build (windows-latest): Robust.Shared/Toolshed/TypeParsers/SessionTypeParser.cs#L46
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.