panic: interface conversion: *kernel.Kernel is not unimpl.Events: missing method EmitUnimplementedEvent goroutine 957 [running]: panic({0x328f60, 0xc000bd27b0}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc000e2f150 sp=0xc000e2f090 pc=0x128cbdb runtime.getitab(0x330480, 0x4c4ec0, 0x0) GOROOT/src/runtime/iface.go:92 +0x1e5 fp=0xc000e2f198 sp=0xc000e2f150 pc=0x1260565 runtime.assertE2I(0x207aa5f?, 0x2af900?) GOROOT/src/runtime/iface.go:453 +0x25 fp=0xc000e2f1c0 sp=0xc000e2f198 pc=0x1261565 gvisor.dev/gvisor/pkg/sentry/unimpl.EmitUnimplementedEvent({0x82ad98, 0xc000f2a000}) pkg/sentry/unimpl/events.go:44 +0x65 fp=0xc000e2f200 sp=0xc000e2f1c0 pc=0x1a85be5 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.maybeEmitUnimplementedEvent({0x82ad98, 0xc000f2a000}, 0x540c) pkg/sentry/fsimpl/devpts/master.go:247 +0x10c fp=0xc000e2f220 sp=0xc000e2f200 pc=0x207ba4c gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*masterFileDescription).Ioctl(0xc0006fb100, {0x82ad98, 0xc000f2a000}, {0x824ff0, 0xc001164000}, {{0x3}, {0x540c}, {0x0}, {0x0}, {0x0}, ...}) pkg/sentry/fsimpl/devpts/master.go:196 +0x909 fp=0xc000e2f310 sp=0xc000e2f220 pc=0x207b2e9 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Ioctl(...) pkg/sentry/vfs/file_description.go:712 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Ioctl(0xc000f2a000, 0x0?, {{0x3}, {0x540c}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:286 +0x582 fp=0xc000e2f480 sp=0xc000e2f310 pc=0x1ce1ce2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc000f2a000, 0x10, {{0x3}, {0x540c}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x9c2 fp=0xc000e2f960 sp=0xc000e2f480 pc=0x1afdde2 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc000f2a000, 0x0?, {{0x3}, {0x540c}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x7d fp=0xc000e2f9f8 sp=0xc000e2f960 pc=0x1affbdd gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0006ab040?, 0xc000608b40?, {{0x3}, {0x540c}, {0x0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x8f fp=0xc000e2fa70 sp=0xc000e2f9f8 pc=0x1aff58f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc000f2a000) pkg/sentry/kernel/task_syscall.go:257 +0x4c5 fp=0xc000e2fb98 sp=0xc000e2fa70 pc=0x1aff125 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000f2a000?, 0xc000f2a000) pkg/sentry/kernel/task_run.go:269 +0x1d4b fp=0xc000e2fe70 sp=0xc000e2fb98 pc=0x1ae99cb gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc000f2a000, 0x38) pkg/sentry/kernel/task_run.go:98 +0x41b fp=0xc000e2ffb0 sp=0xc000e2fe70 pc=0x1ae725b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x48 fp=0xc000e2ffe0 sp=0xc000e2ffb0 pc=0x1afb8e8 runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000e2ffe8 sp=0xc000e2ffe0 pc=0x12c5b21 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x1ad