Build #166

Build plan for MS Windows

Build: #166 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
38 seconds
Agent
bamboo-2k16-02
Revision
193f82005a373819e5921c7e2255607cf239d14e 193f82005a373819e5921c7e2255607cf239d14e
Failing since
#157 (Code changes detected – )
Fixed in
#177 (Code changes detected)
No failed tests found, a possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

Could not find test result reports in the C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1 directory.
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\MongoItemReader.java:26: warning: [deprecation] JSON in com.mongodb.util has been deprecated
import com.mongodb.util.JSON;
                       ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:23: warning: [deprecation] Query in org.hibernate has been deprecated
import org.hibernate.Query;
                    ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\MongoItemReader.java:207: warning: [deprecation] withHint(String) in Query has been deprecated
                                mongoQuery.withHint(hint);
                                          ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\MongoItemReader.java:264: warning: [deprecation] JSON in com.mongodb.util has been deprecated
                return JSON.serialize(values.get(index));
                       ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:43: warning: [rawtypes] found raw type: RepositoryMethodReference
        private RepositoryMethodReference repositoryMethodReference;
                ^
  missing type arguments for generic class RepositoryMethodReference<T>
  where T is a type-variable:
    T extends Object declared in class RepositoryMethodReference
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:90: warning: [rawtypes] found raw type: RepositoryMethodReference
        public RepositoryItemWriterBuilder<T> repository(RepositoryItemWriterBuilder.RepositoryMethodReference repositoryMethodReference) {
                                                                                    ^
  missing type arguments for generic class RepositoryMethodReference<T>
  where T is a type-variable:
    T extends Object declared in class RepositoryMethodReference
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\data\builder\RepositoryItemWriterBuilder.java:104: warning: [unchecked] unchecked conversion
                        this.repository = this.repositoryMethodReference.getRepository();
                                                                                      ^
  required: CrudRepository<T,?>
  found:    CrudRepository
  where T is a type-variable:
    T extends Object declared in class RepositoryItemWriterBuilder
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:123: warning: [deprecation] Query in org.hibernate has been deprecated
                Query query = createQuery();
                ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:135: warning: [deprecation] Query in org.hibernate has been deprecated
        public Query createQuery() {
               ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\database\HibernateItemReaderHelper.java:222: warning: [deprecation] Query in org.hibernate has been deprecated
                Query query = createQuery();
                ^
C:\opt\bamboo-home\xml-data\build-dir\BATCH-BATCHWIN-JOB1\spring-batch-infrastructure\src\main\java\org\springframework\batch\item\kafka\KafkaItemReader.java:151: warning: [unchecked] unchecked cast
                        Map<TopicPartition, Long> offsets = (Map<TopicPartition, Long>) executionContext.get(TOPIC_PARTITION_OFFSETS);
                                                                                                            ^
  required: Map<TopicPartition,Long>
  found:    Object
11 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':makePDF'.
> Error running Asciidoctor

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 35s