panic: interface conversion: *kernel.Kernel is not unimpl.Events: missing method EmitUnimplementedEvent goroutine 97913 [running]: panic({0x112b860, 0xc0063a8ae0}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc004761650 sp=0xc004761590 pc=0x436cdb runtime.getitab(0x1132d80, 0x12be700, 0x0) GOROOT/src/runtime/iface.go:92 +0x1e5 fp=0xc004761698 sp=0xc004761650 pc=0x40aae5 runtime.assertE2I(0xc0095f7620?, 0x10b3200?) GOROOT/src/runtime/iface.go:453 +0x25 fp=0xc0047616c0 sp=0xc004761698 pc=0x40bac5 gvisor.dev/gvisor/pkg/sentry/unimpl.EmitUnimplementedEvent({0x1509dd8, 0xc008f5ea80}) pkg/sentry/unimpl/events.go:44 +0x52 fp=0xc004761700 sp=0xc0047616c0 pc=0x8f8db2 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.maybeEmitUnimplementedEvent({0x1509dd8?, 0xc008f5ea80?}, 0x14e4b50?) pkg/sentry/fsimpl/devpts/master.go:247 +0xf8 fp=0xc004761720 sp=0xc004761700 pc=0xcbc678 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*masterFileDescription).Ioctl(0xc0074fad80, {0x1509dd8, 0xc008f5ea80}, {0x1504030, 0xc009494000}, {{0x3}, {0x5423}, {0x20000080}, {0x0}, {0x0}, ...}) pkg/sentry/fsimpl/devpts/master.go:196 +0x41d fp=0xc004761798 sp=0xc004761720 pc=0xcbc1bd gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Ioctl(...) pkg/sentry/vfs/file_description.go:712 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Ioctl(0xc008f5ea80, 0x0?, {{0x3}, {0x5423}, {0x20000080}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:286 +0x3b0 fp=0xc004761868 sp=0xc004761798 pc=0xa6ae90 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc008f5ea80, 0x10, {{0x3}, {0x5423}, {0x20000080}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x755 fp=0xc004761c58 sp=0xc004761868 pc=0x9403f5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc008f5ea80, 0x85?, {{0x3}, {0x5423}, {0x20000080}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x4a fp=0xc004761cb8 sp=0xc004761c58 pc=0x94162a gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0x7f86171d7d48?, 0xc0008efe08?, {{0x3}, {0x5423}, {0x20000080}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x65 fp=0xc004761d18 sp=0xc004761cb8 pc=0x941305 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00237a680?) pkg/sentry/kernel/task_syscall.go:257 +0x2f0 fp=0xc004761e10 sp=0xc004761d18 pc=0x941070 gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0074fad00?, 0xc008f5ea80) pkg/sentry/kernel/task_run.go:269 +0x103e fp=0xc004761f48 sp=0xc004761e10 pc=0x9351fe gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc008f5ea80, 0x157b) pkg/sentry/kernel/task_run.go:98 +0x1f8 fp=0xc004761fc0 sp=0xc004761f48 pc=0x933b18 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc004761fe0 sp=0xc004761fc0 pc=0x93ebea runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc004761fe8 sp=0xc004761fe0 pc=0x46d741 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0xef