panic: interface conversion: *kernel.Kernel is not unimpl.Events: missing method EmitUnimplementedEvent goroutine 131738 [running]: panic({0x329000, 0xc0018ad9e0}) GOROOT/src/runtime/panic.go:987 +0x3bb fp=0xc00a275170 sp=0xc00a2750b0 pc=0x11dfa5b runtime.getitab(0x330520, 0x4c50e0, 0x0) GOROOT/src/runtime/iface.go:92 +0x1e5 fp=0xc00a2751b8 sp=0xc00a275170 pc=0x11b33e5 runtime.assertE2I(0x121c23b?, 0x2af940?) GOROOT/src/runtime/iface.go:453 +0x25 fp=0xc00a2751e0 sp=0xc00a2751b8 pc=0x11b43e5 gvisor.dev/gvisor/pkg/sentry/unimpl.EmitUnimplementedEvent({0x753158, 0xc002e24000}) pkg/sentry/unimpl/events.go:44 +0x96 fp=0xc00a275228 sp=0xc00a2751e0 pc=0x1a7b856 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.maybeEmitUnimplementedEvent({0x753158, 0xc002e24000}, 0x5423) pkg/sentry/fsimpl/devpts/master.go:247 +0x134 fp=0xc00a275248 sp=0xc00a275228 pc=0x20f33f4 gvisor.dev/gvisor/pkg/sentry/fsimpl/devpts.(*replicaFileDescription).Ioctl(0xc00502f400, {0x753158, 0xc002e24000}, {0x74d630, 0xc001c36000}, {{0x4}, {0x5423}, {0x20000200}, {0x0}, {0x0}, ...}) pkg/sentry/fsimpl/devpts/replica.go:202 +0xaf3 fp=0xc00a275340 sp=0xc00a275248 pc=0x20f7413 gvisor.dev/gvisor/pkg/sentry/vfs.(*FileDescription).Ioctl(0xc00502f400, {0x753158, 0xc002e24000}, {0x74d630, 0xc001c36000}, {{0x4}, {0x5423}, {0x20000200}, {0x0}, {0x0}, ...}) pkg/sentry/vfs/file_description.go:712 +0x105 fp=0xc00a2753f0 sp=0xc00a275340 pc=0x174f9e5 gvisor.dev/gvisor/pkg/sentry/syscalls/linux.Ioctl(0xc002e24000, 0xc00a2755d0?, {{0x4}, {0x5423}, {0x20000200}, {0x0}, {0x0}, {0x0}}) pkg/sentry/syscalls/linux/sys_file.go:286 +0x675 fp=0xc00a275550 sp=0xc00a2753f0 pc=0x1d0e1b5 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).executeSyscall(0xc002e24000, 0x10, {{0x4}, {0x5423}, {0x20000200}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:142 +0xabf fp=0xc00a275968 sp=0xc00a275550 pc=0x1b0037f gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallInvoke(0xc002e24000, 0x1?, {{0x4}, {0x5423}, {0x20000200}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:322 +0x8e fp=0xc00a275a08 sp=0xc00a275968 pc=0x1b0248e gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscallEnter(0xc0007d21e0?, 0xc00a275b37?, {{0x4}, {0x5423}, {0x20000200}, {0x0}, {0x0}, {0x0}}) pkg/sentry/kernel/task_syscall.go:282 +0xc5 fp=0xc00a275a80 sp=0xc00a275a08 pc=0x1b01d85 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).doSyscall(0xc002e24000) pkg/sentry/kernel/task_syscall.go:257 +0x53b fp=0xc00a275ba8 sp=0xc00a275a80 pc=0x1b0189b gvisor.dev/gvisor/pkg/sentry/kernel.(*runApp).execute(0xc002e24000?, 0xc002e24000) pkg/sentry/kernel/task_run.go:269 +0x22b4 fp=0xc00a275e68 sp=0xc00a275ba8 pc=0x1aea494 gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).run(0xc002e24000, 0xc51) pkg/sentry/kernel/task_run.go:98 +0x35b fp=0xc00a275fb0 sp=0xc00a275e68 pc=0x1ae777b gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start.func1() pkg/sentry/kernel/task_start.go:377 +0x48 fp=0xc00a275fe0 sp=0xc00a275fb0 pc=0x1afda68 runtime.goexit() src/runtime/asm_amd64.s:1598 +0x1 fp=0xc00a275fe8 sp=0xc00a275fe0 pc=0x12189a1 created by gvisor.dev/gvisor/pkg/sentry/kernel.(*Task).Start pkg/sentry/kernel/task_start.go:377 +0x1da