I have tried to deploy this source code to my ORG using Force.com CLI but failed. Below is the error:
Validating and deploying push...
Deploying now...
Status: InProgress (2/40) Processing Type: ApexPage
Status: InProgress (21/40) Processing Type: ApexClass
Status: InProgress (34/40)
Successes - 32
SIM_State_Change__c.Device__c: changed
JasperSettings__c.API_Server__c: changed
JasperSettings__c.License_Key__c: changed
JasperSettings__c.Password__c: changed
JasperSettings__c.Username__c: changed
SIM_State_Change__c.FromSimState__c: changed
SIM_State_Change__c.ToSimState__c: changed
Device__c.Asset__c: changed
JasperSettings__c.Push_API_Shared_Secret__c: changed
ExerciseJasper: changed
JasperAPI: changed
JasperAPIMock: changed
JasperAccount: changed
JasperPushController: changed
JasperSMS: changed
JasperTerminal: changed
TestExerciseJasper: changed
TestJasperAPI: changed
TestJasperAccount: changed
TestJasperPushController: changed
TestJasperTerminal: changed
status: changed
streaming: changed
JasperSettings__c: changed
SIM_State_Change__c: changed
Device__c.All: changed
SIM_State_Change__c.All: changed
SIM_State_Change__c-SIM State Change Layout: changed
Device__c: changed
SIM_State_Change__c: changed
Jasper: changed
JasperPush: changed
Test Successes - 0
Failures - 35
"Force.com-Toolkit-for-Jasper-master/remoteSiteSettings/Jasper.remoteSite", line 0: Error Property 'tab' not valid in version 45.0
"Force.com-Toolkit-for-Jasper-master/layouts/Device__c-Device Layout.layout", line 64: Error In field: relatedList - no CustomField named Reading__c.Device__c found
"Force.com-Toolkit-for-Jasper-master/classes/DeviceExtension.cls-meta.xml", line 219: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/DeviceExtension.cls-meta.xml", line 221: Error Invalid type: Schema.Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 61: Error FROM Usage__r
^
ERROR at Row:6:Column:13
Didn't understand relationship 'Usage__r' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 88: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 89: Error Variable does not exist: usage.CreatedDate
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 90: Error Variable does not exist: usage.CreatedDate
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 97: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 98: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 99: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 102: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 111: Error DML requires SObject or SObject list type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 38: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 48: Error DML requires SObject or SObject list type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 60: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 68: Error Variable does not exist: newUsage
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 69: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 70: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 70: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 73: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 75: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 76: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 78: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 79: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 81: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 82: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 85: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 88: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 91: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestJasperUtils.cls-meta.xml", line 31: Error Invalid type: TempData
"Force.com-Toolkit-for-Jasper-master/classes/TestJasperUtils.cls-meta.xml", line 57: Error Invalid type: TempData
"Force.com-Toolkit-for-Jasper-master/pages/DevicePage.page-meta.xml", line 0: Error Apex class 'DeviceExtension' does not exist
"Force.com-Toolkit-for-Jasper-master/tabs/Device__c.tab", line 0: Error 0663t000003lolo does not exist or is not a valid override for action View.
Unknown type name 'Force.com-Toolkit-for-Jasper-master' specified in package.xml
Test Failures - 0
ERROR: Some components failed deployment
I have tried to deploy this source code to my ORG using Force.com CLI but failed. Below is the error:
Validating and deploying push...
Deploying now...
Status: InProgress (2/40) Processing Type: ApexPage
Status: InProgress (21/40) Processing Type: ApexClass
Status: InProgress (34/40)
Successes - 32
SIM_State_Change__c.Device__c: changed
JasperSettings__c.API_Server__c: changed
JasperSettings__c.License_Key__c: changed
JasperSettings__c.Password__c: changed
JasperSettings__c.Username__c: changed
SIM_State_Change__c.FromSimState__c: changed
SIM_State_Change__c.ToSimState__c: changed
Device__c.Asset__c: changed
JasperSettings__c.Push_API_Shared_Secret__c: changed
ExerciseJasper: changed
JasperAPI: changed
JasperAPIMock: changed
JasperAccount: changed
JasperPushController: changed
JasperSMS: changed
JasperTerminal: changed
TestExerciseJasper: changed
TestJasperAPI: changed
TestJasperAccount: changed
TestJasperPushController: changed
TestJasperTerminal: changed
status: changed
streaming: changed
JasperSettings__c: changed
SIM_State_Change__c: changed
Device__c.All: changed
SIM_State_Change__c.All: changed
SIM_State_Change__c-SIM State Change Layout: changed
Device__c: changed
SIM_State_Change__c: changed
Jasper: changed
JasperPush: changed
Test Successes - 0
Failures - 35
"Force.com-Toolkit-for-Jasper-master/remoteSiteSettings/Jasper.remoteSite", line 0: Error Property 'tab' not valid in version 45.0
"Force.com-Toolkit-for-Jasper-master/layouts/Device__c-Device Layout.layout", line 64: Error In field: relatedList - no CustomField named Reading__c.Device__c found
"Force.com-Toolkit-for-Jasper-master/classes/DeviceExtension.cls-meta.xml", line 219: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/DeviceExtension.cls-meta.xml", line 221: Error Invalid type: Schema.Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 61: Error FROM Usage__r
^
ERROR at Row:6:Column:13
Didn't understand relationship 'Usage__r' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 88: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 89: Error Variable does not exist: usage.CreatedDate
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 90: Error Variable does not exist: usage.CreatedDate
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 97: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 98: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 99: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 102: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/GetDataUsage.cls-meta.xml", line 111: Error DML requires SObject or SObject list type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 38: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 48: Error DML requires SObject or SObject list type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 60: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 68: Error Variable does not exist: newUsage
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 69: Error Invalid type: Usage__c
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 70: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 70: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 73: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 75: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 76: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 78: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 79: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 81: Error Variable does not exist: usage
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 82: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 85: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 88: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestGetDataUsage.cls-meta.xml", line 91: Error Variable does not exist: u
"Force.com-Toolkit-for-Jasper-master/classes/TestJasperUtils.cls-meta.xml", line 31: Error Invalid type: TempData
"Force.com-Toolkit-for-Jasper-master/classes/TestJasperUtils.cls-meta.xml", line 57: Error Invalid type: TempData
"Force.com-Toolkit-for-Jasper-master/pages/DevicePage.page-meta.xml", line 0: Error Apex class 'DeviceExtension' does not exist
"Force.com-Toolkit-for-Jasper-master/tabs/Device__c.tab", line 0: Error 0663t000003lolo does not exist or is not a valid override for action View.
Unknown type name 'Force.com-Toolkit-for-Jasper-master' specified in package.xml
Test Failures - 0
ERROR: Some components failed deployment