Started by remote host 104.192.143.193
Building in workspace /var/lib/jenkins/jobs/raspoid/workspace
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@bitbucket.org:julien0305/tfe_dev.git # timeout=10
Fetching upstream changes from git@bitbucket.org:julien0305/tfe_dev.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git -c core.askpass=true fetch --tags --progress git@bitbucket.org:julien0305/tfe_dev.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 26656f0805b37b9424fa9f8250057ede21ddacb0 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 26656f0805b37b9424fa9f8250057ede21ddacb0
> git rev-list bd98027acf31f0e0096c03510f686c2204c167e9 # timeout=10
[Gradle] - Launching build.
[brickpi_java_api] $ /var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/gradlew -s clean build
:clean
:compileJava/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/Joystick.java:51: error: incompatible types: int cannot be converted to ADC_PCF8591InputChannel
if(adc.analogToDigital(BT_CHANNEL) == 0) {
^
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/Joystick.java:55: error: incompatible types: int cannot be converted to ADC_PCF8591InputChannel
int x = adc.analogToDigital(X_CHANNEL);
^
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/Joystick.java:61: error: incompatible types: int cannot be converted to ADC_PCF8591InputChannel
int y = adc.analogToDigital(Y_CHANNEL);
^
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/Joystick.java:76: error: incompatible types: int cannot be converted to ADC_PCF8591InputChannel
if(adc.analogToDigital(BT_CHANNEL) == 0)
^
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/Joystick.java:79: error: incompatible types: int cannot be converted to ADC_PCF8591InputChannel
return new int[]{adc.analogToDigital(X_CHANNEL), adc.analogToDigital(Y_CHANNEL)};
^
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/Joystick.java:79: error: incompatible types: int cannot be converted to ADC_PCF8591InputChannel
return new int[]{adc.analogToDigital(X_CHANNEL), adc.analogToDigital(Y_CHANNEL)};
^
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/Joystick.java:90: error: incompatible types: int cannot be converted to ADC_PCF8591InputChannel
return new int[] {adc.analogToDigital(X_CHANNEL), adc.analogToDigital(Y_CHANNEL), adc.analogToDigital(BT_CHANNEL)};
^
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/Joystick.java:90: error: incompatible types: int cannot be converted to ADC_PCF8591InputChannel
return new int[] {adc.analogToDigital(X_CHANNEL), adc.analogToDigital(Y_CHANNEL), adc.analogToDigital(BT_CHANNEL)};
^
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/Joystick.java:90: error: incompatible types: int cannot be converted to ADC_PCF8591InputChannel
return new int[] {adc.analogToDigital(X_CHANNEL), adc.analogToDigital(Y_CHANNEL), adc.analogToDigital(BT_CHANNEL)};
^
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/SoundSensor.java:22: error: incompatible types: int cannot be converted to ADC_PCF8591InputChannel
return adc.analogToDigital(soundSensorChannel);
^
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/Photoresistor.java:27: error: incompatible types: int cannot be converted to ADC_PCF8591InputChannel
return adc.analogToDigital(photoresistorChannel);
^
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/robots/poc/RobotPOC.java:140: error: constructor TowerProMG90S in class TowerProMG90S cannot be applied to given types;
servo1 = new TowerProMG90S(pca9685, PCA9685Channel.CHANNEL_01);
^
required: PWMPin
found: PCA9685,PCA9685Channel
reason: actual and formal argument lists differ in length
/var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/robots/poc/RobotPOC.java:142: error: constructor TowerProMG90S in class TowerProMG90S cannot be applied to given types;
servo2 = new TowerProMG90S(pca9685, PCA9685Channel.CHANNEL_02);
^
required: PWMPin
found: PCA9685,PCA9685Channel
reason: actual and formal argument lists differ in length
Note: /var/lib/jenkins/jobs/raspoid/workspace/brickpi_java_api/src/main/com/raspoid/additionalcomponents/DrawGraphs.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
13 errors
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileJava'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:45)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:47)
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:33)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:103)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:52)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:38)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:157)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:139)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:93)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:244)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:231)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 60 more
BUILD FAILED
Total time: 14.493 secs
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Finished: FAILURE