Can't install application through AUR

I can’t install anything like vscodium or brave through AUR after updating gnome 40…
Pamac keeps saying its building apps! I even waited for 4 hours and still nothing happened. I also cleared cache but nothing happened!!

System:
  Kernel: 5.13.5-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
  root=UUID=6398d47f-9edc-4575-962f-fb82ed82767e ro quiet udev.log_priority=3 
  Console: tty pts/0 wm: gnome-shell DM: GDM 40.1 Distro: Manjaro Linux 
  base: Arch Linux 
Machine:
  Type: Portable System: Dell product: Inspiron N4050 v: N/A serial: N/A 
  Chassis: type: 8 serial: N/A 
  Mobo: Dell model: 0X0DC1 v: A09 serial: <filter> BIOS: Dell v: A09 
  date: 11/02/2012 
Memory:
  RAM: total: 3.75 GiB used: 3.03 GiB (80.8%) 
  Array-1: capacity: 16 GiB slots: 2 EC: None max-module-size: 8 GiB 
  note: est. 
  Device-1: DIMM_A size: 2 GiB speed: 1067 MT/s type: DDR3 detail: synchronous 
  bus-width: 64 bits total: 64 bits manufacturer: Samsung 
  part-no: M471B5773CHS-CF8 serial: <filter> 
  Device-2: DIMM_B size: 2 GiB speed: 1067 MT/s type: DDR3 detail: synchronous 
  bus-width: 64 bits total: 64 bits manufacturer: SK-Hynix 
  part-no: HMT425S6AFR6A-PB serial: <filter> 
CPU:
  Info: Dual Core model: Intel Core i3-2310M bits: 64 type: MT MCP 
  arch: Sandy Bridge family: 6 model-id: 2A (42) stepping: 7 microcode: 2F 
  cache: L1: 64 KiB L2: 3 MiB L3: 3 MiB bogomips: 16768 
  Speed: 798 MHz min/max: 800/2100 MHz base/boost: 2100/2100 volts: 1.1 V 
  ext-clock: 100 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798 
  Flags: acpi aperfmperf apic arat arch_perfmon avx bts clflush cmov 
  constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept est 
  flexpriority flush_l1d fpu fxsr ht ibpb ibrs lahf_lm lm mca mce md_clear mmx 
  monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pebs 
  pge pln pni popcnt pse pse36 pti pts rdtscp rep_good sep ssbd sse sse2 
  sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_deadline_timer 
  vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0116 
  class-ID: 0300 
  Device-2: Realtek Integrated Webcam type: USB driver: uvcvideo 
  bus-ID: 1-1.5:4 chip-ID: 0bda:58c1 class-ID: 0e02 serial: <filter> 
  Display: server: X.org 1.20.11 compositor: gnome-shell driver: loaded: i915 
  note: n/a (using device driver) unloaded: modesetting failed: intel 
  alternate: fbdev,vesa resolution: <missing: xdpyinfo> 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) 
  v: 3.3 Mesa 21.1.5 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 
  chip-ID: 8086:1c20 class-ID: 0403 
  Sound Server-1: ALSA v: k5.13.5-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.32 running: yes 
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell 
  driver: r8169 v: kernel port: e000 bus-ID: 05:00.0 chip-ID: 10ec:8136 
  class-ID: 0200 
  IF: enp5s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Broadcom BCM4313 802.11bgn Wireless Network Adapter 
  vendor: Hewlett-Packard driver: wl v: kernel modules: bcma port: e000 
  bus-ID: 09:00.0 chip-ID: 14e4:4727 class-ID: 0280 
  IF: wlp9s0 state: down mac: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Message: No bluetooth data found. 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 480.6 GiB used: 55.18 GiB (11.5%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABD050 
  size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s 
  type: HDD rpm: 5400 serial: <filter> rev: 1A scheme: GPT 
  ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Generic model: Multi-Card 
  size: 14.84 GiB block-size: physical: 512 B logical: 512 B type: N/A 
  serial: <filter> rev: 1.00 scheme: MBR 
  Optical-1: /dev/sr0 vendor: MATSHITA model: DVD+-RW UJ8B1 rev: D.05 
  dev-links: cdrom 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw-size: 20.01 GiB size: 19.58 GiB (97.80%) used: 15.1 GiB (77.1%) 
  fs: ext4 block-size: 4096 B dev: /dev/sda2 maj-min: 8:2 label: N/A 
  uuid: 6398d47f-9edc-4575-962f-fb82ed82767e 
  ID-2: /home raw-size: 45.53 GiB size: 44.56 GiB (97.88%) 
  used: 39.74 GiB (89.2%) fs: ext4 block-size: 4096 B dev: /dev/sda3 
  maj-min: 8:3 label: N/A uuid: 99c8f070-2e2a-4d26-95e9-1b6dafe3c091 
  ID-3: /run/media/solus/6EE1-B0D8 raw-size: 14.84 GiB 
  size: 14.82 GiB (99.90%) used: 361 MiB (2.4%) fs: vfat block-size: 512 B 
  dev: /dev/sdb1 maj-min: 8:17 label: N/A uuid: 6EE1-B0D8 
Swap:
  Kernel: swappiness: 10 (default 60) cache-pressure: 100 (default) 
  ID-1: swap-1 type: file size: 4 GiB used: 29.3 MiB (0.7%) priority: -2 
  file: /swapfile 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 8 MiB fs: N/A label: N/A uuid: N/A 
  ID-2: /dev/sda5 maj-min: 8:5 size: 93.13 GiB fs: ext4 label: Rakin 
  uuid: 991d4bc0-8150-4947-b570-667f5dbe2eb9 
  ID-3: /dev/sda6 maj-min: 8:6 size: 93.13 GiB fs: ext4 label: Entertainment 
  uuid: 2a4331b1-4da5-4503-a171-bb916cf52ebb 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Device-1: 1-1.2:3 info: Xiaomi Mi Wireless Combo type: Keyboard,Mouse 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s 
  power: 100mA chip-ID: 2717:5010 class-ID: 0301 
  Device-2: 1-1.5:4 info: Realtek Integrated Webcam type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 0bda:58c1 class-ID: 0e02 serial: <filter> 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Device-1: 2-1.2:3 info: China Resource Semico Usb Mouse type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s 
  power: 98mA chip-ID: 1a2c:0042 class-ID: 0301 
  Device-2: 2-1.6:4 info: Realtek RTS5138 Card Reader Controller 
  type: Mass Storage driver: ums-realtek interfaces: 1 rev: 2.0 
  speed: 480 Mb/s power: 500mA chip-ID: 0bda:0138 class-ID: 0806 
  serial: <filter> 
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 2968 
Info:
  Processes: 247 Uptime: 3h 4m wakeups: 1 Init: systemd v: 248 tool: systemctl 
  Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1212 lib: 388 
  flatpak: 0 Shell: Zsh (sudo) v: 5.8 default: Bash v: 5.1.8 
  running-in: gnome-terminal inxi: 3.3.06 

Hello!
I have installed VSCodium from AUR using trizen. Here is what I did:

sudo pacman -S trizen
trizen -S vscodium-bin
trizen -S vscodium-features
trizen -S vscodium-marketplace

I have added the features and marketplace packages because without them VSCodium marketplace won’t work.
Hope this helps!

Well, compiling an IDE or a web browser from source usually takes a lot of time.
Have you tried installing the pre-compiled packages instead (vscodium-bin and brave-bin)?

Please read this:

Especially this bit:

:sob: