Hi, Mathieu Othacehe skribis: >> In cuirass/utils.scm: >> 320:22 1 (_) >> In unknown file: >> 0 (make-stack #t) >> ERROR: In procedure make-stack: >> In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f > > I think this error is caused by setting: > > ;; STORE's socket is O_NONBLOCK but since we're > ;; not in a fiber, disable Fiber's handlers. > (current-read-waiter #f) > (current-write-waiter #f) > > > where it should be: > > ;; STORE's socket is O_NONBLOCK but since we're > ;; not in a fiber, disable Fiber's handlers. > (current-read-waiter > (lambda (port) > (port-poll port "r"))) > (current-write-waiter > (lambda (port) > (port-poll port "w"))) Ooh, good catch. > then this should also be done in "fetch-inputs" that is using non > blocking ports outside of Fibers. > > However, I still have the following error: > > In ice-9/boot-9.scm: > 1731:15 17 (with-exception-handler # …) > 1736:10 16 (with-exception-handler _ _ #:unwind? _ # _) > In ice-9/eval.scm: > 619:8 15 (_ #(#(#(#(#)) …) …)) > In unknown file: > 14 (_ # …) > 13 (partition # …) > In guix/store.scm: > 1008:0 12 (valid-path? # "/…") > 2020-11-19T11:47:23 Failed to compute metric average-eval-build-start-time (1). > 717:11 11 (process-stderr # _) > In guix/serialization.scm: > 76:12 10 (read-int #) > In ice-9/suspendable-ports.scm: > 307:17 9 (get-bytevector-n # 8) > 2020-11-19T11:47:23 Failed to compute metric average-eval-build-complete-time (1). > 2020-11-19T11:47:23 Failed to compute metric evaluation-completion-speed (1). > 284:18 8 (get-bytevector-n! # #vu8(0 …) …) > 67:33 7 (read-bytes # #vu8(0 0 0 0 0 …) …) > In fibers/internal.scm: > 402:6 6 (suspend-current-fiber _) > In ice-9/boot-9.scm: > 1669:16 5 (raise-exception _ #:continuable? _) > 1764:13 4 (_ #<&compound-exception components: (#<&error> #<&orig…>) > In cuirass/utils.scm: > 319:8 3 (_ _ . _) > In ice-9/boot-9.scm: > 1731:15 2 (with-exception-handler # …) > In cuirass/utils.scm: > 320:22 1 (_) > In unknown file: > 0 (make-stack #t) > ERROR: In procedure make-stack: > Attempt to suspend fiber within continuation barrier > > that originates from "valid-path?" in "restart-builds", not sure how to > fix it yet. I think that’s because of the ‘partition’ call: ‘partition’ is currently implemented in C and the stack cannot be captured if it contains C calls in the middle. The simplest fix is probably to have a Scheme implementation: