Problem building libraries from master


#1

Hi, I'm experiencing problems while building libraries module. Building of kotlin with ant processed without any problems, but package geathering with maven gives me this:

... [ERROR] /kotlin/Maps.kt: (125, 12) None of the following functions can be called with the arguments supplied: public fun <R, C : jet.MutableCollection<in R>> jet.CharArray.mapTo(result : C, transform : (jet.Char) -> R) : C defined in kotlin public fun <R, C : jet.MutableCollection<in R>> jet.DoubleArray.mapTo(result : C, transform : (jet.Double) -> R) : C defined in kotlin public fun <T, R, C : jet.MutableCollection<in R>> jet.Iterable<T>.mapTo(result : C, transform : (T) -> R) : C defined in kotlin public fun <T, R, C : jet.MutableCollection<in R>> jet.Array<out T>.mapTo(result : C, transform : (T) -> R) : C defined in kotlin public fun <R, C : jet.MutableCollection<in R>> jet.ShortArray.mapTo(result : C, transform : (jet.Short) -> R) : C defined in kotlin public fun <R, C : jet.MutableCollection<in R>> jet.IntArray.mapTo(result : C, transform : (jet.Int) -> R) : C defined in kotlin public fun <R, C : jet.MutableCollection<in R>> jet.FloatArray.mapTo(result : C, transform : (jet.Float) -> R) : C defined in kotlin public fun <R, C : jet.MutableCollection<in R>> jet.BooleanArray.mapTo(result : C, transform : (jet.Boolean) -> R) : C defined in kotlin public fun <T, R, C : jet.MutableCollection<in R>> jet.Iterator<T>.mapTo(result : C, transform : (T) -> R) : C defined in kotlin public fun <R, C : jet.MutableCollection<in R>> jet.ByteArray.mapTo(result : C, transform : (jet.Byte) -> R) : C defined in kotlin public fun <R, C : jet.MutableCollection<in R>> jet.LongArray.mapTo(result : C, transform : (jet.Long) -> R) : C defined in kotlin

[WARNING] /kotlin/Preconditions.kt: (36, 46) ‘T’ has a nullable upper bound. This means that a value of this type may be null. Using ‘T?’ is likely to mislead the reader
[WARNING] /kotlin/Preconditions.kt: (73, 44) ‘T’ has a nullable upper bound. This means that a value of this type may be null. Using ‘T?’ is likely to mislead the reader
[WARNING] /kotlin/Test.kt: (42, 46) ‘T’ has a nullable upper bound. This means that a value of this type may be null. Using ‘T?’ is likely to mislead the reader
[WARNING] /kotlin/Test.kt: (48, 49) ‘T’ has a nullable upper bound. This means that a value of this type may be null. Using ‘T?’ is likely to mislead the reader
[WARNING] /kotlin/_BooleanArrays.kt: (360, 28) Condition ‘element == null’ is always ‘false’
[WARNING] /kotlin/_ByteArrays.kt: (360, 28) Condition ‘element == null’ is always ‘false’
[WARNING] /kotlin/_CharArrays.kt: (360, 28) Condition ‘element == null’ is always ‘false’
[WARNING] /kotlin/_Collections.kt: (56, 12) Unchecked cast: jet.Collection<T?> to jet.Collection<T>
[WARNING] /kotlin/_DoubleArrays.kt: (360, 28) Condition ‘element == null’ is always ‘false’
[WARNING] /kotlin/_FloatArrays.kt: (360, 28) Condition ‘element == null’ is always ‘false’
[WARNING] /kotlin/_IntArrays.kt: (360, 28) Condition ‘element == null’ is always ‘false’
[WARNING] /kotlin/_LongArrays.kt: (360, 28) Condition ‘element == null’ is always ‘false’
[WARNING] /kotlin/_ShortArrays.kt: (360, 28) Condition ‘element == null’ is always ‘false’
[WARNING] /stdlib/domCode.kt: (17, 29) Parameter ‘xmlDeclaration’ is never used
[ERROR] /stdlib/jutilCode.kt: (49, 12) None of the following functions can be called with the arguments supplied:
public fun <R, C : jet.MutableCollection<in R>> jet.CharArray.mapTo(result : C, transform : (jet.Char) -> R) : C defined in kotlin
public fun <R, C : jet.MutableCollection<in R>> jet.DoubleArray.mapTo(result : C, transform : (jet.Double) -> R) : C defined in kotlin
public fun <T, R, C : jet.MutableCollection<in R>> jet.Iterable<T>.mapTo(result : C, transform : (T) -> R) : C defined in kotlin
public fun <T, R, C : jet.MutableCollection<in R>> jet.Array<out T>.mapTo(result : C, transform : (T) -> R) : C defined in kotlin
public fun <R, C : jet.MutableCollection<in R>> jet.ShortArray.mapTo(result : C, transform : (jet.Short) -> R) : C defined in kotlin
public fun <R, C : jet.MutableCollection<in R>> jet.IntArray.mapTo(result : C, transform : (jet.Int) -> R) : C defined in kotlin
public fun <R, C : jet.MutableCollection<in R>> jet.FloatArray.mapTo(result : C, transform : (jet.Float) -> R) : C defined in kotlin
public fun <R, C : jet.MutableCollection<in R>> jet.BooleanArray.mapTo(result : C, transform : (jet.Boolean) -> R) : C defined in kotlin
public fun <T, R, C : jet.MutableCollection<in R>> jet.Iterator<T>.mapTo(result : C, transform : (T) -> R) : C defined in kotlin
public fun <R, C : jet.MutableCollection<in R>> jet.ByteArray.mapTo(result : C, transform : (jet.Byte) -> R) : C defined in kotlin
public fun <R, C : jet.MutableCollection<in R>> jet.LongArray.mapTo(result : C, transform : (jet.Long) -> R) : C defined in kotlin

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] kotlin-project … SUCCESS [0.001s]
[INFO] kotlin-compiler … SUCCESS [0.753s]
[INFO] kotlin-jdk-annotations … SUCCESS [0.003s]
[INFO] kotlin-runtime … SUCCESS [19.118s]
[INFO] kotlin-maven-plugin … SUCCESS [3.476s]
[INFO] kotlin-js-library … SUCCESS [1.132s]
[INFO] kotlin-js-tests … FAILURE [10.966s]
[INFO] kotlin-stdlib … SKIPPED
[INFO] kotlin-js-tests-junit … SKIPPED
[INFO] kdoc … SKIPPED
[INFO] kdoc-maven-plugin … SKIPPED
[INFO] kunit … SKIPPED
[INFO] kotlin-jdbc … SKIPPED
[INFO] kotlin-swing … SKIPPED
[INFO] apidoc … SKIPPED
[INFO] website … SKIPPED
[INFO] kotlin-java-example … SKIPPED
[INFO] js-example … SKIPPED
[INFO] browser-example … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.184s
[INFO] Finished at: Fri Mar 08 00:43:11 EET 2013
[INFO] Final Memory: 40M/383M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:0.1-SNAPSHOT:js (js) on project kotlin-js-tests: Compilation error. See log for more details -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :kotlin-js-tests

Is this problem common for somebody else or am I doing something wrong?


#2

Nobody else reports any problems like this. Out CI servers build libraries with no compileation errors.

Try updating the sources and rebuild, it may be a short-lived bug that is already fixed.