Skip to content

Support package exports #1810

Support package exports

Support package exports #1810

Triggered via pull request January 9, 2025 14:25
Status Failure
Total duration 7m 1s
Artifacts 1

v-next-ci.yml

on: pull_request
is-v-next
3s
is-v-next
List packages
9s
List packages
Check dependency versions
8s
Check dependency versions
Check that the npm scripts are consistent
4s
Check that the npm scripts are consistent
Matrix: bundle
Matrix: ci
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 38 warnings
resolves a file that uses a single export: v-next\hardhat\src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts#L1280
HardhatError: HHE1203: The import "exports/SingleExport.sol from "contracts\File.sol" exists, but its casing is incorrect. The correct casing is "contracts2/SingleExport.sol". at ResolverImplementation.#validateExistanceAndCasingOfImport (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1280:13) at async ResolverImplementation.#resolveImportToNpmPackage (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1033:5) at async AsyncMutex.exclusiveRun (src\internal\core\async-mutex.ts:25:14) at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1016:32)
resolves a file that uses wildcard export: v-next\hardhat\src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts#L1280
HardhatError: HHE1203: The import "exports/Exported.sol from "contracts\File.sol" exists, but its casing is incorrect. The correct casing is "contracts/Exported.sol". at ResolverImplementation.#validateExistanceAndCasingOfImport (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1280:13) at async ResolverImplementation.#resolveImportToNpmPackage (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1033:5) at async AsyncMutex.exclusiveRun (src\internal\core\async-mutex.ts:25:14) at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1040:32)
resolves exported file when remapping part of the path: v-next\hardhat\src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts#L1280
HardhatError: HHE1203: The import "remapped_pkg/SingleExport.sol from "contracts\File.sol" exists, but its casing is incorrect. The correct casing is "contracts2/SingleExport.sol". at ResolverImplementation.#validateExistanceAndCasingOfImport (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1280:13) at async ResolverImplementation.#resolveImportToNpmPackageRemappedByUser (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:863:5) at async AsyncMutex.exclusiveRun (src\internal\core\async-mutex.ts:25:14) at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1091:32)
resolves the exported file when remapping the whole path: v-next\hardhat\src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts#L1280
HardhatError: HHE1203: The import "remapped_file from "contracts\File.sol" exists, but its casing is incorrect. The correct casing is "contracts2/SingleExport.sol". at ResolverImplementation.#validateExistanceAndCasingOfImport (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1280:13) at async ResolverImplementation.#resolveImportToNpmPackageRemappedByUser (src\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:863:5) at async AsyncMutex.exclusiveRun (src\internal\core\async-mutex.ts:25:14) at async TestContext.<anonymous> (test\internal\builtin-plugins\solidity\build-system\resolver\dependency-resolver.ts:1120:32)
[hardhat] ci on windows-latest (Node 22)
Process completed with exit code 1.
ci
Process completed with exit code 1.
is-v-next
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check that the npm scripts are consistent
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check dependency versions
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
List packages
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-node-test-reporter] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-errors] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-utils] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[template-package] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-zod-utils] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-zod-utils] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-test-utils] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-keystore] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-test-utils] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-mocha-test-runner] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-errors] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-node-test-runner] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-network-helpers] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-node-test-reporter] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-ethers] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-utils] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-chai-matchers] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-keystore] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-viem] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat] bundle
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[example-project] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-network-helpers] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-chai-matchers] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-viem] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
bundle
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-ethers] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[example-project] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[template-package] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-node-test-runner] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat-mocha-test-runner] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat] lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
[hardhat] ci on ubuntu-latest (Node 22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
hardhat
65.2 MB