W6 2095 then FR 4545 at Barcelona
Krakow → Barcelona → Porto
Timetable, Barcelona time
18:20W6 2095 from Krakow at the gate
17:15FR 4545 to Porto leaves the gate
22 h 55 apart on the timetable, overnight
FR 4545 leaves 22 h 55 after W6 2095 arrives on the timetable: more than half a day, so not a connection we count.