-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_log_utf8.txt
More file actions
116 lines (113 loc) · 34.4 KB
/
build_log_utf8.txt
File metadata and controls
116 lines (113 loc) · 34.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
Determining projects to restore...
C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj : warning NU1608: Detected package version outside of dependency constraint: AutoMapper.Extensions.Microsoft.DependencyInjection 12.0.1 requires AutoMapper (= 12.0.1) but version AutoMapper 13.0.1 was resolved.
C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj : warning NU1608: Detected package version outside of dependency constraint: MediatR.Extensions.Microsoft.DependencyInjection 11.1.0 requires MediatR (>= 11.0.0 && < 12.0.0) but version MediatR 12.4.1 was resolved.
All projects are up-to-date for restore.
Building NexusHome IoT Platform v2.1.0 in Debug mode...
C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj : warning NU1608: Detected package version outside of dependency constraint: AutoMapper.Extensions.Microsoft.DependencyInjection 12.0.1 requires AutoMapper (= 12.0.1) but version AutoMapper 13.0.1 was resolved.
C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj : warning NU1608: Detected package version outside of dependency constraint: MediatR.Extensions.Microsoft.DependencyInjection 11.1.0 requires MediatR (>= 11.0.0 && < 12.0.0) but version MediatR 12.4.1 was resolved.
C:\Users\Aaron Sequeira\.nuget\packages\microsoft.net.test.sdk\17.11.1\build\netcoreapp3.1\Microsoft.NET.Test.Sdk.Program.cs(4,41): warning CS7022: The entry point of the program is global code; ignoring 'AutoGeneratedProgram.Main(string[])' entry point. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\Services\SecurityManager.cs(15,29): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\Services\PredictiveMaintenanceService.cs(53,47): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\Services\PredictiveMaintenanceService.cs(63,42): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Controllers\AutomationController.cs(134,31): warning CS8601: Possible null reference assignment. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\DeviceDataCollectionService.cs(57,24): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Data\DatabaseSeeder.cs(181,31): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Data\DatabaseSeeder.cs(229,31): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(78,23): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(164,24): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Matter\Clusters\OnOffClusterHandler.cs(42,54): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\program.cs(72,35): error CS1061: 'ISignalRServerBuilder' does not contain a definition for 'AddStackExchangeRedis' and no accessible extension method 'AddStackExchangeRedis' accepting a first argument of type 'ISignalRServerBuilder' could be found (are you missing a using directive or an assembly reference?) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Matter\Clusters\OnOffClusterHandler.cs(147,29): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Matter\Clusters\OnOffClusterHandler.cs(148,30): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Matter\Clusters\OnOffClusterHandler.cs(149,29): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(274,19): warning CS8618: Non-nullable property 'CurrentSettings' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(275,19): warning CS8618: Non-nullable property 'OptimalSettings' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(261,31): warning CS8618: Non-nullable property 'UserPreferences' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(80,19): warning CS8618: Non-nullable property 'ChargingSchedule' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(81,19): warning CS8618: Non-nullable property 'DischargingSchedule' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(51,19): warning CS8618: Non-nullable property 'CurrentSchedule' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(52,19): warning CS8618: Non-nullable property 'RecommendedSchedule' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(100,19): warning CS8618: Non-nullable property 'DirectConsumptionPlan' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(101,19): warning CS8618: Non-nullable property 'StorageAllocationPlan' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(102,19): warning CS8618: Non-nullable property 'GridExportPlan' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(196,27): warning CS8618: Non-nullable property 'PredictionInterval' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(167,19): warning CS8618: Non-nullable property 'ActionId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(380,13): warning CS0219: The variable 'messageReceived' is assigned but its value is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\Services\EnergyOptimizationService.cs(240,55): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Integration\Controllers\SmartDevicesControllerIntegrationTests.cs(434,9): warning CS8602: Dereference of a possibly null reference. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Integration\Controllers\SmartDevicesControllerIntegrationTests.cs(518,9): warning CS8602: Dereference of a possibly null reference. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Matter\Clusters\ThermostatClusterHandler.cs(38,20): warning CS0649: Field 'ThermostatClusterHandler._outdoorTemperature' is never assigned to, and will always have its default value [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(25,55): warning CS0067: The event 'MatterService.DeviceCommissioned' is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterDiscoveryService.cs(28,34): warning CS0067: The event 'MatterDiscoveryService.OnDeviceLost' is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(27,58): warning CS0067: The event 'MatterService.AttributeChanged' is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(26,55): warning CS0067: The event 'MatterService.DeviceDecommissioned' is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(21,18): warning CS0414: The field 'MatterService._isStarted' is assigned but its value is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\API\Middleware\SecurityHeadersMiddleware.cs(17,13): warning ASP0019: Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\API\Middleware\SecurityHeadersMiddleware.cs(18,13): warning ASP0019: Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\API\Middleware\SecurityHeadersMiddleware.cs(19,13): warning ASP0019: Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(84,17): warning xUnit1012: Null should not be used for type parameter 'invalidPayload' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(102,17): warning xUnit1012: Null should not be used for type parameter 'invalidTopicName' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(137,17): warning xUnit1012: Null should not be used for type parameter 'invalidDeviceId' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(167,17): warning xUnit1012: Null should not be used for type parameter 'invalidDeviceId' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(185,17): warning xUnit1012: Null should not be used for type parameter 'invalidCommandType' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(203,17): warning xUnit1012: Null should not be used for type parameter 'invalidAlertType' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(221,17): warning xUnit1012: Null should not be used for type parameter 'invalidAlertMessage' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\PredictiveMaintenanceServiceTests.cs(225,17): warning xUnit1012: Null should not be used for type parameter 'deviceType' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(239,17): warning xUnit1012: Null should not be used for type parameter 'invalidTopicPattern' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
Build FAILED.
C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj : warning NU1608: Detected package version outside of dependency constraint: AutoMapper.Extensions.Microsoft.DependencyInjection 12.0.1 requires AutoMapper (= 12.0.1) but version AutoMapper 13.0.1 was resolved.
C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj : warning NU1608: Detected package version outside of dependency constraint: MediatR.Extensions.Microsoft.DependencyInjection 11.1.0 requires MediatR (>= 11.0.0 && < 12.0.0) but version MediatR 12.4.1 was resolved.
C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj : warning NU1608: Detected package version outside of dependency constraint: AutoMapper.Extensions.Microsoft.DependencyInjection 12.0.1 requires AutoMapper (= 12.0.1) but version AutoMapper 13.0.1 was resolved.
C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj : warning NU1608: Detected package version outside of dependency constraint: MediatR.Extensions.Microsoft.DependencyInjection 11.1.0 requires MediatR (>= 11.0.0 && < 12.0.0) but version MediatR 12.4.1 was resolved.
C:\Users\Aaron Sequeira\.nuget\packages\microsoft.net.test.sdk\17.11.1\build\netcoreapp3.1\Microsoft.NET.Test.Sdk.Program.cs(4,41): warning CS7022: The entry point of the program is global code; ignoring 'AutoGeneratedProgram.Main(string[])' entry point. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\Services\SecurityManager.cs(15,29): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\Services\PredictiveMaintenanceService.cs(53,47): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\Services\PredictiveMaintenanceService.cs(63,42): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Controllers\AutomationController.cs(134,31): warning CS8601: Possible null reference assignment. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\DeviceDataCollectionService.cs(57,24): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Data\DatabaseSeeder.cs(181,31): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Data\DatabaseSeeder.cs(229,31): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(78,23): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(164,24): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Matter\Clusters\OnOffClusterHandler.cs(42,54): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Matter\Clusters\OnOffClusterHandler.cs(147,29): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Matter\Clusters\OnOffClusterHandler.cs(148,30): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Matter\Clusters\OnOffClusterHandler.cs(149,29): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(274,19): warning CS8618: Non-nullable property 'CurrentSettings' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(275,19): warning CS8618: Non-nullable property 'OptimalSettings' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(261,31): warning CS8618: Non-nullable property 'UserPreferences' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(80,19): warning CS8618: Non-nullable property 'ChargingSchedule' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(81,19): warning CS8618: Non-nullable property 'DischargingSchedule' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(51,19): warning CS8618: Non-nullable property 'CurrentSchedule' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(52,19): warning CS8618: Non-nullable property 'RecommendedSchedule' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(100,19): warning CS8618: Non-nullable property 'DirectConsumptionPlan' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(101,19): warning CS8618: Non-nullable property 'StorageAllocationPlan' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(102,19): warning CS8618: Non-nullable property 'GridExportPlan' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(196,27): warning CS8618: Non-nullable property 'PredictionInterval' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\DTOs\EnergyOptimizationDTOs.cs(167,19): warning CS8618: Non-nullable property 'ActionId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(380,13): warning CS0219: The variable 'messageReceived' is assigned but its value is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Core\Services\EnergyOptimizationService.cs(240,55): warning CS1998: 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. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Integration\Controllers\SmartDevicesControllerIntegrationTests.cs(434,9): warning CS8602: Dereference of a possibly null reference. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Integration\Controllers\SmartDevicesControllerIntegrationTests.cs(518,9): warning CS8602: Dereference of a possibly null reference. [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Matter\Clusters\ThermostatClusterHandler.cs(38,20): warning CS0649: Field 'ThermostatClusterHandler._outdoorTemperature' is never assigned to, and will always have its default value [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(25,55): warning CS0067: The event 'MatterService.DeviceCommissioned' is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterDiscoveryService.cs(28,34): warning CS0067: The event 'MatterDiscoveryService.OnDeviceLost' is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(27,58): warning CS0067: The event 'MatterService.AttributeChanged' is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(26,55): warning CS0067: The event 'MatterService.DeviceDecommissioned' is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Infrastructure\Services\MatterService.cs(21,18): warning CS0414: The field 'MatterService._isStarted' is assigned but its value is never used [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\API\Middleware\SecurityHeadersMiddleware.cs(17,13): warning ASP0019: Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\API\Middleware\SecurityHeadersMiddleware.cs(18,13): warning ASP0019: Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\API\Middleware\SecurityHeadersMiddleware.cs(19,13): warning ASP0019: Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(84,17): warning xUnit1012: Null should not be used for type parameter 'invalidPayload' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(102,17): warning xUnit1012: Null should not be used for type parameter 'invalidTopicName' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(137,17): warning xUnit1012: Null should not be used for type parameter 'invalidDeviceId' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(167,17): warning xUnit1012: Null should not be used for type parameter 'invalidDeviceId' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(185,17): warning xUnit1012: Null should not be used for type parameter 'invalidCommandType' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(203,17): warning xUnit1012: Null should not be used for type parameter 'invalidAlertType' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(221,17): warning xUnit1012: Null should not be used for type parameter 'invalidAlertMessage' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\PredictiveMaintenanceServiceTests.cs(225,17): warning xUnit1012: Null should not be used for type parameter 'deviceType' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\Tests\Unit\Services\EnhancedMqttClientServiceTests.cs(239,17): warning xUnit1012: Null should not be used for type parameter 'invalidTopicPattern' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
C:\Users\Aaron Sequeira\NexusHome_IoT\program.cs(72,35): error CS1061: 'ISignalRServerBuilder' does not contain a definition for 'AddStackExchangeRedis' and no accessible extension method 'AddStackExchangeRedis' accepting a first argument of type 'ISignalRServerBuilder' could be found (are you missing a using directive or an assembly reference?) [C:\Users\Aaron Sequeira\NexusHome_IoT\NexusHome.IoT.csproj]
52 Warning(s)
1 Error(s)
Time Elapsed 00:00:06.91