Skip to content

Remove the dependency on Python.NET #117

Remove the dependency on Python.NET

Remove the dependency on Python.NET #117

Triggered via pull request August 9, 2024 05:53
Status Failure
Total duration 6h 0m 26s
Artifacts

dotnet-ci.yml

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

Annotations

7 errors and 40 warnings
build (macos-13, 3.12)
Process completed with exit code 1.
build (windows-latest, 3.12)
The job running on runner GitHub Actions 20 has exceeded the maximum execution time of 360 minutes.
build (windows-latest, 3.12)
The operation was canceled.
build (macos-latest, 3.12)
The job running on runner GitHub Actions 11 has exceeded the maximum execution time of 360 minutes.
build (macos-latest, 3.12)
The operation was canceled.
build (ubuntu-latest, 3.12)
The job running on runner GitHub Actions 3 has exceeded the maximum execution time of 360 minutes.
build (ubuntu-latest, 3.12)
The operation was canceled.
build (macos-13, 3.12): src/CSnakes/Parser/PythonParser.Function.cs#L15
Possible null reference return.
build (macos-13, 3.12): src/CSnakes/Parser/PythonParser.Function.cs#L16
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
build (macos-13, 3.12): src/CSnakes/Parser/PythonParser.Parameters.cs#L11
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
build (macos-13, 3.12): src/CSnakes/Parser/PythonParser.TypeDef.cs#L11
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?[]> Combinators.ManyDelimitedBy<PythonToken, PythonTypeSpec?, Token<PythonToken>>(TokenListParser<PythonToken, PythonTypeSpec?> parser, TokenListParser<PythonToken, Token<PythonToken>> delimiter, TokenListParser<PythonToken, Token<PythonToken>>? end = null)'.
build (macos-13, 3.12): src/CSnakes/Parser/PythonParser.TypeDef.cs#L10
Argument of type 'TokenListParser<PythonToken, PythonTypeSpec?[]>' cannot be used for parameter 'parser' of type 'TokenListParser<PythonToken, PythonTypeSpec?[]?>' in 'TokenListParser<PythonToken, PythonTypeSpec?[]?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?[]?>(TokenListParser<PythonToken, PythonTypeSpec?[]?> parser, PythonTypeSpec?[]? defaultValue = null)' due to differences in the nullability of reference types.
build (macos-13, 3.12): src/CSnakes.Runtime/Locators/SourceLocator.cs#L5
Parameter 'string version' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build (macos-13, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L170
Converting null literal or possible null value to non-nullable type.
build (macos-13, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L170
Possible null reference return.
build (macos-13, 3.12): src/CSnakes.Runtime/PyObjectTypeConverter.cs#L208
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.
build (macos-13, 3.12): src/CSnakes.Runtime/PyObjectTypeConverter.cs#L246
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.
build (windows-latest, 3.12): src/CSnakes/Parser/PythonParser.Function.cs#L16
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
build (windows-latest, 3.12): src/CSnakes/Parser/PythonParser.Parameters.cs#L11
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
build (windows-latest, 3.12): src/CSnakes/Parser/PythonParser.TypeDef.cs#L11
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?[]> Combinators.ManyDelimitedBy<PythonToken, PythonTypeSpec?, Token<PythonToken>>(TokenListParser<PythonToken, PythonTypeSpec?> parser, TokenListParser<PythonToken, Token<PythonToken>> delimiter, TokenListParser<PythonToken, Token<PythonToken>>? end = null)'.
build (windows-latest, 3.12): src/CSnakes/Parser/PythonParser.TypeDef.cs#L10
Argument of type 'TokenListParser<PythonToken, PythonTypeSpec?[]>' cannot be used for parameter 'parser' of type 'TokenListParser<PythonToken, PythonTypeSpec?[]?>' in 'TokenListParser<PythonToken, PythonTypeSpec?[]?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?[]?>(TokenListParser<PythonToken, PythonTypeSpec?[]?> parser, PythonTypeSpec?[]? defaultValue = null)' due to differences in the nullability of reference types.
build (windows-latest, 3.12): src/CSnakes.Runtime/Locators/SourceLocator.cs#L5
Parameter 'string version' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build (windows-latest, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L170
Converting null literal or possible null value to non-nullable type.
build (windows-latest, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L170
Possible null reference return.
build (windows-latest, 3.12): src/CSnakes.Runtime/PyObjectTypeConverter.cs#L208
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.
build (windows-latest, 3.12): src/CSnakes.Runtime/PyObjectTypeConverter.cs#L246
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.
build (macos-latest, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L170
Converting null literal or possible null value to non-nullable type.
build (macos-latest, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L170
Possible null reference return.
build (macos-latest, 3.12): src/CSnakes.Runtime/PyObjectTypeConverter.cs#L208
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.
build (macos-latest, 3.12): src/CSnakes.Runtime/PyObjectTypeConverter.cs#L246
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.
build (macos-latest, 3.12): src/CSnakes.Runtime/Locators/SourceLocator.cs#L5
Parameter 'string version' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build (macos-latest, 3.12): src/CSnakes.Runtime/CPython/Structures.cs#L10
Field 'CPythonAPI.PyObjectStruct.ob_type' is never assigned to, and will always have its default value
build (macos-latest, 3.12): src/CSnakes.Runtime/CPython/Structures.cs#L9
Field 'CPythonAPI.PyObjectStruct.ob_refcnt' is never assigned to, and will always have its default value
build (macos-latest, 3.12): src/CSnakes/Parser/PythonParser.Function.cs#L15
Possible null reference return.
build (macos-latest, 3.12): src/CSnakes/Parser/PythonParser.Function.cs#L16
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
build (macos-latest, 3.12): src/CSnakes/Parser/PythonParser.Parameters.cs#L11
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
build (ubuntu-latest, 3.12): src/CSnakes/Parser/PythonParser.Function.cs#L15
Possible null reference return.
build (ubuntu-latest, 3.12): src/CSnakes/Parser/PythonParser.Function.cs#L16
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
build (ubuntu-latest, 3.12): src/CSnakes/Parser/PythonParser.Parameters.cs#L11
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?>(TokenListParser<PythonToken, PythonTypeSpec?> parser, PythonTypeSpec? defaultValue = null)'.
build (ubuntu-latest, 3.12): src/CSnakes/Parser/PythonParser.TypeDef.cs#L11
Possible null reference argument for parameter 'parser' in 'TokenListParser<PythonToken, PythonTypeSpec?[]> Combinators.ManyDelimitedBy<PythonToken, PythonTypeSpec?, Token<PythonToken>>(TokenListParser<PythonToken, PythonTypeSpec?> parser, TokenListParser<PythonToken, Token<PythonToken>> delimiter, TokenListParser<PythonToken, Token<PythonToken>>? end = null)'.
build (ubuntu-latest, 3.12): src/CSnakes/Parser/PythonParser.TypeDef.cs#L10
Argument of type 'TokenListParser<PythonToken, PythonTypeSpec?[]>' cannot be used for parameter 'parser' of type 'TokenListParser<PythonToken, PythonTypeSpec?[]?>' in 'TokenListParser<PythonToken, PythonTypeSpec?[]?> Combinators.OptionalOrDefault<PythonToken, PythonTypeSpec?[]?>(TokenListParser<PythonToken, PythonTypeSpec?[]?> parser, PythonTypeSpec?[]? defaultValue = null)' due to differences in the nullability of reference types.
build (ubuntu-latest, 3.12): src/CSnakes.Runtime/Locators/SourceLocator.cs#L5
Parameter 'string version' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build (ubuntu-latest, 3.12): src/CSnakes.Runtime/PyObjectTypeConverter.cs#L208
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.
build (ubuntu-latest, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L170
Converting null literal or possible null value to non-nullable type.
build (ubuntu-latest, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L170
Possible null reference return.
build (ubuntu-latest, 3.12): src/CSnakes.Runtime/PyObjectTypeConverter.cs#L246
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.