Skip to content

Fluent Codegen Report

Github Actions edited this page Oct 19, 2024 · 998 revisions

Generated at 2024-10-19T19:39:40.674340

Success (256)

RP count: 256
  • EnterpriseKnowledgeGraph
  • addons
  • advisor
  • agrifood
  • alertsmanagement
  • analysisservices
  • apicenter
  • apimanagement
  • app
  • appcomplianceautomation
  • appconfiguration
  • applicationinsights
  • appplatform
  • attestation
  • authorization
  • automanage
  • automation
  • awsconnector
  • azure-kusto
  • azureactivedirectory
  • azurearcdata
  • azuredata
  • azuredatatransfer
  • azurefleet
  • azureintegrationspaces
  • azurelargeinstance
  • azurestack
  • azurestackhci
  • baremetalinfrastructure
  • batch
  • billing
  • billingbenefits
  • blueprint
  • botservice
  • cdn
  • changeanalysis
  • chaos
  • cloudshell
  • codesigning
  • cognitiveservices
  • communication
  • communitytraining
  • compute
  • computeschedule
  • confidentialledger
  • confluent
  • connectedvmware
  • consumption
  • containerinstance
  • containerregistry
  • containerstorage
  • cosmos-db
  • cost-management
  • cpim
  • customer-insights
  • customerlockbox
  • customproviders
  • dashboard
  • databasewatcher
  • databoxedge
  • databricks
  • datacatalog
  • datadog
  • datafactory
  • datalake-analytics
  • datalake-store
  • datamigration
  • dataprotection
  • datashare
  • desktopvirtualization
  • devcenter
  • developerhub
  • deviceregistry
  • deviceupdate
  • devops
  • devopsinfrastructure
  • devspaces
  • devtestlabs
  • dfp
  • digitaltwins
  • dnc
  • dns
  • dnsresolver
  • dynatrace
  • edgemarketplace
  • edgeorder
  • edgeorderpartner
  • edgezones
  • education
  • elastic
  • elasticsan
  • engagementfabric
  • eventgrid
  • eventhub
  • extendedlocation
  • fabric
  • fist
  • fluidrelay
  • frontdoor
  • graphservicesprod
  • guestconfiguration
  • hanaonazure
  • hardwaresecuritymodules
  • hdinsight
  • healthbot
  • healthcareapis
  • healthdataaiservices
  • help
  • hybridaks
  • hybridcloud
  • hybridcompute
  • hybridconnectivity
  • hybriddatamanager
  • hybridkubernetes
  • hybridnetwork
  • imagebuilder
  • informatica
  • iotcentral
  • iothub
  • iotoperations
  • iotoperationsdataprocessor
  • iotoperationsmq
  • iotoperationsorchestrator
  • keyvault
  • kubernetesconfiguration
  • kubernetesruntime
  • labservices
  • liftrastronomer
  • liftrneon
  • liftrqumulo
  • loadtestservice
  • logz
  • m365securityandcompliance
  • machinelearningservices
  • maintenance
  • managednetwork
  • managednetworkfabric
  • managedservices
  • managementgroups
  • managementpartner
  • maps
  • mariadb
  • marketplace
  • marketplacecatalog
  • marketplacenotifications
  • marketplaceordering
  • mediaservices
  • migrate
  • mixedreality
  • mobilenetwork
  • mobilepacketcore
  • mongocluster
  • monitor
  • mpcnetworkfunction
  • msi
  • mysql
  • netapp
  • networkanalytics
  • networkcloud
  • networkfunction
  • newrelic
  • nginx
  • notificationhubs
  • oep
  • offazurespringboot
  • operationalinsights
  • operationsmanagement
  • oracle
  • orbital
  • paloaltonetworks
  • peering
  • playwrighttesting
  • policyinsights
  • portal
  • portalservices
  • postgresql
  • postgresqlhsc
  • powerbidedicated
  • powerbiembedded
  • powerbiprivatelinks
  • powerplatform
  • privatedns
  • professionalservice
  • programmableconnectivity
  • providerhub
  • purview
  • purviewpolicy
  • quantum
  • quota
  • recommendationsservice
  • recoveryservices
  • recoveryservicesbackup
  • recoveryservicesdatareplication
  • recoveryservicessiterecovery
  • redis
  • redisenterprise
  • relay
  • reservations
  • resourceconnector
  • resourcehealth
  • resourcemover
  • resources
  • riskiq
  • saas
  • scheduler
  • scom
  • scvmm
  • search
  • security
  • securityandcompliance
  • securityinsights
  • serialconsole
  • servicebus
  • servicefabric
  • servicefabricmanagedclusters
  • servicefabricmesh
  • servicelinker
  • servicenetworking
  • signalr
  • softwareplan
  • solutions
  • sphere
  • splitio
  • sqlvirtualmachine
  • standbypool
  • storSimple1200Series
  • storage
  • storageactions
  • storagecache
  • storageimportexport
  • storagemover
  • storagepool
  • storagesync
  • storsimple8000series
  • streamanalytics
  • subscription
  • support
  • synapse
  • syntex
  • terraform
  • testbase
  • timeseriesinsights
  • trafficmanager
  • verifiedid
  • vi
  • videoanalyzer
  • visualstudio
  • vmware
  • vmwarecloudsimple
  • voiceservices
  • web
  • webpubsub
  • windowsesu
  • windowsiot
  • workloadmonitor
  • workloads

Failure at Codegen (0)

Failure at Build (7)

  • databox
  • deviceprovisioningservices
  • logic
  • network
  • resourcegraph
  • service-map
  • sql

Logs

adhybridhealthservice

stdout

