Workflow
failed
attempts 1
checked 3 months ago
error slither failed (exit 1): 'forge clean' running (wd: /tmp/slither-g9hzf6cg)
'forge config --json' running
'forge build --build-info --skip ./test/** ./script/** --force' running (wd: /tmp/slither-g9hzf6cg)
'forge' returned non-zero exit code 1
[2m2026-01-11T09:01:38.538664Z[0m [31mERROR[0m [2mfoundry_compilers_artifacts_solc::sources[0m[2m:[0m [3merror[0m[2m=[0m"/tmp/slither-g9hzf6cg/lib/openzeppelin-contracts/utils/math/Math.sol": No such file or directory (os error 2)
stdout: [2m2026-01-11T09:01:38.538690Z[0m [31mERROR[0m [2mfoundry_compilers_artifacts_solc::sources[0m[2m:[0m [3merror[0m[2m=[0m"/tmp/slither-g9hzf6cg/lib/openzeppelin-contracts/utils/math/SafeCast.sol": No such file or directory (os error 2)
stdout: [2m2026-01-11T09:01:38.538704Z[0m [31mERROR[0m [2mfoundry_compilers_artifacts_solc::sources[0m[2m:[0m [3merror[0m[2m=[0m"/tmp/slither-g9hzf6cg/lib/solmate/tokens/ERC20.sol": No such file or directory (os error 2)
stdout: [2m2026-01-11T09:01:38.538716Z[0m [31mERROR[0m [2mfoundry_compilers_artifacts_solc::sources[0m[2m:[0m [3merror[0m[2m=[0m"/tmp/slither-g9hzf6cg/lib/solmate/utils/SafeTransferLib.sol": No such file or directory (os error 2)
stdout: [2m2026-01-11T09:01:38.538732Z[0m [31mERROR[0m [2mfoundry_compilers_artifacts_solc::sources[0m[2m:[0m [3merror[0m[2m=[0m"/tmp/slither-g9hzf6cg/lib/solmate/utils/ReentrancyGuard.sol": No such file or directory (os error 2)
stdout: [2m2026-01-11T09:01:38.538754Z[0m [31mERROR[0m [2mfoundry_compilers_artifacts_solc::sources[0m[2m:[0m [3merror[0m[2m=[0m"/tmp/slither-g9hzf6cg/lib/solmate/tokens/ERC20.sol": No such file or directory (os error 2)
stdout: [2m2026-01-11T09:01:38.538769Z[0m [31mERROR[0m [2mfoundry_compilers_artifacts_solc::sources[0m[2m:[0m [3merror[0m[2m=[0m"/tmp/slither-g9hzf6cg/lib/openzeppelin-contracts/utils/cryptography/EIP712.sol": No such file or directory (os error 2)
stdout: Unable to resolve imports:
stdout: "solmate/utils/ReentrancyGuard.sol" in "/tmp/slither-g9hzf6cg/src/FeeDistributor.sol"
stdout: "solmate/tokens/ERC20.sol" in "/tmp/slither-g9hzf6cg/src/interfaces/IFeeDistributor.sol"
stdout: "openzeppelin-contracts/utils/cryptography/EIP712.sol" in "/tmp/slither-g9hzf6cg/src/lib/EOASignaturesValidator.sol"
stdout: "solmate/tokens/ERC20.sol" in "/tmp/slither-g9hzf6cg/src/FeeDistributor.sol"
stdout: "openzeppelin-contracts/utils/math/Math.sol" in "/tmp/slither-g9hzf6cg/src/FeeDistributor.sol"
stdout: "openzeppelin-contracts/utils/math/SafeCast.sol" in "/tmp/slither-g9hzf6cg/src/FeeDistributor.sol"
stdout: "solmate/utils/SafeTransferLib.sol" in "/tmp/slither-g9hzf6cg/src/FeeDistributor.sol"
stdout: with remappings:
stdout: create3-factory/=/tmp/slither-g9hzf6cg/lib/create3-factory/src/
stdout: ds-test/=/tmp/slither-g9hzf6cg/lib/forge-std/lib/ds-test/src/
stdout: forge-std/=/tmp/slither-g9hzf6cg/lib/forge-std/src/
stdout: openzeppelin-contracts/=/tmp/slither-g9hzf6cg/lib/openzeppelin-contracts/
stdout: solmate/=/tmp/slither-g9hzf6cg/lib/solmate/
stdout: Compiling 7 files with Solc 0.8.0
stdout: Solc 0.8.0 finished in 23.93ms
Error: Compiler run failed:
stderr: Error (2314): Expected ';' but got '('
stderr: --> src/FeeDistributor.sol:48:46:
stderr: |
stderr: 48 | error FeeDistributor__InputLengthMismatch();
stderr: | ^
stderr:
stderr: Error (6275): Source "lib/solmate/tokens/ERC20.sol" not found: File not found.
stderr: --> src/interfaces/IFeeDistributor.sol:17:1:
stderr: |
stderr: 17 | import {ERC20} from "solmate/tokens/ERC20.sol";
stderr: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
stderr:
stderr: Error (2314): Expected ';' but got '('
stderr: --> src/lib/EOASignaturesValidator.sol:25:51:
stderr: |
stderr: 25 | error EOASignaturesValidator__ExpiredSignature();
stderr: | ^
stderr:
stderr: Error (2314): Expected ';' but got '('
stderr: --> src/lib/OptionalOnlyCaller.sol:21:47:
stderr: |
stderr: 21 | error OptionalOnlyCaller__SenderNotAllowed();
stderr: | ^
Traceback (most recent call last):
File "/var/www/tripwire/.venv/bin/slither", line 10, in <module>
sys.exit(main())
~~~~^^
File "/var/www/tripwire/.venv/lib/python3.13/site-packages/slither/__main__.py", line 776, in main
main_impl(all_detector_classes=detectors, all_printer_classes=printers)
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/tripwire/.venv/lib/python3.13/site-packages/slither/__main__.py", line 882, in main_impl
) = process_all(filename, args, detector_classes, printer_classes)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/www/tripwire/.venv/lib/python3.13/site-packages/slither/__main__.py", line 96, in process_all
compilations = compile_all(target, **vars(args))
File "/var/www/tripwire/.venv/lib/python3.13/site-packages/crytic_compile/crytic_compile.py", line 722, in compile_all
compilations.append(CryticCompile(target, **kwargs))
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/var/www/tripwire/.venv/lib/python3.13/site-packages/crytic_compile/crytic_compile.py", line 211, in __init__
self._compile(**kwargs)
~~~~~~~~~~~~~^^^^^^^^^^
File "/var/www/tripwire/.venv/lib/python3.13/site-packages/crytic_compile/crytic_compile.py", line 633, in _compile
self._platform.compile(self, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/var/www/tripwire/.venv/lib/python3.13/site-packages/crytic_compile/platform/foundry.py", line 102, in compile
hardhat_like_parsing(
~~~~~~~~~~~~~~~~~~~~^
crytic_compile, str(self._target), build_directory, str(self._project_root)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/var/www/tripwire/.venv/lib/python3.13/site-packages/crytic_compile/platform/hardhat.py", line 52, in hardhat_like_parsing
raise InvalidCompilation(txt)
crytic_compile.platform.exceptions.InvalidCompilation: Compilation failed. Can you run build command?
/tmp/slither-g9hzf6cg/out/build-info is not a directory.