Skip to content

Code coverage

Code coverage #3

Triggered via pull request December 28, 2023 03:10
@CyberbossCyberboss
synchronize #4
CodeCoverage
Status Failure
Total duration 6m 39s
Artifacts

test-tgs.yml

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

Annotations

10 errors and 12 warnings
build (ubuntu-latest)
A local variable or function named 'types' is already defined in this scope
build (ubuntu-latest)
No overload for method 'LoadProcsFromJson' takes 3 arguments
build (ubuntu-latest)
There is no argument given that corresponds to the required parameter 'procs' of 'DreamObjectTree.LoadTypesFromJson(DreamTypeJson[], ProcDefinitionJson[]?, int[]?)'
build (ubuntu-latest)
A local variable or function named 'types' is already defined in this scope
build (ubuntu-latest)
No overload for method 'LoadProcsFromJson' takes 3 arguments
build (ubuntu-latest)
There is no argument given that corresponds to the required parameter 'procs' of 'DreamObjectTree.LoadTypesFromJson(DreamTypeJson[], ProcDefinitionJson[]?, int[]?)'
build (ubuntu-latest)
Process completed with exit code 1.
TestOpenDreamExclusiveTgsOperation: D:\a\OpenDream\tgstation-server\tests\Tgstation.Server.Tests\Live\TestLiveServer.cs#L1218
Assert.Fail failed. System.AggregateException: One or more errors occurred. (OpenDream build failed!) ---> Tgstation.Server.Host.Jobs.JobException: OpenDream build failed! at Tgstation.Server.Host.Components.Engine.OpenDreamInstaller.Install(EngineVersion version, String installPath, CancellationToken cancellationToken) in D:\a\OpenDream\tgstation-server\src\Tgstation.Server.Host\Components\Engine\OpenDreamInstaller.cs:line 291 at Tgstation.Server.Common.Extensions.ValueTaskExtensions.WhenAll(IReadOnlyList`1 tasks) in /_/src/Tgstation.Server.Common/Extensions/ValueTaskExtensions.cs:line 137 --- End of inner exception stack trace --- at Tgstation.Server.Common.Extensions.ValueTaskExtensions.WhenAll(IReadOnlyList`1 tasks) in /_/src/Tgstation.Server.Common/Extensions/ValueTaskExtensions.cs:line 146 at Tgstation.Server.Host.Components.Engine.EngineManager.InstallVersionFiles(JobProgressReporter progressReporter, EngineVersion version, Stream customVersionStream, CancellationToken cancellationToken) in D:\a\OpenDream\tgstation-server\src\Tgstation.Server.Host\Components\Engine\EngineManager.cs:line 557 at Tgstation.Server.Host.Components.Engine.EngineManager.InstallVersionFiles(JobProgressReporter progressReporter, EngineVersion version, Stream customVersionStream, CancellationToken cancellationToken) in D:\a\OpenDream\tgstation-server\src\Tgstation.Server.Host\Components\Engine\EngineManager.cs:line 580 at Tgstation.Server.Host.Components.Engine.EngineManager.AssertAndLockVersion(JobProgressReporter progressReporter, EngineVersion version, Stream customVersionStream, Boolean neededForLock, Boolean allowInstallation, CancellationToken cancellationToken) in D:\a\OpenDream\tgstation-server\src\Tgstation.Server.Host\Components\Engine\EngineManager.cs:line 476 at Tgstation.Server.Host.Components.Engine.EngineManager.AssertAndLockVersion(JobProgressReporter progressReporter, EngineVersion version, Stream customVersionStream, Boolean neededForLock, Boolean allowInstallation, CancellationToken cancellationToken) in D:\a\OpenDream\tgstation-server\src\Tgstation.Server.Host\Components\Engine\EngineManager.cs:line 491 at Tgstation.Server.Host.Components.Engine.EngineManager.ChangeVersion(JobProgressReporter progressReporter, EngineVersion version, Stream customVersionStream, Boolean allowInstallation, CancellationToken cancellationToken) in D:\a\OpenDream\tgstation-server\src\Tgstation.Server.Host\Components\Engine\EngineManager.cs:line 131 at Tgstation.Server.Host.Controllers.EngineController.<>c__DisplayClass6_1.<<Update>b__2>d.MoveNext() in D:\a\OpenDream\tgstation-server\src\Tgstation.Server.Host\Controllers\EngineController.cs:line 248 --- End of stack trace from previous location --- at Tgstation.Server.Host.Controllers.EngineController.<>c__DisplayClass6_1.<<Update>b__2>d.MoveNext() in D:\a\OpenDream\tgstation-server\src\Tgstation.Server.Host\Controllers\EngineController.cs:line 248 --- End of stack trace from previous location --- at Tgstation.Server.Host.Jobs.JobService.RunJob(Job job, JobEntrypoint operation, CancellationToken cancellationToken) in D:\a\OpenDream\tgstation-server\src\Tgstation.Server.Host\Jobs\JobService.cs:line 463
build (windows-latest)
Process completed with exit code 1.
build (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: space-wizards/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest)
'ISerializationHooks' is obsolete: 'Avoid using ISerializationHooks in favour of (Custom)TypeSerializers or ComponentInit-Events.'
build (ubuntu-latest)
'ISerializationHooks' is obsolete: 'Avoid using ISerializationHooks in favour of (Custom)TypeSerializers or ComponentInit-Events.'
build (ubuntu-latest)
'MarkupNode' overrides Object.Equals(object o) but does not override Object.GetHashCode()
build (ubuntu-latest)
'ISerializationHooks' is obsolete: 'Avoid using ISerializationHooks in favour of (Custom)TypeSerializers or ComponentInit-Events.'
build (ubuntu-latest)
'ISerializationHooks' is obsolete: 'Avoid using ISerializationHooks in favour of (Custom)TypeSerializers or ComponentInit-Events.'
build (ubuntu-latest)
'TransformComponent.Coordinates.set' is obsolete: 'Use the system's setter method instead.'
build (ubuntu-latest)
'TransformComponent.AttachToGridOrMap()' is obsolete: 'Use the system's method instead.'
build (ubuntu-latest)
'TransformComponent.AttachToGridOrMap()' is obsolete: 'Use the system's method instead.'
build (ubuntu-latest)
'Component.Owner' is obsolete: 'Update your API to allow accessing Owner through other means'
build (ubuntu-latest)
'Logger.ErrorS(string, Exception, string, params object?[])' is obsolete: 'Use ISawmill.Error'
build (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: space-wizards/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/