panic: interface conversion: *kernel.Kernel is not unimpl.Events: missing method EmitUnimplementedEvent goroutine 1382179 [running]: panic({0x122e8a0, 0xc008ce0a80}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc007c656a0 sp=0xc007c655e0 pc=0x436afb runtime.getitab(0x1235dc0, 0x13c17c0, 0x0) GOROOT/src/runtime/iface.go:92 +0x1e5 fp=0xc007c656e8 sp=0xc007c656a0 pc=0x40aae5 runtime.assertE2I(0x9aba99?, 0x11b6220?) GOROOT/src/runtime/iface.go:453 +0x25 fp=0xc007c65710 sp=0xc007c656e8 pc=0x40bac5 gvisor.dev/gvisor/pkg/sentry/unimpl.EmitUnimplementedEvent({0x1637ff8, 0xc00485d500}) pkg/sentry/unimpl/events.go:44 +0x66 fp=0xc007c65750 sp=0xc007c65710 pc=0x974f26 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.maybeEmitUnimplementedEvent({0x1637ff8?, 0xc00485d500?}, 0x986fc80?) pkg/sentry/fsimpl/devpts/master.go:247 +0x105 fp=0xc007c65770 sp=0xc007c65750 pc=0xda2505 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*masterFileDescription).Ioctl(0xc005d38c00, {0x1637ff8, 0xc00485d500}, {0x16324d0, 0xc008472000}, {{0x3}, {0x5429}, {0x200001c0}, {0x0}, {0x0}, ...}) pkg/sentry/fsimpl/devpts/master.go:196 +0x5c7 fp=0xc007c65818 sp=0xc007c65770 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(0xc00485d500, 0xc007c659b8?, {{0x3}, {0x5429}, {0x200001c0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:286 +0x503 fp=0xc007c65918 sp=0xc007c65818 pc=0xb21443 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00485d500, 0x10, {{0x3}, {0x5429}, {0x200001c0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc007c65c58 sp=0xc007c65918 pc=0x9c9fab gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00485d500, 0x0?, {{0x3}, {0x5429}, {0x200001c0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc007c65cb8 sp=0xc007c65c58 pc=0x9cb594 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc000570040?, 0xc007c65e00?, {{0x3}, {0x5429}, {0x200001c0}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc007c65d18 sp=0xc007c65cb8 pc=0x9cb185 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc005f88160?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc007c65e10 sp=0xc007c65d18 pc=0x9cae4c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc0094dd400?, 0xc00485d500) pkg/sentry/kernel/task_run.go:269 +0x144a fp=0xc007c65f48 sp=0xc007c65e10 pc=0x9bc9ca gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00485d500, 0x8c85) pkg/sentry/kernel/task_run.go:98 +0x25c fp=0xc007c65fc0 sp=0xc007c65f48 pc=0x9bae7c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc007c65fe0 sp=0xc007c65fc0 pc=0x9c842a runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc007c65fe8 sp=0xc007c65fe0 pc=0x46d561 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105