the error message indicates that some of the required hints used by bootloaders are missing. the hints in question are:
%builtins output pedersen range_check ecdsa bitwise ec_op keccak poseidon
you need to have the necessary declarations for these builtins in your code. relevant modules or files importing or defining these builtins must be included or properly referenced in your script.
from starkware.cairo.common.cairo_builtins import (
output, pedersen, range_check, ecdsa, bitwise, ec_op, keccak, poseidon
)