Futsch1/medTimer

View on GitHub
Updated upload-artifact action #263
Futsch1 authored 20b2175b
complete00:00:28
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: unknown engine or channel <codescan:stable>
WARNING: unknown engine or channel <cody:stable>
WARNING: unknown engine or channel <isort:stable>
WARNING: unknown engine or channel <proselint:stable>
WARNING: unknown engine or channel <protobuf:stable>
WARNING: unknown engine or channel <rustfmt:stable>
WARNING: unknown engine or channel <tfsec:stable>
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-sonar-java:b290
b290: Pulling from codeclimate/codeclimate-sonar-java
e7c96db7181b: Pulling fs layer
f910a506b6cb: Pulling fs layer
c2274a1a0e27: Pulling fs layer
67f2f9206bac: Pulling fs layer
b08df363c87c: Pulling fs layer
f683ccee9d20: Pulling fs layer
ebd4181d582b: Pulling fs layer
93bf3673cf40: Pulling fs layer
9ada130b954a: Pulling fs layer
5d0ca47066a2: Pulling fs layer
ae10a8b3c029: Pulling fs layer
67f2f9206bac: Waiting
ebd4181d582b: Waiting
93bf3673cf40: Waiting
9ada130b954a: Waiting
b08df363c87c: Waiting
5d0ca47066a2: Waiting
ae10a8b3c029: Waiting
f683ccee9d20: Waiting
e7c96db7181b: Download complete
f910a506b6cb: Verifying Checksum
f910a506b6cb: Download complete
e7c96db7181b: Pull complete
67f2f9206bac: Verifying Checksum
67f2f9206bac: Download complete
f910a506b6cb: Pull complete
f683ccee9d20: Verifying Checksum
f683ccee9d20: Download complete
ebd4181d582b: Download complete
c2274a1a0e27: Verifying Checksum
c2274a1a0e27: Download complete
b08df363c87c: Verifying Checksum
b08df363c87c: Download complete
9ada130b954a: Download complete
c2274a1a0e27: Pull complete
67f2f9206bac: Pull complete
93bf3673cf40: Verifying Checksum
93bf3673cf40: Download complete
ae10a8b3c029: Verifying Checksum
ae10a8b3c029: Download complete
5d0ca47066a2: Verifying Checksum
b08df363c87c: Pull complete
f683ccee9d20: Pull complete
ebd4181d582b: Pull complete
93bf3673cf40: Pull complete
9ada130b954a: Pull complete
5d0ca47066a2: Pull complete
ae10a8b3c029: Pull complete
Digest: sha256:3b5a308b063c877618b66e11f4032a38a8e0780341f4ce2a9b010e6597d4e35a
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-sonar-java:b290
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-05-21T09:47:12.752264 #1]  WARN -- : Skipping app/src/main/java/com/futsch1/medtimer/database/JSONBackup.java due to CC::Parser::Client::HTTPError
W, [2024-05-21T09:47:12.752311 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-05-21T09:47:17.026044 #1]  WARN -- : Skipping ./app/src/main/java/com/futsch1/medtimer/database/JSONBackup.java due to CC::Parser::Client::HTTPError
W, [2024-05-21T09:47:17.026094 #1]  WARN -- : Response status: 422
7
sonar-java
sonar-java engine documentation
View output
INFO: Java 1.8.0_212 IcedTea (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-mdpi/logo.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-mdpi/logo_round.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-mdpi/logo_fg.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-xxxhdpi/logo.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-xxxhdpi/logo_round.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-xxxhdpi/logo_fg.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-xhdpi/logo.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-xhdpi/logo_round.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-xhdpi/logo_fg.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-xxhdpi/logo.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-xxhdpi/logo_round.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-xxhdpi/logo_fg.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-hdpi/logo.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-hdpi/logo_round.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/res/mipmap-hdpi/logo_fg.webp' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/fr-FR/graphics/icon/1.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/fr-FR/graphics/feature-graphic/1.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/en-US/graphics/phone-screenshots/5.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/en-US/graphics/phone-screenshots/3.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/en-US/graphics/phone-screenshots/1.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/en-US/graphics/phone-screenshots/7.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/en-US/graphics/phone-screenshots/2.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/en-US/graphics/phone-screenshots/4.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/en-US/graphics/phone-screenshots/6.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/en-US/graphics/icon/1.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/en-US/graphics/feature-graphic/1.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/es-ES/graphics/icon/1.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/es-ES/graphics/feature-graphic/1.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/de-DE/graphics/phone-screenshots/5.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/de-DE/graphics/phone-screenshots/3.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/de-DE/graphics/phone-screenshots/1.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/de-DE/graphics/phone-screenshots/7.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/de-DE/graphics/phone-screenshots/2.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/de-DE/graphics/phone-screenshots/4.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/de-DE/graphics/phone-screenshots/6.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/listings/de-DE/graphics/feature-graphic/1.png' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/app/src/main/play/feature-graphic-playstore.xcf' at line 1 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: Invalid character encountered in file '/code/gradle/wrapper/gradle-wrapper.jar' at line 3 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
INFO: 215 files indexed
INFO: Configured Java source version (sonar.java.source): none
INFO: JavaClasspath initialization
INFO: sonar.java.binaries is empty, please double check your configuration
INFO: Bytecode of dependencies was not provided for analysis of source files, you might end up with less precise results. Bytecode can be provided using sonar.java.libraries property
INFO: JavaClasspath initialization (done) | time=2ms
INFO: JavaTestClasspath initialization
INFO: JavaTestClasspath initialization (done) | time=1ms
INFO: Java Main Files AST scan
INFO: 71 source files to be analyzed
ERROR: Unable to parse source file : /code/app/src/main/java/com/futsch1/medtimer/database/JSONBackup.java
ERROR: Parse error at line 64 column 48:

54:                 if (isInvalid(item)) return null;
55:             }
56:         }
57:         return list;
58:     }
59: 
60:     protected abstract boolean isInvalid(T item);
61: 
62:     public abstract void applyBackup(List<T> list, MedicineRepository medicineRepository);
63: 
64:     protected record DatabaseContentWithVersion<T>(@Expose int version,
                                                   ^
65:                                                    @Expose List<T> list) {
66:     }
67: 
68:     protected static class FullDeserialize<T> implements JsonDeserializer<T> {
69: 
70:         public T deserialize(JsonElement je, Type type, JsonDeserializationContext jdc) throws JsonParseException {
71:             T pojo = new Gson().fromJson(je, type);
72: 
73:             Field[] fields = pojo.getClass().getDeclaredFields();
74:             for (Field f : fields) {

INFO: Java Main Files AST scan (done) | time=3372ms
INFO: 71/71 source files have been analyzed
INFO: Java Test Files AST scan
INFO: 0 source files to be analyzed
INFO: Java Test Files AST scan (done) | time=0ms
INFO: 0/0 source files have been analyzed
INFO: 64 source files to be analyzed
INFO: 64/64 source files have been analyzed
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 4.172s
INFO: Final Memory: 9M/178M
INFO: ------------------------------------------------------------------------