testcontainers / testcontainers/testcontainers-java

[Bug]: unknown enum constant ImplementationVisibility.PACKAGE

オープン
#6,940 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

type/bug
主要言語
Java
スター
8.7k
フォーク
1.9k
平均マージ
2日 17時間
マージ済み PR(30日)
9

説明

Module

Core

Testcontainers version

tip

Using the latest Testcontainers version?

Yes

Host OS

windows

Host Arch

x86

Docker version
Docker Desktop 4.18.0 (104112) is currently the newest version available.
What happened?

Using JDK 17 on windows to compile

java version "17.0.2" 2022-01-18 LTS
Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing)

Using Gradle version

Gradle 8.1.1

Build time: 2023-04-21 12:31:26 UTC
Revision: 1cf537a851c635c364a4214885f8b9798051175b

Kotlin: 1.8.10
Groovy: 3.0.15
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 17.0.2 (Oracle Corporation 17.0.2+8-LTS-86)
OS: Windows 10 10.0 amd64

Relevant log output
testcontainers-java\examples\cucumber>gradle test
Starting a Gradle Daemon (subsequent builds will be faster)

> Task :testcontainers-java:buildSrc:jar
:jar: No valid plugin descriptors were found in META-INF/gradle-plugins

> Task :testcontainers-java:testcontainers:compileJava
warning: unknown enum constant ImplementationVisibility.PACKAGE
  reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
testcontainers-java\core\src\main\java\org\testcontainers\images\AgeBasedPullPolicy.java:14: warning: Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type.
@Value
^
warning: unknown enum constant ImplementationVisibility.PACKAGE
  reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
warning: unknown enum constant ImplementationVisibility.PACKAGE
  reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
warning: unknown enum constant ImplementationVisibility.PACKAGE
  reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
warning: unknown enum constant ImplementationVisibility.PACKAGE
  reason: class file for org.immutables.value.Value$Style$ImplementationVisibility not found
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.rc\main\java\org\testco
ntainers\containers\BrowserWebDriverContainer.java uses or overrides a deprecate
See https://docs.gradle.org/8.1.1/userguide/command_line_interface.html#sec:command_line_warningsith -Xlint:deprecation for details.
<============-> 93% EXECUTING [1m 14s]
BUILD SUCCESSFUL in 6m 14sng test org.testcontainers.examples.CucumberTest
Additional Information

Maybe some issue with Lombok version used

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

報告された JDK と Gradle のバージョンを使用し、examples/cucumber エントリポイントから gradle test で警告を再現します。core/src/main/java/org/testcontainers/images/AgeBasedPullPolicy.java 周辺のビルド設定とアノテーション処理のコンテキストを調査します。完了の条件は、ビルドが未知の ImplementationVisibility.PACKAGE 警告なしで完了することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
build-system
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
32/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。