Skip to content

Fix nativeaot static link #88

Fix nativeaot static link

Fix nativeaot static link #88

Triggered via push March 18, 2024 16:14
Status Failure
Total duration 2m 52s
Artifacts 3

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 28 warnings
publish-linux-x64
Process completed with exit code 1.
publish-linux-arm64
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: SharpPcap/LibPcap/PcapUnmanagedStructures.cs#L48
The type name 'sockaddr' only contains lower-cased ascii characters. Such names may become reserved for the language.
build: SharpPcap/LibPcap/PcapDevice.cs#L528
The variable 'pe' is declared but never used
build: SharpPcap/LibPcap/PcapUnmanagedStructures.cs#L48
The type name 'sockaddr' only contains lower-cased ascii characters. Such names may become reserved for the language.
build: SharpPcap/LibPcap/PcapDevice.cs#L528
The variable 'pe' is declared but never used
publish-linux-x64
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
publish-linux-x64
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/
publish-macos
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
publish-macos
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
publish-macos: SharpPcap/LibPcap/PcapUnmanagedStructures.cs#L48
The type name 'sockaddr' only contains lower-cased ascii characters. Such names may become reserved for the language.
publish-macos: SharpPcap/LibPcap/PcapDevice.cs#L528
The variable 'pe' is declared but never used
publish-macos: SharpPcap/LibPcap/NativeLibraryHelper.cs#L14
Using member 'System.Reflection.Assembly.GetType(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
publish-macos: SharpPcap/LibPcap/NativeLibraryHelper.cs#L49
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])'. The field 'SharpPcap.LibPcap.NativeLibraryHelper.NativeLibraryType' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
publish-linux-arm64
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
publish-linux-arm64
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
publish-linux-arm64: SharpPcap/LibPcap/PcapUnmanagedStructures.cs#L48
The type name 'sockaddr' only contains lower-cased ascii characters. Such names may become reserved for the language.
publish-linux-arm64: SharpPcap/LibPcap/PcapDevice.cs#L528
The variable 'pe' is declared but never used
publish-linux-arm64: SharpPcap/LibPcap/NativeLibraryHelper.cs#L14
Using member 'System.Reflection.Assembly.GetType(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
publish-linux-arm64: SharpPcap/LibPcap/NativeLibraryHelper.cs#L49
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])'. The field 'SharpPcap.LibPcap.NativeLibraryHelper.NativeLibraryType' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
publish-linux-arm64
expression result unused; should this cast be to 'void'?
publish-linux-arm64
expression result unused; should this cast be to 'void'?
publish-windows
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
publish-windows
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
publish-windows: SharpPcap/LibPcap/PcapUnmanagedStructures.cs#L48
The type name 'sockaddr' only contains lower-cased ascii characters. Such names may become reserved for the language.
publish-windows: SharpPcap/LibPcap/PcapDevice.cs#L528
The variable 'pe' is declared but never used
publish-windows: SharpPcap/LibPcap/NativeLibraryHelper.cs#L14
Using member 'System.Reflection.Assembly.GetType(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
publish-windows: SharpPcap/LibPcap/NativeLibraryHelper.cs#L49
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods' in call to 'System.Type.GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])'. The field 'SharpPcap.LibPcap.NativeLibraryHelper.NativeLibraryType' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.

Artifacts

Produced during runtime
Name Size
Windows_Arm64 Expired
5.38 MB
Windows_x64 Expired
5.31 MB
macOS_ARM64 Expired
24.9 MB