@Andy Wingo <wi...@pobox.com> It's my mistake to call an incompatible constructor after I updated the interfaces. I think Guile-3 made more strict checking because this mistake wasn't caught before 2.9.
Now folks may use docker to try Artanis on Guile-3 docker pull registry.gitlab.com/nalaginrut/artanis:latest Best regards. On Sun, Jan 19, 2020 at 3:43 AM Nala Ginrut <nalagin...@gmail.com> wrote: > Just a report, the same compiling error existing in Guile-3.0.0. > > Best regards. > > > On Tue, Jan 14, 2020 at 4:49 PM Nala Ginrut <nalagin...@gmail.com> wrote: > >> Hi Wingo! >> Here're update: >> 1. 2.9.9 didn't fix this issue >> >> 2. I imported r6rs record-type in (artanis utils), and this module was >> imported in almost every artanis modules. >> I do use r6rs specific record API to introspect the internal things for >> debugging in Artanis. >> And I imported r6rs define-record-type in server-context.scm >> I guess there're some name conflicting. >> >> >> >> On Sat, Jan 11, 2020 at 6:33 PM Andy Wingo <wi...@pobox.com> wrote: >> >>> On Wed 08 Jan 2020 15:22, Nala Ginrut <nalagin...@gmail.com> writes: >>> >>> > In unknown file: >>> > 4 (primitive-load-path "artanis/server/server-context" #<…>) >>> > In ice-9/eval.scm: >>> > 626:19 3 (_ #<directory (artanis server server-context) 5624d6b3…>) >>> > 155:9 2 (_ #<directory (artanis server server-context) 5624d6b3…>) >>> > In ice-9/boot-9.scm: >>> > 1153:19 1 (_ _ _ _ _ _ _) >>> > 1655:16 0 (raise-exception _ #:continuable? _) >>> > >>> > ice-9/boot-9.scm:1655:16: In procedure raise-exception: >>> > Wrong number of arguments to #<procedure 5624d66ee4a0 at >>> ice-9/boot-9.scm:1153:19 (a b c d e f)> >>> > >>> -------------------------------------------------------------------------------------------------------------------- >>> > >>> > Any hint that I can figure out whait's incompatible? >>> >>> Gosh we need to improve this info. Anyway the procedure at >>> boot-9.scm:1153:19 is a record constructor, for a record with 6 fields. >>> Apparently somewhere in (artanis server server-context) is calling it >>> with the wrong number of arguments. What do you use for records? Do >>> you have your own abstraction or do you use R6RS records or something? >>> Perhaps something in artanis relied on the way that R6RS records used to >>> implement single inheritance, as a chain of objects instead of a flat >>> record. Or perhaps the adaptations to R6RS records in Guile introduced >>> a bug. I am interested to know the answer :) >>> >>> Andy >>> >>