G3IUM7VLQ4B3N3432X6EMKUJO6NYMXSS5AAYJ6CX4GLXCYXSUWDQC
FM4O2L4MNPCHWRDRHKGKSH5TFFX6R2RMCPEQ3XCECA6UVLJPLUVQC
ZI535LI6PJMKSOBJE33B3RRZ5S2JVTR3XPUDTSXJW6BZNTAHS3GQC
IK53RV4VGOHLCZGQCCIKPB45M3C7M7YMNBOJFBGZJ4LWIZNU4QNQC
D7NXMCONBBKA5GLRTUGI3XOTEK3TXHN26UQT4Z5CBIG7CILIQSEAC
K3EAQY3XGC7FBENSSILPXZEKBDTZEOKCBJKZJRX3GABBGZIJIJ3AC
7YBYT2LQML2PKEO6UO4444AGSASS664UCDXW2YO3ALB7THQHCEBQC
G5A7TZVIRTVTI7P5SESOC567QEYSM4SKBZJNYHBXNCTUV53WSZIAC
CLJQCY2XHIDNNMFBJ5PK3GQEN6RFALEFKXBJRWZPEIKR4PR5ZQ5AC
BD3GRK4BQUGRQGTAILUITIH3RRSVUH6AKINVMMKYLBAAHAAUSB4AC
$step->update({busy => 0, status => 0, stoptime => time});
my $stepOutpath = $step->outpath;
my $stepStatus = 0;
# when $out/nix-support/failed exists, build actually failed, exit code is in the file, status code for such builds is 6
$stepStatus = 6 if -f "$stepOutpath/nix-support/failed";
$thisBuildFailed = 1 if ($drvPath eq $drvPathStep && $stepStatus == 6);
$step->update({busy => 0, status => $stepStatus, stoptime => time});