Previous code built in NCS 2.91 cannot be built in NCS 3.01

Hi

I have a code previously can be built in NCS 2.91:

However, when I use the new NCS 3.01, it can not be built, the error is:

Could you please help me figure out the problems?

Related