Skip to content

Remove the dependency on Python.NET #127

Remove the dependency on Python.NET

Remove the dependency on Python.NET #127

Triggered via pull request August 12, 2024 08:31
Status Failure
Total duration 2m 37s
Artifacts

dotnet-ci.yml

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

Annotations

4 errors and 40 warnings
build (macos-latest, 3.12)
Process completed with exit code 1.
build (ubuntu-latest, 3.12)
Process completed with exit code 1.
build (macos-13, 3.12)
Process completed with exit code 1.
build (windows-latest, 3.12)
Process completed with exit code 1.
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 (macos-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 (macos-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 (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/Python/PyObject.cs#L177
Converting null literal or possible null value to non-nullable type.
build (macos-latest, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L177
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 (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/Python/PyObject.cs#L177
Converting null literal or possible null value to non-nullable type.
build (ubuntu-latest, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L177
Possible null reference return.
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/PyObjectTypeConverter.cs#L246
Possible null reference argument for parameter 'o' in 'PyObject PyObjectTypeConverter.ToPython(object o, ITypeDescriptorContext? context, CultureInfo? culture)'.
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#L177
Converting null literal or possible null value to non-nullable type.
build (macos-13, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L177
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#L177
Converting null literal or possible null value to non-nullable type.
build (windows-latest, 3.12): src/CSnakes.Runtime/Python/PyObject.cs#L177
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)'.