AS5PAYLIRJWB4JGU6N7WKILONGDIGCKNKS4ZSLRYCNGMUAP3AQSAC });}elsif (/^@\s+substituter-started\s+(\S+)\s+(\S+)$/) {my $outPath = $1;$db->txn_do(sub {$db->resultset('Buildsteps')->create({ id => $build->id, stepnr => $buildStepNr++, type => 1 # = substitution, outpath => $1, busy => 1, starttime => time});});}elsif (/^@\s+substituter-succeeded\s+(\S+)$/) {my $outPath = $1;$db->txn_do(sub {(my $step) = $db->resultset('Buildsteps')->search({id => $build->id, type => 1, outpath => $outPath}, {});die unless $step;$step->busy(0);$step->status(0);$step->stoptime(time);$step->update;
elsif (/^@\s+substituter-failed\s+(\S+)\s+(\S+)\s+(\S+)$/) {my $outPath = $1;$db->txn_do(sub {(my $step) = $db->resultset('Buildsteps')->search({id => $build->id, type => 1, outpath => $outPath}, {});die unless $step;$step->busy(0);$step->status(1);$step->errormsg($3);$step->stoptime(time);$step->update;});}else {print STDERR "unknown Nix trace message: $_";}