If user of container is not root (user 0) this error message is shown:
Failed to find [rustfmt] in system!
I'm seeing this error, because my k8s distro (openshift) won't allow to run containers with root, it will start them with some random user > 1000, which only belongs to group root.
Failed to find [rustfmt] in system!
There's someone looking for trash.
To reproduce locally, with user '1000':
docker run -i -t --entrypoint=/action/lib/linter.sh -e RUN_LOCAL=true -u 1000 -v ${PWD}:/tmp/lint github/super-linter
2021-03-10 08:58:26 [FATAL] Failed to find [rustfmt] in system!
However running with root works:
docker run -i -t --entrypoint=/action/lib/linter.sh -e RUN_LOCAL=true -u 0 -v ${PWD}:/tmp/lint github/super-linter
--------------------------------------------------------------------------------
/@@#///////@@/(@//@%/(@.@( @@
@@//////////////////////////////#* @@@
@////@//(///////////@@@@@///@//@/@**//@@(
@///////@///////////////@@@@ ( @,
@/(&/@//////////////////// @
@////////////////////////@@ @
@%////////(//////////%/////&@ @@ *,@ ______________
@@@@@/@/#/////(&////////////////// .@ / \
*@@@@@. .%///(//@//////////////////&. .@@, @% / Don't mind me \
@@% .&@&&/@.@//&/////(////////// @@@@@@@@@ .. &@ / I'm just looking \
@@% @@@@@ @&/////////////////# @/ V @@/ ,@@@ @ < for some trash... |
@@@% @@@@ .%@@@@//////#@ @ @@ @ .,. \__________________/
@@@/@( (@@@@% @/\ %
@@@@( . .@@/\ #
@ %@%
--------------------------------------------------------------------------------
see above
might be related to #1153

i got the same problem... why is this ticket closed?