panic: interface conversion: *kernel.Kernel is not unimpl.Events: missing method EmitUnimplementedEvent goroutine 191899 [running]: panic({0x122e8a0, 0xc0021ebbc0}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc0012636a0 sp=0xc0012635e0 pc=0x436afb runtime.getitab(0x1235dc0, 0x13c17c0, 0x0) GOROOT/src/runtime/iface.go:92 +0x1e5 fp=0xc0012636e8 sp=0xc0012636a0 pc=0x40aae5 runtime.assertE2I(0x9aba99?, 0x11b6220?) GOROOT/src/runtime/iface.go:453 +0x25 fp=0xc001263710 sp=0xc0012636e8 pc=0x40bac5 gvisor.dev/gvisor/pkg/sentry/unimpl.EmitUnimplementedEvent({0x1637ff8, 0xc008c24a80}) pkg/sentry/unimpl/events.go:44 +0x66 fp=0xc001263750 sp=0xc001263710 pc=0x974f26 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.maybeEmitUnimplementedEvent({0x1637ff8?, 0xc008c24a80?}, 0x4948720?) pkg/sentry/fsimpl/devpts/master.go:247 +0x105 fp=0xc001263770 sp=0xc001263750 pc=0xda2505 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*masterFileDescription).Ioctl(0xc009ed1300, {0x1637ff8, 0xc008c24a80}, {0x16324d0, 0xc0026af000}, {{0x6}, {0x5427}, {0x0}, {0x0}, {0x0}, ...}) pkg/sentry/fsimpl/devpts/master.go:196 +0x5c7 fp=0xc001263818 sp=0xc001263770 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(0xc008c24a80, 0x40000000?, {{0x6}, {0x5427}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:286 +0x503 fp=0xc001263918 sp=0xc001263818 pc=0xb21443 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc008c24a80, 0x10, {{0x6}, {0x5427}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc001263c58 sp=0xc001263918 pc=0x9c9fab gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc008c24a80, 0xc003d16120?, {{0x6}, {0x5427}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc001263cb8 sp=0xc001263c58 pc=0x9cb594 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc001263e00?, 0xd05e25?, {{0x6}, {0x5427}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc001263d18 sp=0xc001263cb8 pc=0x9cb185 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc002db6000?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc001263e10 sp=0xc001263d18 pc=0x9cae4c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc007699f00?, 0xc008c24a80) pkg/sentry/kernel/task_run.go:269 +0x144a fp=0xc001263f48 sp=0xc001263e10 pc=0x9bc9ca gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc008c24a80, 0x2cca) pkg/sentry/kernel/task_run.go:98 +0x25c fp=0xc001263fc0 sp=0xc001263f48 pc=0x9bae7c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc001263fe0 sp=0xc001263fc0 pc=0x9c842a runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc001263fe8 sp=0xc001263fe0 pc=0x46d561 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105