panic: interface conversion: *kernel.Kernel is not unimpl.Events: missing method EmitUnimplementedEvent goroutine 2327 [running]: panic({0x122e8a0, 0xc000d953e0}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc0009836a0 sp=0xc0009835e0 pc=0x436afb runtime.getitab(0x1235dc0, 0x13c17c0, 0x0) GOROOT/src/runtime/iface.go:92 +0x1e5 fp=0xc0009836e8 sp=0xc0009836a0 pc=0x40aae5 runtime.assertE2I(0x9aba99?, 0x11b6220?) GOROOT/src/runtime/iface.go:453 +0x25 fp=0xc000983710 sp=0xc0009836e8 pc=0x40bac5 gvisor.dev/gvisor/pkg/sentry/unimpl.EmitUnimplementedEvent({0x1637ff8, 0xc0004a7500}) pkg/sentry/unimpl/events.go:44 +0x66 fp=0xc000983750 sp=0xc000983710 pc=0x974f26 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.maybeEmitUnimplementedEvent({0x1637ff8?, 0xc0004a7500?}, 0x5c8c60?) pkg/sentry/fsimpl/devpts/master.go:247 +0x105 fp=0xc000983770 sp=0xc000983750 pc=0xda2505 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*masterFileDescription).Ioctl(0xc000942280, {0x1637ff8, 0xc0004a7500}, {0x16324d0, 0xc000cd4000}, {{0x3}, {0x5404}, {0x20000180}, {0x0}, {0x0}, ...}) pkg/sentry/fsimpl/devpts/master.go:196 +0x5c7 fp=0xc000983818 sp=0xc000983770 pc=0xda2027 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Ioctl(...) pkg/sentry/vfs/file_description.go:712 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Ioctl(0xc0004a7500, 0xc0009839b8?, {{0x3}, {0x5404}, {0x20000180}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:286 +0x503 fp=0xc000983918 sp=0xc000983818 pc=0xb21443 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc0004a7500, 0x10, {{0x3}, {0x5404}, {0x20000180}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc000983c58 sp=0xc000983918 pc=0x9c9fab gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc0004a7500, 0x0?, {{0x3}, {0x5404}, {0x20000180}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc000983cb8 sp=0xc000983c58 pc=0x9cb594 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc00048a130?, 0xc000983e00?, {{0x3}, {0x5404}, {0x20000180}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc000983d18 sp=0xc000983cb8 pc=0x9cb185 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc0001cefd0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc000983e10 sp=0xc000983d18 pc=0x9cae4c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000942200?, 0xc0004a7500) pkg/sentry/kernel/task_run.go:269 +0x144a fp=0xc000983f48 sp=0xc000983e10 pc=0x9bc9ca gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc0004a7500, 0x4e) pkg/sentry/kernel/task_run.go:98 +0x25c fp=0xc000983fc0 sp=0xc000983f48 pc=0x9bae7c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc000983fe0 sp=0xc000983fc0 pc=0x9c842a runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000983fe8 sp=0xc000983fe0 pc=0x46d561 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105