AutoRest code generation utility [cli version: 3.7.1; node: v20.18.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
info    | AutoRest core version selected from configuration: 3.9.7.
info    |    Loading AutoRest core      '/home/runner/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.9.7)
info    |    Loading local AutoRest extension '@autorest/java' (/home/runner/work/autorest.java/autorest.java)
info    |    Loading local AutoRest extension '@autorest/java.fluent' (/home/runner/work/autorest.java/autorest.java/fluentgen)
info    |    Loading AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
warning | SecurityDefinedSpecAndConfig | OpenAPI spec has a security definition but autorest security config is defined. Security config from autorest will be used.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
error   | Prenamer/NameEmpty | Enum 'nextPartitionKey' cannot have a value ' ' that result in an empty name. Use x-ms-enum.values to specify the name of the values.
error   | Prenamer/NameEmpty | Enum 'nextRowKey' cannot have a value ' ' that result in an empty name. Use x-ms-enum.values to specify the name of the values.
fatal   | Error: 2 errors occured -- cannot continue.
fatal   | Process() cancelled due to failure 
error   |   Error: Plugin pre-namer reported failure.
error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.

stderr


commerce

stdout

AutoRest code generation utility [cli version: 3.7.1; node: v20.18.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
info    | AutoRest core version selected from configuration: 3.9.7.
info    |    Loading AutoRest core      '/home/runner/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.9.7)
info    |    Loading local AutoRest extension '@autorest/java' (/home/runner/work/autorest.java/autorest.java)
info    |    Loading local AutoRest extension '@autorest/java.fluent' (/home/runner/work/autorest.java/autorest.java/fluentgen)
info    |    Loading AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
warning | PreCheck/SchemaMissingType | The schema 'UsageSample' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json:166:5
warning | PreCheck/SchemaMissingType | The schema 'UsageAggregation' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json:223:5
warning | PreCheck/SchemaMissingType | The schema 'UsageAggregationListResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json:245:5
warning | PreCheck/SchemaMissingType | The schema 'RateCardQueryParameters' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json:261:5
warning | PreCheck/SchemaMissingType | The schema 'ResourceRateCardInfo' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json:289:5
warning | PreCheck/SchemaMissingType | The schema 'MeterInfo' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json:326:5
warning | PreCheck/SchemaMissingType | The schema 'OfferTermInfo' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json:381:5
warning | PreCheck/SchemaMissingType | The schema 'MonetaryCredit' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json:408:5
warning | PreCheck/SchemaMissingType | The schema 'MonetaryCommitment' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json:432:5
warning | PreCheck/SchemaMissingType | The schema 'RecurringCharge' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json:459:5
warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
warning | PreCheck/DuplicateSchema | Duplicate Schema named 'OfferTermInfo' (6 differences):
  - discriminator: {"propertyName":"Name"} => <none>
  - properties: {"Name":{"x-ms-enum":{"name":"OfferTermInfo","modelAsString":false},"$ref":"#/components/schemas/OfferTermInfo","description":"Name of the offer term"},"EffectiveDate":{"$ref":"#/components/schemas/schemas:45","description":"Indicates the date from which the offer term is effective."}} => <none>
  - required: ["Name"] => <none>
  - type: "object" => "string"
  - enum: <none> => ["Recurring Charge","Monetary Commitment","Monetary Credit"]
  - x-ms-enum: <none> => {"name":"OfferTermInfo","modelAsString":false}
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Modeler/MissingType | The schema 'InfoField' has no type or format information whatsoever. Location:
   file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/commerce/resource-manager/Microsoft.Commerce/preview/2015-06-01-preview/commerce.json#/components/schemas/InfoField
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | PreNamer/DeduplicateName | Deduplicating schema name: 'OfferTermInfo' -> 'OfferTermInfoAutoGenerated'
info    | FluentGen | Read YAML
info    | FluentNamer | Created temp directory for code model: /tmp/code-model79e29ca9-04b1-42db-ba67-e61ce8ca1b5017675195782386452718
info    | FluentNamer | Load fluent settings
info    | FluentNamer | Transform code model
info    | ErrorTypeNormalization | Rename error from 'ErrorObjectResponse' to 'ManagementError'
info    | ErrorTypeNormalization | Rename error from 'ManagementError' to 'ManagementError'
info    | SchemaCleanup | Remove unused object schema 'RateCardQueryParameters'
info    | FluentGen | Map code model to client model
info    | FluentMapper | Add Inner to response types: [ResourceRateCardInfo, UsageAggregation]
error   | FluentGen | Failed to successfully run fluentgen plugin java.lang.IllegalArgumentException: [JavaCheck/SchemaError] no common parent found for client models [UsageAggregationListResult, ManagementError]
java.lang.IllegalArgumentException: [JavaCheck/SchemaError] no common parent found for client models [UsageAggregationListResult, ManagementError]
	at com.microsoft.typespec.http.client.generator.core.mapper.ClientMethodMapper.getReturnTypes(ClientMethodMapper.java:602)
	at com.microsoft.typespec.http.client.generator.core.mapper.ClientMethodMapper.createClientMethods(ClientMethodMapper.java:211)
	at com.microsoft.typespec.http.client.generator.core.mapper.ClientMethodMapper.map(ClientMethodMapper.java:133)
	at com.microsoft.typespec.http.client.generator.core.mapper.ClientMethodMapper.map(ClientMethodMapper.java:116)
	at com.microsoft.typespec.http.client.generator.core.mapper.MethodGroupMapper.createMethodGroupClient(MethodGroupMapper.java:150)
	at com.microsoft.typespec.http.client.generator.core.mapper.MethodGroupMapper.map(MethodGroupMapper.java:51)
	at com.microsoft.typespec.http.client.generator.core.mapper.ServiceClientMapper.map(ServiceClientMapper.java:94)
	at com.microsoft.typespec.http.client.generator.core.mapper.ClientMapper.map(ClientMapper.java:199)
	at com.microsoft.typespec.http.client.generator.mgmt.FluentGen.handleMap(FluentGen.java:162)
	at com.microsoft.typespec.http.client.generator.mgmt.FluentGen.processInternal(FluentGen.java:99)
	at com.microsoft.typespec.http.client.generator.core.extension.plugin.NewPlugin.process(NewPlugin.java:324)
	at com.azure.autorest.fluent.Main.lambda$main$1(Main.java:14)
	at com.microsoft.typespec.http.client.generator.core.extension.jsonrpc.Connection.lambda$dispatch$2(Connection.java:143)
	at com.microsoft.typespec.http.client.generator.core.extension.jsonrpc.Connection.lambda$process$4(Connection.java:245)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

fatal   | Process() cancelled due to failure 
error   |   Error: Plugin fluentgen reported failure.
error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.

stderr


contosowidgetmanager

stdout

AutoRest code generation utility [cli version: 3.7.1; node: v20.18.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
info    | AutoRest core version selected from configuration: 3.9.7.
info    |    Loading AutoRest core      '/home/runner/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.9.7)
info    |    Loading local AutoRest extension '@autorest/java' (/home/runner/work/autorest.java/autorest.java)
info    |    Loading local AutoRest extension '@autorest/java.fluent' (/home/runner/work/autorest.java/autorest.java/fluentgen)
info    |    Loading AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
error   | [Exception] No input files provided.

Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
error   |   Error: [Exception] No input files provided.

Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.

stderr


databox

stdout

[INFO] Scanning for projects...
[INFO] 
[INFO] ------< com.azure.resourcemanager:azure-resourcemanager-databox >-------
[INFO] Building Microsoft Azure SDK for DataBox Management 1.0.0-beta.1
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ azure-resourcemanager-databox ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ azure-resourcemanager-databox ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 202 source files to /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-databox/target/classes
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-databox/src/main/java/com/azure/resourcemanager/databox/implementation/DataBoxManagementClientImpl.java: /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-databox/src/main/java/com/azure/resourcemanager/databox/implementation/DataBoxManagementClientImpl.java uses or overrides a deprecated API.
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-databox/src/main/java/com/azure/resourcemanager/databox/implementation/DataBoxManagementClientImpl.java: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-databox/src/main/java/com/azure/resourcemanager/databox/models/PortalDelayErrorCode.java:[34,46] variable ACTIVE_ORDER_LIMIT_BREACHED_DELAY_1 is already defined in class com.azure.resourcemanager.databox.models.PortalDelayErrorCode
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.008 s
[INFO] Finished at: 2024-10-19T18:28:24Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project azure-resourcemanager-databox: Compilation failure
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-databox/src/main/java/com/azure/resourcemanager/databox/models/PortalDelayErrorCode.java:[34,46] variable ACTIVE_ORDER_LIMIT_BREACHED_DELAY_1 is already defined in class com.azure.resourcemanager.databox.models.PortalDelayErrorCode
[ERROR] 
[ERROR] -> [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/MojoFailureException

stderr


deviceprovisioningservices

stdout

[INFO] Scanning for projects...
[INFO] 
[INFO] --< com.azure.resourcemanager:azure-resourcemanager-deviceprovisioningservices >--
[INFO] Building Microsoft Azure SDK for IotDps Management 1.0.0-beta.1
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ azure-resourcemanager-deviceprovisioningservices ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ azure-resourcemanager-deviceprovisioningservices ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 94 source files to /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/target/classes
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/IotDpsClientImpl.java: /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/IotDpsClientImpl.java uses or overrides a deprecated API.
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/IotDpsClientImpl.java: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[627,44] cannot find symbol
  symbol:   variable EMPTY_BYTE_ARRAY
  location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[691,44] cannot find symbol
  symbol:   variable EMPTY_BYTE_ARRAY
  location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[969,44] cannot find symbol
  symbol:   variable EMPTY_BYTE_ARRAY
  location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[1034,44] cannot find symbol
  symbol:   variable EMPTY_BYTE_ARRAY
  location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[1208,44] cannot find symbol
  symbol:   variable EMPTY_BYTE_ARRAY
  location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[1279,44] cannot find symbol
  symbol:   variable EMPTY_BYTE_ARRAY
  location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[INFO] 6 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.851 s
[INFO] Finished at: 2024-10-19T18:34:03Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project azure-resourcemanager-deviceprovisioningservices: Compilation failure: Compilation failure: 
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[627,44] cannot find symbol
[ERROR]   symbol:   variable EMPTY_BYTE_ARRAY
[ERROR]   location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[691,44] cannot find symbol
[ERROR]   symbol:   variable EMPTY_BYTE_ARRAY
[ERROR]   location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[969,44] cannot find symbol
[ERROR]   symbol:   variable EMPTY_BYTE_ARRAY
[ERROR]   location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[1034,44] cannot find symbol
[ERROR]   symbol:   variable EMPTY_BYTE_ARRAY
[ERROR]   location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[1208,44] cannot find symbol
[ERROR]   symbol:   variable EMPTY_BYTE_ARRAY
[ERROR]   location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-deviceprovisioningservices/src/main/java/com/azure/resourcemanager/deviceprovisioningservices/implementation/DpsCertificatesClientImpl.java:[1279,44] cannot find symbol
[ERROR]   symbol:   variable EMPTY_BYTE_ARRAY
[ERROR]   location: class com.azure.resourcemanager.deviceprovisioningservices.implementation.DpsCertificatesClientImpl
[ERROR] -> [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/MojoFailureException

stderr


domainservices

stdout

AutoRest code generation utility [cli version: 3.7.1; node: v20.18.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
info    | AutoRest core version selected from configuration: 3.9.7.
info    |    Loading AutoRest core      '/home/runner/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.9.7)
info    |    Loading local AutoRest extension '@autorest/java' (/home/runner/work/autorest.java/autorest.java)
info    |    Loading local AutoRest extension '@autorest/java.fluent' (/home/runner/work/autorest.java/autorest.java/fluentgen)
info    |    Loading AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
info    | FluentGen | Read YAML
info    | FluentNamer | Created temp directory for code model: /tmp/code-model2684bc29-e559-4888-950e-da925441559b5679690489636517387
info    | FluentNamer | Load fluent settings
info    | FluentNamer | Transform code model
info    | OperationNameNormalization | Rename operation from 'get' to 'getByResourceGroup', in operation group 'DomainServices'
info    | ErrorTypeNormalization | Rename error from 'CloudError' to 'ManagementError'
info    | SchemaCleanup | Remove unused object schema 'ManagementError'
info    | SchemaCleanup | Remove unused choice schema 'CreatedByType'
info    | FluentGen | Map code model to client model
info    | FluentMapper | Add Inner to response types: [DomainService, OperationEntity, OuContainer]
info    | Javagen | Client property name subscriptionId
info    | Javagen | Client property name endpoint
info    | FluentGen | Java template for client model
warning | JavaPackage | Skip unit test for model 'DomainServiceListResult', caused by key 'pfxCertificatePassword'
warning | JavaPackage | Skip unit test for model 'DomainServiceInner', caused by key 'pfxCertificatePassword'
warning | JavaPackage | Skip unit test for model 'DomainServiceProperties', caused by key 'pfxCertificatePassword'
warning | JavaPackage | Skip unit test for model 'LdapsSettings', caused by key 'pfxCertificatePassword'
warning | JavaPackage | Skip unit test for model 'ResourceForestSettings', caused by key 'trustPassword'
warning | JavaPackage | Skip unit test for model 'ForestTrust', caused by key 'trustPassword'
warning | JavaPackage | Skip unit test for model 'DomainSecuritySettings', caused by key 'syncNtlmPasswords'
warning | JavaPackage | Skip unit test for model 'OuContainerListResult', caused by key 'password'
warning | JavaPackage | Skip unit test for model 'OuContainerInner', caused by key 'password'
warning | JavaPackage | Skip unit test for model 'OuContainerProperties', caused by key 'password'
warning | JavaPackage | Skip unit test for model 'ContainerAccount', caused by key 'password'
info    | FluentGen | Process for Fluent Lite, SDK integration disabled
info    | ResourceCreate | ResourceCreate: Fluent model 'DomainService', method reference 'createOrUpdate', body parameter 'DomainServiceInner'
info    | ResourceParser | Fluent model 'DomainService' as category RESOURCEGROUP_ASPARENT
info    | ResourceUpdate | ResourceUpdate: Fluent model 'DomainService', method reference 'update', body parameter 'DomainServiceInner'
info    | ResourceRefresh | ResourceRefresh: Fluent model 'DomainService', method reference 'getByResourceGroup'
info    | ResourceDelete | ResourceDelete: Fluent model 'DomainService', method reference 'delete'
info    | ResourceCreate | ResourceCreate: Fluent model 'OuContainer', method reference 'create', body parameter 'ContainerAccount'
info    | ResourceParser | Fluent model 'OuContainer' as category NESTED_CHILD
info    | ResourceUpdate | ResourceUpdate: Fluent model 'OuContainer', method reference 'update', body parameter 'ContainerAccount'
info    | ResourceRefresh | ResourceRefresh: Fluent model 'OuContainer', method reference 'get'
info    | ResourceDelete | ResourceDelete: Fluent model 'OuContainer', method reference 'delete'
info    | ExampleParser | Parse collection method example 'Get Operations'
info    | ExampleParser | Parse collection method example 'List Domain Service'
info    | ExampleParser | Parse collection method example 'List Domain Service'
info    | ExampleParser | Parse collection method example 'Get Domain Service'
info    | ExampleParser | Parse collection method example 'Delete Domain Service'
info    | ExampleParser | Parse resource create example 'Create Domain Service'
info    | ResourceCreate | ResourceCreate: Fluent model 'DomainService', resource define method 'define'
warning | ExampleParser | Failed to assign sample value to required stage 'WithLocation'
info    | ExampleParser | Parse resource update example 'Update Domain Service'

stderr


/home/runner/.autorest/@[email protected]/node_modules/@autorest/core/dist/vendors-common_temp_node_modules_pnpm_azure_logger_1_0_3_node_modules_azure_logger_dist-esm_s-fe57a1.js:110268
                    throw new Error('Header must provide a Content-Length property.');
                          ^
Error: Header must provide a Content-Length property.
    at StreamMessageReader.exports.modules.../../../common/temp/node_modules/.pnpm/[email protected]/node_modules/vscode-jsonrpc/lib/messageReader.js.StreamMessageReader.onData (/home/runner/.autorest/@[email protected]/node_modules/@autorest/core/dist/vendors-common_temp_node_modules_pnpm_azure_logger_1_0_3_node_modules_azure_logger_dist-esm_s-fe57a1.js:110268:27)
    at Socket.<anonymous> (/home/runner/.autorest/@[email protected]/node_modules/@autorest/core/dist/vendors-common_temp_node_modules_pnpm_azure_logger_1_0_3_node_modules_azure_logger_dist-esm_s-fe57a1.js:110253:19)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Socket.Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)

intune

stdout

AutoRest code generation utility [cli version: 3.7.1; node: v20.18.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
info    | AutoRest core version selected from configuration: 3.9.7.
info    |    Loading AutoRest core      '/home/runner/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.9.7)
info    |    Loading local AutoRest extension '@autorest/java' (/home/runner/work/autorest.java/autorest.java)
info    |    Loading local AutoRest extension '@autorest/java.fluent' (/home/runner/work/autorest.java/autorest.java/fluentgen)
info    |    Loading AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
warning | PreCheck/SchemaMissingType | The schema 'Resource' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1712:5
warning | PreCheck/SchemaMissingType | The schema 'Location' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1743:5
warning | PreCheck/SchemaMissingType | The schema 'LocationProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1757:5
warning | PreCheck/SchemaMissingType | The schema 'Error' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1767:5
warning | PreCheck/SchemaMissingType | The schema 'LocationCollection' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1781:5
warning | PreCheck/SchemaMissingType | The schema 'GroupsCollection' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1799:5
warning | PreCheck/SchemaMissingType | The schema 'GroupItem' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1817:5
warning | PreCheck/SchemaMissingType | The schema 'GroupProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1831:5
warning | PreCheck/SchemaMissingType | The schema 'ApplicationCollection' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1842:5
warning | PreCheck/SchemaMissingType | The schema 'Application' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1860:5
warning | PreCheck/SchemaMissingType | The schema 'ApplicationProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1874:5
warning | PreCheck/SchemaMissingType | The schema 'IOSMAMPolicyCollection' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1897:5
warning | PreCheck/SchemaMissingType | The schema 'AndroidMAMPolicyCollection' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1915:5
warning | PreCheck/SchemaMissingType | The schema 'iOSMAMPolicy' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1933:5
warning | PreCheck/SchemaMissingType | The schema 'AndroidMAMPolicy' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1947:5
warning | PreCheck/SchemaMissingType | The schema 'MAMPolicyAppIdOrGroupIdPayload' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1961:5
warning | PreCheck/SchemaMissingType | The schema 'MAMPolicyAppOrGroupIdProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1969:5
warning | PreCheck/SchemaMissingType | The schema 'MAMPolicyProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:1980:5
warning | PreCheck/SchemaMissingType | The schema 'iOSMAMPolicyProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2102:5
warning | PreCheck/SchemaMissingType | The schema 'AndroidMAMPolicyProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2130:5
warning | PreCheck/SchemaMissingType | The schema 'DeviceCollection' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2156:5
warning | PreCheck/SchemaMissingType | The schema 'Device' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2174:5
warning | PreCheck/SchemaMissingType | The schema 'DeviceProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2188:5
warning | PreCheck/SchemaMissingType | The schema 'WipeDeviceOperationResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2214:5
warning | PreCheck/SchemaMissingType | The schema 'WipeDeviceOperationResultProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2228:5
warning | PreCheck/SchemaMissingType | The schema 'OperationResultCollection' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2238:5
warning | PreCheck/SchemaMissingType | The schema 'OperationResult' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2256:5
warning | PreCheck/SchemaMissingType | The schema 'OperationResultProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2270:5
warning | PreCheck/SchemaMissingType | The schema 'operationMetadataProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2301:5
warning | PreCheck/SchemaMissingType | The schema 'StatusesDefault' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2315:5
warning | PreCheck/SchemaMissingType | The schema 'StatusesProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2334:5
warning | PreCheck/SchemaMissingType | The schema 'FlaggedUserCollection' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2375:5
warning | PreCheck/SchemaMissingType | The schema 'FlaggedUser' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2394:5
warning | PreCheck/SchemaMissingType | The schema 'FlaggedUserProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2408:5
warning | PreCheck/SchemaMissingType | The schema 'FlaggedEnrolledAppCollection' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2420:5
warning | PreCheck/SchemaMissingType | The schema 'FlaggedEnrolledApp' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2439:5
warning | PreCheck/SchemaMissingType | The schema 'FlaggedEnrolledAppProperties' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2453:5
warning | PreCheck/SchemaMissingType | The schema 'FlaggedEnrolledAppError' with an undefined type and declared properties is a bit ambiguous. This has been auto-corrected to 'type:object'
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json:2482:5
warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
warning | Deprecated | seal-single-value-enum-by-default is a temporary flag that WILL be removed in the future. Please change the spec to add x-ms-enum.modelAsString=false for enums with this issue.
info    | FluentGen | Read YAML
info    | FluentNamer | Created temp directory for code model: /tmp/code-model656681f9-6b69-4b3e-aa62-0e301f7e7d8012217924938483995026
info    | FluentNamer | Load fluent settings
info    | FluentNamer | Transform code model
info    | FluentTransformer | Rename ungrouped operation group to 'ResourceProvider'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'GetLocationByHostName' to 'GetLocationByHostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'userName' to 'username'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'userName' to 'username'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'userName' to 'username'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'userName' to 'username'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'userName' to 'username'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | SchemaNameNormalization | Override default name, from 'hostName' to 'hostname'
info    | ErrorTypeNormalization | Rename error from 'Error' to 'ManagementError'
info    | FluentGen | Map code model to client model
info    | FluentMapper | Add Inner to response types: [IOsmamPolicy, OperationResult, FlaggedEnrolledApp, Application, Device, WipeDeviceOperationResult, Location, AndroidMamPolicy, FlaggedUser, GroupItem]
error   | FluentGen | Failed to successfully run fluentgen plugin java.lang.IllegalArgumentException: [JavaCheck/SchemaError] item name value not found among properties of client model StatusesDefault
java.lang.IllegalArgumentException: [JavaCheck/SchemaError] item name value not found among properties of client model StatusesDefault
	at com.microsoft.typespec.http.client.generator.core.mapper.ClientMethodMapper.lambda$getReturnTypes$10(ClientMethodMapper.java:631)
	at java.base/java.util.Optional.ifPresentOrElse(Optional.java:203)
	at com.microsoft.typespec.http.client.generator.core.mapper.ClientMethodMapper.getReturnTypes(ClientMethodMapper.java:616)
	at com.microsoft.typespec.http.client.generator.core.mapper.ClientMethodMapper.createClientMethods(ClientMethodMapper.java:211)
	at com.microsoft.typespec.http.client.generator.core.mapper.ClientMethodMapper.map(ClientMethodMapper.java:133)
	at com.microsoft.typespec.http.client.generator.core.mapper.ClientMethodMapper.map(ClientMethodMapper.java:116)
	at com.microsoft.typespec.http.client.generator.core.mapper.MethodGroupMapper.createMethodGroupClient(MethodGroupMapper.java:150)
	at com.microsoft.typespec.http.client.generator.core.mapper.MethodGroupMapper.map(MethodGroupMapper.java:51)
	at com.microsoft.typespec.http.client.generator.core.mapper.ServiceClientMapper.map(ServiceClientMapper.java:94)
	at com.microsoft.typespec.http.client.generator.core.mapper.ClientMapper.map(ClientMapper.java:199)
	at com.microsoft.typespec.http.client.generator.mgmt.FluentGen.handleMap(FluentGen.java:162)
	at com.microsoft.typespec.http.client.generator.mgmt.FluentGen.processInternal(FluentGen.java:99)
	at com.microsoft.typespec.http.client.generator.core.extension.plugin.NewPlugin.process(NewPlugin.java:324)
	at com.azure.autorest.fluent.Main.lambda$main$1(Main.java:14)
	at com.microsoft.typespec.http.client.generator.core.extension.jsonrpc.Connection.lambda$dispatch$2(Connection.java:143)
	at com.microsoft.typespec.http.client.generator.core.extension.jsonrpc.Connection.lambda$process$4(Connection.java:245)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

fatal   | Process() cancelled due to failure 
error   |   Error: Plugin fluentgen reported failure.
error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.

stderr


iotspaces

stdout

AutoRest code generation utility [cli version: 3.7.1; node: v20.18.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
info    | AutoRest core version selected from configuration: 3.9.7.
info    |    Loading AutoRest core      '/home/runner/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.9.7)
info    |    Loading local AutoRest extension '@autorest/java' (/home/runner/work/autorest.java/autorest.java)
info    |    Loading local AutoRest extension '@autorest/java.fluent' (/home/runner/work/autorest.java/autorest.java/fluentgen)
info    |    Loading AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
warning | OutdatedExtension | Semantic violation: Extension 'x-ms-code-generation-settings' is not supported in Autorest V3. It will just be ignored. (info > x-ms-code-generation-settings)
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/iotspaces/resource-manager/Microsoft.IoTSpaces/preview/2017-10-01-preview/iotspaces.json:7:5
warning | PreCheck/CheckDuplicateSchemas | Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
warning | SecurityDefinedSpecAndConfig | OpenAPI spec has a security definition but autorest security config is defined. Security config from autorest will be used.
info    | FluentGen | Read YAML
info    | FluentNamer | Created temp directory for code model: /tmp/code-model45179501-652c-4b8b-92fd-e3dfc5767af04679791277388052772
info    | FluentNamer | Load fluent settings
info    | FluentNamer | Transform code model
info    | FluentGen | Map code model to client model
info    | FluentMapper | Add Inner to response types: []
info    | FluentGen | Java template for client model
error   | FluentGen | Failed to successfully run fluentgen plugin java.lang.NullPointerException
java.lang.NullPointerException
	at com.microsoft.typespec.http.client.generator.mgmt.FluentGen.addServiceClient(FluentGen.java:280)
	at com.microsoft.typespec.http.client.generator.mgmt.FluentGen.handleTemplate(FluentGen.java:188)
	at com.microsoft.typespec.http.client.generator.mgmt.FluentGen.processInternal(FluentGen.java:102)
	at com.microsoft.typespec.http.client.generator.core.extension.plugin.NewPlugin.process(NewPlugin.java:324)
	at com.azure.autorest.fluent.Main.lambda$main$1(Main.java:14)
	at com.microsoft.typespec.http.client.generator.core.extension.jsonrpc.Connection.lambda$dispatch$2(Connection.java:143)
	at com.microsoft.typespec.http.client.generator.core.extension.jsonrpc.Connection.lambda$process$4(Connection.java:245)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

fatal   | Process() cancelled due to failure 
error   |   Error: Plugin fluentgen reported failure.
error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.

stderr


logic

stdout

[INFO] Scanning for projects...
[INFO] 
[INFO] -------< com.azure.resourcemanager:azure-resourcemanager-logic >--------
[INFO] Building Microsoft Azure SDK for Logic Management 1.0.0-beta.1
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ azure-resourcemanager-logic ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ azure-resourcemanager-logic ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 420 source files to /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-logic/target/classes
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-logic/src/main/java/com/azure/resourcemanager/logic/implementation/LogicManagementClientImpl.java: /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-logic/src/main/java/com/azure/resourcemanager/logic/implementation/LogicManagementClientImpl.java uses or overrides a deprecated API.
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-logic/src/main/java/com/azure/resourcemanager/logic/implementation/LogicManagementClientImpl.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:add-test-source (add-test-source) @ azure-resourcemanager-logic ---
[INFO] Test Source directory: /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-logic/src/samples added.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ azure-resourcemanager-logic ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-logic/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ azure-resourcemanager-logic ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 288 source files to /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-logic/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-logic/src/test/java/com/azure/resourcemanager/logic/generated/ApiOperationPropertiesDefinitionTests.java:[34,13] constant string too long
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-logic/src/test/java/com/azure/resourcemanager/logic/generated/ApiOperationPropertiesDefinitionTests.java:[1118,17] code too large
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.758 s
[INFO] Finished at: 2024-10-19T18:51:46Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:testCompile (default-testCompile) on project azure-resourcemanager-logic: Compilation failure: Compilation failure: 
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-logic/src/test/java/com/azure/resourcemanager/logic/generated/ApiOperationPropertiesDefinitionTests.java:[34,13] constant string too long
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-logic/src/test/java/com/azure/resourcemanager/logic/generated/ApiOperationPropertiesDefinitionTests.java:[1118,17] code too large
[ERROR] -> [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/MojoFailureException

stderr


machinelearning

stdout

AutoRest code generation utility [cli version: 3.7.1; node: v20.18.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
info    | AutoRest core version selected from configuration: 3.9.7.
info    |    Loading AutoRest core      '/home/runner/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.9.7)
warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
info    |    Loading local AutoRest extension '@autorest/java' (/home/runner/work/autorest.java/autorest.java)
info    |    Loading local AutoRest extension '@autorest/java.fluent' (/home/runner/work/autorest.java/autorest.java/fluentgen)
info    |    Loading AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
error   | [Exception] No input files provided.

Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
error   |   Error: [Exception] No input files provided.

Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.

stderr


migrateprojects

stdout

AutoRest code generation utility [cli version: 3.7.1; node: v20.18.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
info    | AutoRest core version selected from configuration: 3.9.7.
info    |    Loading AutoRest core      '/home/runner/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.9.7)
info    |    Loading local AutoRest extension '@autorest/java' (/home/runner/work/autorest.java/autorest.java)
info    |    Loading local AutoRest extension '@autorest/java.fluent' (/home/runner/work/autorest.java/autorest.java/fluentgen)
info    |    Loading AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
error   | DiscriminatorNotRequired | Semantic violation: Discriminator must be a required property. (components > schemas > MigrateEventProperties)
  discriminator: { propertyName: [32m'instanceType'[39m }
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json:1423:5
fatal   | Process() cancelled due to failure 
error   | DiscriminatorNotRequired | Semantic violation: Discriminator must be a required property. (components > schemas > ProjectSummary)
  discriminator: { propertyName: [32m'instanceType'[39m }
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json:2715:5
error   | DiscriminatorNotRequired | Semantic violation: Discriminator must be a required property. (components > schemas > SolutionSummary)
  discriminator: { propertyName: [32m'instanceType'[39m }
    - file:///home/runner/work/autorest.java/autorest.java/azure-rest-api-specs/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json:2905:5
error   |   Error: Semantic validation failed. There was some errors
error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.

stderr


network

stdout

[INFO] Scanning for projects...
[INFO] 
[INFO] ------< com.azure.resourcemanager:azure-resourcemanager-network >-------
[INFO] Building Microsoft Azure SDK for Network Management 1.0.0-beta.1
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ azure-resourcemanager-network ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ azure-resourcemanager-network ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2129 source files to /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/target/classes
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java: /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java uses or overrides a deprecated API.
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/implementation/NetworkManagementClientImpl.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- build-helper-maven-plugin:3.0.0:add-test-source (add-test-source) @ azure-resourcemanager-network ---
[INFO] Test Source directory: /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/samples added.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ azure-resourcemanager-network ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ azure-resourcemanager-network ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1941 source files to /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupMockTests.java:[15,1] a type with the same simple name is already defined by the single-type-import of com.azure.resourcemanager.network.NetworkManager
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListMockTests.java:[15,1] a type with the same simple name is already defined by the single-type-import of com.azure.resourcemanager.network.NetworkManager
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupWithResponseMockTests.java:[14,1] a type with the same simple name is already defined by the single-type-import of com.azure.resourcemanager.network.NetworkManager
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateWithResponseMockTests.java:[14,1] a type with the same simple name is already defined by the single-type-import of com.azure.resourcemanager.network.NetworkManager
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupMockTests.java:[30,9] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupMockTests.java:[30,34] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupMockTests.java:[35,23] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListMockTests.java:[30,9] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListMockTests.java:[30,34] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListMockTests.java:[35,23] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupWithResponseMockTests.java:[29,9] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupWithResponseMockTests.java:[29,34] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupWithResponseMockTests.java:[34,9] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateWithResponseMockTests.java:[33,9] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateWithResponseMockTests.java:[33,34] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateWithResponseMockTests.java:[38,9] reference to NetworkManager is ambiguous
  both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[INFO] 16 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  22.850 s
[INFO] Finished at: 2024-10-19T19:02:38Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:testCompile (default-testCompile) on project azure-resourcemanager-network: Compilation failure: Compilation failure: 
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupMockTests.java:[15,1] a type with the same simple name is already defined by the single-type-import of com.azure.resourcemanager.network.NetworkManager
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListMockTests.java:[15,1] a type with the same simple name is already defined by the single-type-import of com.azure.resourcemanager.network.NetworkManager
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupWithResponseMockTests.java:[14,1] a type with the same simple name is already defined by the single-type-import of com.azure.resourcemanager.network.NetworkManager
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateWithResponseMockTests.java:[14,1] a type with the same simple name is already defined by the single-type-import of com.azure.resourcemanager.network.NetworkManager
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupMockTests.java:[30,9] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupMockTests.java:[30,34] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListByResourceGroupMockTests.java:[35,23] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListMockTests.java:[30,9] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListMockTests.java:[30,34] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersListMockTests.java:[35,23] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupWithResponseMockTests.java:[29,9] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupWithResponseMockTests.java:[29,34] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersGetByResourceGroupWithResponseMockTests.java:[34,9] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateWithResponseMockTests.java:[33,9] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateWithResponseMockTests.java:[33,34] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-network/src/test/java/com/azure/resourcemanager/network/generated/NetworkManagersCreateOrUpdateWithResponseMockTests.java:[38,9] reference to NetworkManager is ambiguous
[ERROR]   both class com.azure.resourcemanager.network.NetworkManager in com.azure.resourcemanager.network and interface com.azure.resourcemanager.network.models.NetworkManager in com.azure.resourcemanager.network.models match
[ERROR] -> [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/MojoFailureException

stderr


resourcegraph

stdout

[INFO] Scanning for projects...
[INFO] 
[INFO] ---< com.azure.resourcemanager:azure-resourcemanager-resourcegraph >----
[INFO] Building Microsoft Azure SDK for ResourceGraph Management 1.0.0-beta.1
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ azure-resourcemanager-resourcegraph ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ azure-resourcemanager-resourcegraph ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 70 source files to /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/target/classes
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientImpl.java: /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientImpl.java uses or overrides a deprecated API.
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientImpl.java: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/fluent/ResourceGraphClient.java:[26,12] method getEndpoint() is already defined in interface com.azure.resourcemanager.resourcegraph.fluent.ResourceGraphClient
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientImpl.java:[61,26] variable endpoint is already defined in class com.azure.resourcemanager.resourcegraph.implementation.ResourceGraphClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientImpl.java:[68,19] method getEndpoint() is already defined in class com.azure.resourcemanager.resourcegraph.implementation.ResourceGraphClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientImpl.java:[167,93] variable endpoint is already defined in constructor ResourceGraphClientImpl(com.azure.core.http.HttpPipeline,com.azure.core.util.serializer.SerializerAdapter,java.time.Duration,com.azure.core.management.AzureEnvironment,java.lang.String,java.lang.String)
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientBuilder.java:[41,20] variable endpoint is already defined in class com.azure.resourcemanager.resourcegraph.implementation.ResourceGraphClientBuilder
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientBuilder.java:[49,39] method endpoint(java.lang.String) is already defined in class com.azure.resourcemanager.resourcegraph.implementation.ResourceGraphClientBuilder
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientBuilder.java:[125,16] variable localEndpoint is already defined in method buildClient()
[INFO] 7 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.245 s
[INFO] Finished at: 2024-10-19T19:16:10Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project azure-resourcemanager-resourcegraph: Compilation failure: Compilation failure: 
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/fluent/ResourceGraphClient.java:[26,12] method getEndpoint() is already defined in interface com.azure.resourcemanager.resourcegraph.fluent.ResourceGraphClient
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientImpl.java:[61,26] variable endpoint is already defined in class com.azure.resourcemanager.resourcegraph.implementation.ResourceGraphClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientImpl.java:[68,19] method getEndpoint() is already defined in class com.azure.resourcemanager.resourcegraph.implementation.ResourceGraphClientImpl
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientImpl.java:[167,93] variable endpoint is already defined in constructor ResourceGraphClientImpl(com.azure.core.http.HttpPipeline,com.azure.core.util.serializer.SerializerAdapter,java.time.Duration,com.azure.core.management.AzureEnvironment,java.lang.String,java.lang.String)
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientBuilder.java:[41,20] variable endpoint is already defined in class com.azure.resourcemanager.resourcegraph.implementation.ResourceGraphClientBuilder
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientBuilder.java:[49,39] method endpoint(java.lang.String) is already defined in class com.azure.resourcemanager.resourcegraph.implementation.ResourceGraphClientBuilder
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-resourcegraph/src/main/java/com/azure/resourcemanager/resourcegraph/implementation/ResourceGraphClientBuilder.java:[125,16] variable localEndpoint is already defined in method buildClient()
[ERROR] -> [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/MojoFailureException

stderr


service-map

stdout

[INFO] Scanning for projects...
[INFO] 
[INFO] -----< com.azure.resourcemanager:azure-resourcemanager-servicemap >-----
[INFO] Building Microsoft Azure SDK for ServiceMap Management 1.0.0-beta.1
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ azure-resourcemanager-servicemap ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ azure-resourcemanager-servicemap ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 149 source files to /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/target/classes
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/implementation/ServiceMapImpl.java: /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/implementation/ServiceMapImpl.java uses or overrides a deprecated API.
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/implementation/ServiceMapImpl.java: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/fluent/models/MapResponseInner.java:[38,13] reference to Map is ambiguous
  both class com.azure.resourcemanager.servicemap.models.Map in com.azure.resourcemanager.servicemap.models and interface java.util.Map in java.util match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/fluent/models/MapResponseInner.java:[91,12] reference to Map is ambiguous
  both class com.azure.resourcemanager.servicemap.models.Map in com.azure.resourcemanager.servicemap.models and interface java.util.Map in java.util match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/fluent/models/MapResponseInner.java:[101,37] reference to Map is ambiguous
  both class com.azure.resourcemanager.servicemap.models.Map in com.azure.resourcemanager.servicemap.models and interface java.util.Map in java.util match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/fluent/models/MapResponseInner.java:[18,1] a type with the same simple name is already defined by the single-type-import of com.azure.resourcemanager.servicemap.models.Map
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[14,1] com.azure.resourcemanager.servicemap.models.Map is already defined in this compilation unit
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/fluent/models/MapResponseInner.java:[167,56] reference to Map is ambiguous
  both class com.azure.resourcemanager.servicemap.models.Map in com.azure.resourcemanager.servicemap.models and interface java.util.Map in java.util match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[20,52] type argument java.util.Map is not within bounds of type-variable T
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[54,16] incompatible types: com.azure.resourcemanager.servicemap.models.Map cannot be converted to java.util.Map
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[74,16] incompatible types: com.azure.resourcemanager.servicemap.models.Map cannot be converted to java.util.Map
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[119,35] java.util.Map is abstract; cannot be instantiated
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[125,36] cannot find symbol
  symbol:   variable nodes
  location: variable deserializedMap of type java.util.Map
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[127,36] cannot find symbol
  symbol:   variable edges
  location: variable deserializedMap of type java.util.Map
[INFO] 12 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.828 s
[INFO] Finished at: 2024-10-19T19:21:24Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project azure-resourcemanager-servicemap: Compilation failure: Compilation failure: 
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/fluent/models/MapResponseInner.java:[38,13] reference to Map is ambiguous
[ERROR]   both class com.azure.resourcemanager.servicemap.models.Map in com.azure.resourcemanager.servicemap.models and interface java.util.Map in java.util match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/fluent/models/MapResponseInner.java:[91,12] reference to Map is ambiguous
[ERROR]   both class com.azure.resourcemanager.servicemap.models.Map in com.azure.resourcemanager.servicemap.models and interface java.util.Map in java.util match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/fluent/models/MapResponseInner.java:[101,37] reference to Map is ambiguous
[ERROR]   both class com.azure.resourcemanager.servicemap.models.Map in com.azure.resourcemanager.servicemap.models and interface java.util.Map in java.util match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/fluent/models/MapResponseInner.java:[18,1] a type with the same simple name is already defined by the single-type-import of com.azure.resourcemanager.servicemap.models.Map
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[14,1] com.azure.resourcemanager.servicemap.models.Map is already defined in this compilation unit
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/fluent/models/MapResponseInner.java:[167,56] reference to Map is ambiguous
[ERROR]   both class com.azure.resourcemanager.servicemap.models.Map in com.azure.resourcemanager.servicemap.models and interface java.util.Map in java.util match
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[20,52] type argument java.util.Map is not within bounds of type-variable T
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[54,16] incompatible types: com.azure.resourcemanager.servicemap.models.Map cannot be converted to java.util.Map
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[74,16] incompatible types: com.azure.resourcemanager.servicemap.models.Map cannot be converted to java.util.Map
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[119,35] java.util.Map is abstract; cannot be instantiated
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[125,36] cannot find symbol
[ERROR]   symbol:   variable nodes
[ERROR]   location: variable deserializedMap of type java.util.Map
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-service-map/src/main/java/com/azure/resourcemanager/servicemap/models/Map.java:[127,36] cannot find symbol
[ERROR]   symbol:   variable edges
[ERROR]   location: variable deserializedMap of type java.util.Map
[ERROR] -> [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/MojoFailureException

stderr


sql

stdout

[INFO] Scanning for projects...
[INFO] 
[INFO] --------< com.azure.resourcemanager:azure-resourcemanager-sql >---------
[INFO] Building Microsoft Azure SDK for Sql Management 1.0.0-beta.1
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ azure-resourcemanager-sql ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ azure-resourcemanager-sql ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1604 source files to /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-sql/target/classes
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SqlManagementClientImpl.java: /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SqlManagementClientImpl.java uses or overrides a deprecated API.
[INFO] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SqlManagementClientImpl.java: Recompile with -Xlint:deprecation for details.
[INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SqlVulnerabilityAssessmentImpl.java:[124,61] incompatible types: com.azure.resourcemanager.sql.models.VulnerabilityAssessmentName cannot be converted to com.azure.resourcemanager.sql.models.SqlVulnerabilityAssessmentName
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SqlVulnerabilityAssessmentImpl.java:[132,61] incompatible types: com.azure.resourcemanager.sql.models.VulnerabilityAssessmentName cannot be converted to com.azure.resourcemanager.sql.models.SqlVulnerabilityAssessmentName
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  14.048 s
[INFO] Finished at: 2024-10-19T19:27:21Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project azure-resourcemanager-sql: Compilation failure: Compilation failure: 
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SqlVulnerabilityAssessmentImpl.java:[124,61] incompatible types: com.azure.resourcemanager.sql.models.VulnerabilityAssessmentName cannot be converted to com.azure.resourcemanager.sql.models.SqlVulnerabilityAssessmentName
[ERROR] /home/runner/work/autorest.java/autorest.java/fluent_generated/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/implementation/SqlVulnerabilityAssessmentImpl.java:[132,61] incompatible types: com.azure.resourcemanager.sql.models.VulnerabilityAssessmentName cannot be converted to com.azure.resourcemanager.sql.models.SqlVulnerabilityAssessmentName
[ERROR] -> [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/MojoFailureException

stderr


Clone this wiki locally