panic: interface conversion: *kernel.Kernel is not unimpl.Events: missing method EmitUnimplementedEvent goroutine 6372 [running]: panic({0x327880, 0xc0018a4780}) GOROOT/src/runtime/panic.go:987 +0x3ac fp=0xc001655140 sp=0xc001655080 pc=0x12af61c runtime.getitab(0x32ed20, 0x4c18e0, 0x0) GOROOT/src/runtime/iface.go:92 +0x1d4 fp=0xc001655190 sp=0xc001655140 pc=0x1283b44 runtime.assertE2I(0xc001655218?, 0x2ae880?) GOROOT/src/runtime/iface.go:453 +0x24 fp=0xc0016551c0 sp=0xc001655190 pc=0x1284a54 gvisor.dev/gvisor/pkg/sentry/unimpl.EmitUnimplementedEvent({0x8614f8, 0xc003eeca80}) pkg/sentry/unimpl/events.go:44 +0x64 fp=0xc001655200 sp=0xc0016551c0 pc=0x192a164 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.maybeEmitUnimplementedEvent({0x8614f8, 0xc003eeca80}, 0x540b) pkg/sentry/fsimpl/devpts/master.go:247 +0x128 fp=0xc001655220 sp=0xc001655200 pc=0x1df7d08 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*masterFileDescription).Ioctl(0xc0007e9080, {0x8614f8, 0xc003eeca80}, {0x85bac8, 0xc001672000}, {{0x4}, {0x540b}, {0x1}, {0x0}, {0x0}, ...}) pkg/sentry/fsimpl/devpts/master.go:196 +0x624 fp=0xc001655310 sp=0xc001655220 pc=0x1df7774 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Ioctl(...) pkg/sentry/vfs/file_description.go:712 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Ioctl(0xc003eeca80, 0xc0000f6d00?, {{0x4}, {0x540b}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:286 +0x378 fp=0xc001655480 sp=0xc001655310 pc=0x1b07358 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc003eeca80, 0x1d, {{0x4}, {0x540b}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0x6f8 fp=0xc001655970 sp=0xc001655480 pc=0x19863a8 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc003eeca80, 0x128060c?, {{0x4}, {0x540b}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x50 fp=0xc001655a10 sp=0xc001655970 pc=0x1987a20 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc001655ad8?, 0x12e79e8?, {{0x4}, {0x540b}, {0x1}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0x78 fp=0xc001655a90 sp=0xc001655a10 pc=0x1987548 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc003eeca80) pkg/sentry/kernel/task_syscall.go:257 +0x3ac fp=0xc001655bc0 sp=0xc001655a90 pc=0x19871ec gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc003eeca80?, 0xc003eeca80) pkg/sentry/kernel/task_run.go:269 +0x13f0 fp=0xc001655e50 sp=0xc001655bc0 pc=0x1976f20 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc003eeca80, 0x3ee) pkg/sentry/kernel/task_run.go:98 +0x2fc fp=0xc001655fa0 sp=0xc001655e50 pc=0x197535c gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x44 fp=0xc001655fd0 sp=0xc001655fa0 pc=0x1984774 runtime.goexit() src/runtime/asm_arm64.s:1172 +0x4 fp=0xc001655fd0 sp=0xc001655fd0 pc=0x12e6864 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x180