W6 1913 then FR 3035 at Barcelona
Vilnius → Barcelona → Krakow
Timetable, Barcelona time
19:20W6 1913 from Vilnius at the gate
17:30FR 3035 to Krakow leaves the gate
22 h 10 apart on the timetable, overnight
FR 3035 leaves 22 h 10 after W6 1913 arrives on the timetable: more than half a day, so not a connection we count.