panic: interface conversion: *kernel.Kernel is not unimpl.Events: missing method EmitUnimplementedEvent goroutine 237 [running]: panic({0x122e8a0, 0xc00050d740}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc0009356a0 sp=0xc0009355e0 pc=0x436afb runtime.getitab(0x1235dc0, 0x13c17c0, 0x0) GOROOT/src/runtime/iface.go:92 +0x1e5 fp=0xc0009356e8 sp=0xc0009356a0 pc=0x40aae5 runtime.assertE2I(0x9aba99?, 0x11b6220?) GOROOT/src/runtime/iface.go:453 +0x25 fp=0xc000935710 sp=0xc0009356e8 pc=0x40bac5 gvisor.dev/gvisor/pkg/sentry/unimpl.EmitUnimplementedEvent({0x1637ff8, 0xc00096e000}) pkg/sentry/unimpl/events.go:44 +0x66 fp=0xc000935750 sp=0xc000935710 pc=0x974f26 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.maybeEmitUnimplementedEvent({0x1637ff8?, 0xc00096e000?}, 0x96e000?) pkg/sentry/fsimpl/devpts/master.go:247 +0x105 fp=0xc000935770 sp=0xc000935750 pc=0xda2505 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*replicaFileDescription).Ioctl(0xc000674a00, {0x1637ff8, 0xc00096e000}, {0x16324d0, 0xc00067f000}, {{0x3}, {0x5423}, {0x0}, {0xa}, {0x0}, ...}) pkg/sentry/fsimpl/devpts/replica.go:202 +0x547 fp=0xc000935818 sp=0xc000935770 pc=0xda4c47 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Ioctl(...) pkg/sentry/vfs/file_description.go:712 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Ioctl(0xc00096e000, 0x0?, {{0x3}, {0x5423}, {0x0}, {0xa}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:286 +0x503 fp=0xc000935918 sp=0xc000935818 pc=0xb21443 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc00096e000, 0x10, {{0x3}, {0x5423}, {0x0}, {0xa}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x80b fp=0xc000935c58 sp=0xc000935918 pc=0x9c9fab gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc00096e000, 0x85?, {{0x3}, {0x5423}, {0x0}, {0xa}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x54 fp=0xc000935cb8 sp=0xc000935c58 pc=0x9cb594 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0x83e08f?, 0x0?, {{0x3}, {0x5423}, {0x0}, {0xa}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x85 fp=0xc000935d18 sp=0xc000935cb8 pc=0x9cb185 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc00093a5b0?) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc000935e10 sp=0xc000935d18 pc=0x9cae4c gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc000224300?, 0xc00096e000) pkg/sentry/kernel/task_run.go:269 +0x144a fp=0xc000935f48 sp=0xc000935e10 pc=0x9bc9ca gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc00096e000, 0x7) pkg/sentry/kernel/task_run.go:98 +0x25c fp=0xc000935fc0 sp=0xc000935f48 pc=0x9bae7c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x2a fp=0xc000935fe0 sp=0xc000935fc0 pc=0x9c842a runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc000935fe8 sp=0xc000935fe0 pc=0x46d561 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x105