Artifact issue while containerising application on Google cloud build

Hi, I have been facing Julia artifacts error while trying to deploy a Julia application on google cloud build. The application works fine normally and even after dockerizing locally. But for some reason on GCP, it fails with Libiconv_jll artifact missing error.

Error from google cloud build logs:

Container Sandbox: Unsupported syscall UNKNOWN[1008/0x3f0](0x0,0x0,0x0,0x0,0x0,0x0). It is very likely that you can safely ignore this message and that this is not the cause of any error you might be troubleshooting. Please, refer to https://gvisor.dev/docs/user_guide/compatibility/linux/amd64/#UNKNOWN[1008/0x3f0] for more information.
fatal: error thrown and no exception handler available.
InitError(mod=:Libiconv_jll, error=ErrorException("Artifact "Libiconv" was not installed correctly. Try `using Pkg; Pkg.instantiate()` to re-install all missing resources."))
error at ./error.jl:33
_artifact_str at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Artifacts/src/Artifacts.jl:551
jfptr__artifact_str_70358 at /home/AiSaraAI.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2237 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2419
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
jl_f__call_latest at /buildworker/worker/package_linux64/build/src/builtins.c:714
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2237 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2419
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
do_apply at /buildworker/worker/package_linux64/build/src/builtins.c:670
#invokelatest#2 at ./essentials.jl:708
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2237 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2419
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
do_apply at /buildworker/worker/package_linux64/build/src/builtins.c:670
invokelatest at ./essentials.jl:706
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2237 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2419
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1703 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:115
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:204
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:155 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:562
jl_fptr_interpret_call at /buildworker/worker/package_linux64/build/src/interpreter.c:650
macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Artifacts/src/Artifacts.jl:680 [inlined]
find_artifact_dir at /root/.julia/packages/JLLWrappers/QpMQW/src/wrapper_generators.jl:17

So far I have tried following options:

  1. Pkg.instantiate()
  2. adding Manifest.toml so the same dependencies are rebuilt
  3. Supplying Artifacts.toml for Libiconv
  4. Pkg.build() and Pkg.resolve()
    But none seems to be working.
    Any idea how can i resolve the issue? Would appreciate all the suggestions.

This is the artifact (Libiconv) debug information from google cloud build.

[ Info: Platform: Linux x86_64 {cxxstring_abi=cxx11, julia_version=1.6.5, libc=glibc, libgfortran_version=4.0.0, libstdcxx_version=3.4.29}
Julia Version 1.6.5
Commit 9058264a69 (2021-12-19 12:30 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, broadwell)
Environment:
  JULIA_GPG = 3673DF529D9049477F76B37566E3C7DC03D6E495
  JULIA_PATH = /usr/local/julia
  JULIA_PROJECT = @.
  JULIA_VERSION = 1.6.5

[ Info: Downloading Artifacts.toml to /tmp/jl_RGSs6I/Artifacts.toml...
[ Info: Extracting artifact info for platform x86_64-linux-gnu-libgfortran4-cxx11-libstdcxx29-julia_version+1.6.5...
[ Info: Found meta object with git-tree-sha1 473dc2ed3d46252c87733b7fdca3da64c6f9f917, attempting download...
[ Info: No hash cache found
[ Info: Calculated hash 518b0c2f04ba6057dc5ed63f4dc23e4abac49840b6b5470ce8cf1ad8412c6227 for file /tmp/jl_kQPl6I-download.gz
[ Info: Unpacking /tmp/jl_kQPl6I-download.gz into /tmp/jl_RGSs6I/unpacked...
[ Info: Double-checking git-tree-sha (this is skipped on Windows)

The GCP is providing Intel x86 CPU, the application should not have any issue but for some reason running the application still fails.
So the build stage seems to be working but, when I run the application in google cloud run as a service, it fails to start because of the error.
CONFUSED !