Skip to content

refactor: enforce Rust dead code and visibility lints #11194

refactor: enforce Rust dead code and visibility lints

refactor: enforce Rust dead code and visibility lints #11194

Triggered via pull request August 26, 2026 03:44
Status Success
Total duration 17m 4s
Artifacts 4

e2e-test.yml

on: pull_request
detect-changes
6s
detect-changes
download-previous-rolldown-binaries
9s
download-previous-rolldown-binaries
Build Windows CLI binaries
7m 42s
Build Windows CLI binaries
Matrix: build
Matrix: e2e-test
Notify on failure
Notify on failure
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 62 warnings
typescript(tsconfig-error): packages/plugin-runtime/tsconfig.json#L13
packages/plugin-runtime/tsconfig.json:13:5: Invalid tsconfig
typescript(tsconfig-error): packages/plugin-runtime-types/tsconfig.json#L7
packages/plugin-runtime-types/tsconfig.json:7:5: Invalid tsconfig
rollipop E2E test (ubuntu-latest)
Cannot find name 'CloseEvent'.
typescript(TS2613): example/__tests__/App.test.tsx#L8
example/__tests__/App.test.tsx:8:8: Module '"/home/runner/work/_temp/vite-plus-ecosystem-ci/rollipop/example/App"' has no default export. Did you mean to use 'import { App } from "/home/runner/work/_temp/vite-plus-ecosystem-ci/rollipop/example/App"' instead?
typescript(TS2304): packages/core/src/runtime/hmr-client.ts#L300
packages/core/src/runtime/hmr-client.ts:300:30: Cannot find name 'CloseEvent'.
TS(1038): packages/varlet-cli/src/module.d.ts#L6
packages/varlet-cli/src/module.d.ts:6:3: A 'declare' modifier cannot be used in an already ambient context.
rollipop E2E test (namespace-profile-windows-4c-8g)
Cannot find name 'CloseEvent'.
typescript(TS2304): packages/core/src/runtime/hmr-client.ts#L300
packages/core/src/runtime/hmr-client.ts:300:30: Cannot find name 'CloseEvent'.
typescript(TS2613): example/__tests__/App.test.tsx#L8
example/__tests__/App.test.tsx:8:8: Module '"D:/a/_temp/vite-plus-ecosystem-ci/rollipop/example/App"' has no default export. Did you mean to use 'import { App } from "D:/a/_temp/vite-plus-ecosystem-ci/rollipop/example/App"' instead?
eslint(no-unused-vars): test/e2e/helpers/fixtures.ts#L130
test/e2e/helpers/fixtures.ts:130:33: Parameter '_' is declared but never used.
vue(no-dupe-keys): app/components/Input/Base.vue#L2
app/components/Input/Base.vue:2:21: Duplicate key 'noPasswordManager'. May cause name collision in script or template tag.
vue(no-dupe-keys): app/components/Input/Base.vue#L2
app/components/Input/Base.vue:2:10: Duplicate key 'noCorrect'. May cause name collision in script or template tag.
vue(no-dupe-keys): app/components/Tooltip/Base.vue#L4
app/components/Tooltip/Base.vue:4:28: Duplicate key 'offset'. May cause name collision in script or template tag.
eslint(no-unused-vars): uno-preset-rtl.ts#L131
uno-preset-rtl.ts:131:11: Parameter '_' is declared but never used.
eslint(no-unused-vars): server/api/contributors.get.ts#L194
server/api/contributors.get.ts:194:22: Parameter '_' is declared but never used.
eslint(no-unused-vars): server/api/social/likes/[...pkg].get.ts#L11
server/api/social/likes/[...pkg].get.ts:11:73: Parameter '_' is declared but never used.
eslint(no-unused-vars): server/routes/.well-known/jwks.json.get.ts#L3
server/routes/.well-known/jwks.json.get.ts:3:41: Parameter '_' is declared but never used.
eslint(no-unused-vars): server/routes/oauth-client-metadata.json.get.ts#L1
server/routes/oauth-client-metadata.json.get.ts:1:41: Parameter '_' is declared but never used.
typescript(no-unnecessary-type-assertion): src/utils.ts#L95
src/utils.ts:95:62: This assertion is unnecessary since the receiver accepts the original type of the expression.
typescript(no-unnecessary-type-assertion): src/utils.ts#L95
src/utils.ts:95:19: This assertion is unnecessary since the receiver accepts the original type of the expression.
typescript(no-unsafe-type-assertion): src/combined-visitor.ts#L204
src/combined-visitor.ts:204:28: Unsafe type assertion: type '{ body: Node$1; }' is more narrow than the original type.
typescript(no-unsafe-type-assertion): src/combined-visitor.ts#L201
src/combined-visitor.ts:201:25: Unsafe type assertion: type '{ body: Node$1; }' is more narrow than the original type.
typescript(no-unsafe-type-assertion): src/combined-visitor.ts#L186
src/combined-visitor.ts:186:18: Unsafe type assertion: type 'LabeledJumpStatementNode' is more narrow than the original type.
typescript(no-unsafe-type-assertion): src/combined-visitor.ts#L176
src/combined-visitor.ts:176:20: Unsafe type assertion: type 'LogicalExpression | undefined' is more narrow than the original type.
typescript(no-unnecessary-type-assertion): src/utils.ts#L59
src/utils.ts:59:20: This assertion is unnecessary since it does not change the type of the expression.
typescript(no-unsafe-type-assertion): src/visitor.ts#L52
src/visitor.ts:52:22: Unsafe type assertion: type 'FunctionNode' is more narrow than the original type.
typescript(no-unsafe-type-assertion): src/cognitive/patterns.ts#L8
src/cognitive/patterns.ts:8:18: Unsafe type assertion: type 'IfStatement | undefined' is more narrow than the original type.
typescript(no-unsafe-type-assertion): src/utils.ts#L57
src/utils.ts:57:18: Unsafe type assertion: type 'Record<string, unknown>' is more narrow than the original type.
unicorn(no-unnecessary-await): packages/pinia/__tests__/subscriptions.spec.ts#L171
packages/pinia/__tests__/subscriptions.spec.ts:171:7: Unexpected `await` on a non-Promise value
typescript(no-redundant-type-constituents): plugins/importer-insomnia/src/v5.ts#L242
plugins/importer-insomnia/src/v5.ts:242:16: 'PartialImportResources' is an 'error' type that acts as 'any' and overrides all other types in this union type.
typescript(await-thenable): src-web/components/Sidebar.tsx#L313
src-web/components/Sidebar.tsx:313:13: Unexpected iterable of non-Promise (non-"Thenable") values passed to promise aggregator.
typescript(no-redundant-type-constituents): plugins/importer-postman-environment/src/index.ts#L28
plugins/importer-postman-environment/src/index.ts:28:62: 'ImportPluginResponse' is an 'error' type that acts as 'any' and overrides all other types in this union type.
typescript(no-redundant-type-constituents): plugins/template-function-response/src/index.ts#L329
plugins/template-function-response/src/index.ts:329:38: 'HttpResponse' is an 'error' type that acts as 'any' and overrides all other types in this union type.
typescript(no-redundant-type-constituents): plugins/template-function-response/src/index.ts#L308
plugins/template-function-response/src/index.ts:308:17: 'HttpResponse' is an 'error' type that acts as 'any' and overrides all other types in this union type.
typescript(no-redundant-type-constituents): plugins/template-function-response/src/index.ts#L294
plugins/template-function-response/src/index.ts:294:12: 'HttpResponse' is an 'error' type that acts as 'any' and overrides all other types in this union type.
typescript(no-redundant-type-constituents): plugins/importer-openapi/src/index.ts#L16
plugins/importer-openapi/src/index.ts:16:65: 'ImportPluginResponse' is an 'error' type that acts as 'any' and overrides all other types in this union type.
typescript(no-redundant-type-constituents): plugins/auth-oauth2/src/index.ts#L618
plugins/auth-oauth2/src/index.ts:618:40: 'JsonPrimitive' is an 'error' type that acts as 'any' and overrides all other types in this union type.
typescript(no-redundant-type-constituents): plugins/auth-oauth2/src/index.ts#L612
plugins/auth-oauth2/src/index.ts:612:43: 'JsonPrimitive' is an 'error' type that acts as 'any' and overrides all other types in this union type.
typescript(no-redundant-type-constituents): plugins/auth-oauth2/src/index.ts#L604
plugins/auth-oauth2/src/index.ts:604:26: 'JsonPrimitive' is an 'error' type that acts as 'any' and overrides all other types in this union type.
typescript(no-unsafe-type-assertion): src/combined-visitor.ts#L186
src/combined-visitor.ts:186:18: Unsafe type assertion: type 'LabeledJumpStatementNode' is more narrow than the original type.
typescript(no-unsafe-type-assertion): src/combined-visitor.ts#L176
src/combined-visitor.ts:176:20: Unsafe type assertion: type 'LogicalExpression | undefined' is more narrow than the original type.
typescript(no-unnecessary-type-assertion): src/utils.ts#L59
src/utils.ts:59:20: This assertion is unnecessary since it does not change the type of the expression.
typescript(no-unnecessary-type-assertion): src/cognitive/patterns.ts#L43
src/cognitive/patterns.ts:43:15: This assertion is unnecessary since it does not change the type of the expression.
typescript(no-unnecessary-type-assertion): src/cognitive/patterns.ts#L41
src/cognitive/patterns.ts:41:25: This assertion is unnecessary since it does not change the type of the expression.
typescript(no-unsafe-type-assertion): src/visitor.ts#L52
src/visitor.ts:52:22: Unsafe type assertion: type 'FunctionNode' is more narrow than the original type.
typescript(no-unnecessary-type-assertion): src/cognitive/patterns.ts#L29
src/cognitive/patterns.ts:29:16: This assertion is unnecessary since it does not change the type of the expression.
typescript(no-unnecessary-type-assertion): src/cognitive/patterns.ts#L27
src/cognitive/patterns.ts:27:25: This assertion is unnecessary since it does not change the type of the expression.
typescript(no-unsafe-type-assertion): src/cognitive/patterns.ts#L8
src/cognitive/patterns.ts:8:18: Unsafe type assertion: type 'IfStatement | undefined' is more narrow than the original type.
typescript(no-unsafe-type-assertion): src/utils.ts#L57
src/utils.ts:57:18: Unsafe type assertion: type 'Record<string, unknown>' is more narrow than the original type.
unicorn(no-unnecessary-await): packages/pinia/__tests__/subscriptions.spec.ts#L171
packages/pinia/__tests__/subscriptions.spec.ts:171:7: Unexpected `await` on a non-Promise value
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L110
src/components/resume/shared/get-section-component.tsx:110:30: Parameter '_' is declared but never used.
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L101
src/components/resume/shared/get-section-component.tsx:101:32: Parameter '_' is declared but never used.
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L92
src/components/resume/shared/get-section-component.tsx:92:33: Parameter '_' is declared but never used.
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L83
src/components/resume/shared/get-section-component.tsx:83:34: Parameter '_' is declared but never used.
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L74
src/components/resume/shared/get-section-component.tsx:74:32: Parameter '_' is declared but never used.
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L69
src/components/resume/shared/get-section-component.tsx:69:31: Parameter '_' is declared but never used.
react(static-components): src/components/resume/preview.tsx#L163
src/components/resume/preview.tsx:163:10: Cannot create components during render
react(incompatible-library): src/routes/builder/$resumeId/-sidebar/right/sections/design.tsx#L236
src/routes/builder/$resumeId/-sidebar/right/sections/design.tsx:236:19: Use of incompatible library
react(set-state-in-effect): src/hooks/use-controlled-state.tsx#L20
src/hooks/use-controlled-state.tsx:20:30: Calling setState synchronously within an effect can trigger cascading renders
react(incompatible-library): src/routes/builder/$resumeId/-sidebar/right/sections/typography.tsx#L38
src/routes/builder/$resumeId/-sidebar/right/sections/typography.tsx:38:26: Use of incompatible library
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L110
src/components/resume/shared/get-section-component.tsx:110:30: Parameter '_' is declared but never used.
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L101
src/components/resume/shared/get-section-component.tsx:101:32: Parameter '_' is declared but never used.
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L92
src/components/resume/shared/get-section-component.tsx:92:33: Parameter '_' is declared but never used.
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L83
src/components/resume/shared/get-section-component.tsx:83:34: Parameter '_' is declared but never used.
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L74
src/components/resume/shared/get-section-component.tsx:74:32: Parameter '_' is declared but never used.
eslint(no-unused-vars): src/components/resume/shared/get-section-component.tsx#L69
src/components/resume/shared/get-section-component.tsx:69:31: Parameter '_' is declared but never used.
react(static-components): src/components/resume/preview.tsx#L163
src/components/resume/preview.tsx:163:10: Cannot create components during render
react(incompatible-library): src/routes/builder/$resumeId/-sidebar/right/sections/design.tsx#L236
src/routes/builder/$resumeId/-sidebar/right/sections/design.tsx:236:19: Use of incompatible library
react(set-state-in-effect): src/hooks/use-controlled-state.tsx#L20
src/hooks/use-controlled-state.tsx:20:30: Calling setState synchronously within an effect can trigger cascading renders
react(incompatible-library): src/routes/builder/$resumeId/-sidebar/right/sections/typography.tsx#L38
src/routes/builder/$resumeId/-sidebar/right/sections/typography.tsx:38:26: Use of incompatible library
eslint(no-underscore-dangle): app/utils/colors.ts#L76
app/utils/colors.ts:76:7: Unexpected dangling '_' in '`m_`'.
eslint(no-underscore-dangle): app/utils/colors.ts#L75
app/utils/colors.ts:75:7: Unexpected dangling '_' in '`l_`'.
eslint(no-underscore-dangle): server/api/registry/timeline/[...pkg].get.ts#L79
server/api/registry/timeline/[...pkg].get.ts:79:42: Unexpected dangling '_' in '`_npmUser`'.
unicorn(prefer-add-event-listener): app/utils/svg.ts#L27
app/utils/svg.ts:27:9: Prefer `addEventListener()` over their `on`-function counterparts.
unicorn(prefer-add-event-listener): app/utils/svg.ts#L25
app/utils/svg.ts:25:9: Prefer `addEventListener()` over their `on`-function counterparts.
oxc(no-map-spread): shared/utils/download-chart-last-label.ts#L99
shared/utils/download-chart-last-label.ts:99:41: Spreading to modify object properties in `map` calls is inefficient
eslint(no-underscore-dangle): server/utils/docs/client.ts#L107
server/utils/docs/client.ts:107:39: Unexpected dangling '_' in '`_data`'.
eslint(no-underscore-dangle): server/utils/github.ts#L32
server/utils/github.ts:32:26: Unexpected dangling '_' in '`_data`'.
eslint(no-underscore-dangle): app/utils/charts.ts#L222
app/utils/charts.ts:222:7: Unexpected dangling '_' in '`_sum`'.
eslint(no-underscore-dangle): app/plugins/payload-cache.server.ts#L45
app/plugins/payload-cache.server.ts:45:25: Unexpected dangling '_' in '`_cachedPayloadResponse`'.

Artifacts

Produced during runtime
Name Size Digest
rolldown-binaries
7.8 MB
sha256:3112b7fbcdda3ce16c6ea4b87190e1a27feec1e5f63055369cd788b68efef1eb
vite-plus-packages-namespace-profile-windows-4c-8g Expired
31.6 MB
sha256:7930f6f7d189ce067ca1af18a25c73bdf25b57de57c9d4de5f1815ffd0b18e69
vite-plus-packages-ubuntu-latest Expired
26.5 MB
sha256:d90bbc216e5d1c2cde1cdb89c694ca2af89e5f919e43caaafb7062c9fd22a1b1
windows-cli-binaries Expired
16.6 MB
sha256:f2889e6fcc3623b634cd101e10376921fdded0728bbab4300049e74958312c8c