Closed jondegenhardt closed 4 years ago
Update: Looks like I'm using io.File
, not std.stdio.File
like I originally stated. Apologies for that. It's a little confusing in my code where File
is coming from, and sometimes it comes from Phobos, sometimes from io
.
I've corrected it in the original message.
Also, I'm not wrapping it in RefCounted
, as shown in at least some of the iopipe
examples. That may be the underlying issue. I'll try changing this later.
OK, thanks. One of the problems of adding @safe
support to a library is you have to temporarily mark things @safe
to see why it's inferred system. I probably forgot to remove one.
updated, try 0.2.1.
That fixed it, all my CI suite passes now. Thanks!
Hi Steve,
I ran my dcat-perf build and got a failure. Essentially, an iopipe @safe function trying to call an @system function.
I don't have time to debug this right now and figure out if it is something I need to change in my code or if it's a problem in iopipe. However, a quick look suggests it may be an @safe iopipe function invoking an @system iopipe funtion, or it could be related to the underlying input source my code provide (io.File). Haven't had time to figure this out yet.
The key error message:
The function where it occurs is at: dcat-perf app.d line 294. The line where the failure occurs:
where
inputStream
is an open file created byio.File
.The build log