Skip to content

Implements SystemDateAndTime schema as well as Get and Set operations with tests #12

Implements SystemDateAndTime schema as well as Get and Set operations with tests

Implements SystemDateAndTime schema as well as Get and Set operations with tests #12

Triggered via pull request July 9, 2024 14:23
Status Failure
Total duration 40s
Artifacts

ci_tests.yml

on: pull_request
Build and test
30s
Build and test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 8 warnings
Build and test: test/media/get_service_capabilities_test.exs#L21
** (CompileError) test/media/get_service_capabilities_test.exs:21: Onvif.Media.Ver10.ServiceCapabilities.ProfileCapabilities.__struct__/1 is undefined, cannot expand struct Onvif.Media.Ver10.ServiceCapabilities.ProfileCapabilities. Make sure the struct name is correct. If the struct name exists and is correct but it still cannot be found, you likely have cyclic module usage in your code
Build and test
Process completed with exit code 1.
Build and test: lib/devices/system_date_and_time.ex#L40
redefining module Onvif.Devices.SystemDateAndTime.UTCDateTime (current version loaded from _build/test/lib/onvif/ebin/Elixir.Onvif.Devices.SystemDateAndTime.UTCDateTime.beam)
Build and test: lib/devices/system_date_and_time.ex#L43
redefining module Onvif.Devices.SystemDateAndTime.UTCDateTime.Time (current version loaded from _build/test/lib/onvif/ebin/Elixir.Onvif.Devices.SystemDateAndTime.UTCDateTime.Time.beam)
Build and test: lib/devices/system_date_and_time.ex#L43
redefining module Jason.Encoder.Onvif.Devices.SystemDateAndTime.UTCDateTime.Time (current version loaded from _build/test/lib/onvif/ebin/Elixir.Jason.Encoder.Onvif.Devices.SystemDateAndTime.UTCDateTime.Time.beam)
Build and test: lib/devices/system_date_and_time.ex#L50
redefining module Onvif.Devices.SystemDateAndTime.UTCDateTime.Date (current version loaded from _build/test/lib/onvif/ebin/Elixir.Onvif.Devices.SystemDateAndTime.UTCDateTime.Date.beam)
Build and test: lib/devices/system_date_and_time.ex#L50
redefining module Jason.Encoder.Onvif.Devices.SystemDateAndTime.UTCDateTime.Date (current version loaded from _build/test/lib/onvif/ebin/Elixir.Jason.Encoder.Onvif.Devices.SystemDateAndTime.UTCDateTime.Date.beam)
Build and test: lib/devices/system_date_and_time.ex#L40
redefining module Jason.Encoder.Onvif.Devices.SystemDateAndTime.UTCDateTime (current version loaded from _build/test/lib/onvif/ebin/Elixir.Jason.Encoder.Onvif.Devices.SystemDateAndTime.UTCDateTime.beam)
Build and test: lib/devices/set_system_date_and_time.ex#L16
variable "set_time?" is unused (if the variable is not meant to be used, prefix it with an underscore)
Build and test: lib/devices/set_system_date_and_time.ex#L35
variable "system_date_time" is unused (if the variable is not meant to be used, prefix it with an underscore)