Skip to content

Instantly share code, notes, and snippets.

@nikhita
Created June 11, 2017 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikhita/379c3789b8049038109b1ea1509b483b to your computer and use it in GitHub Desktop.
Save nikhita/379c3789b8049038109b1ea1509b483b to your computer and use it in GitHub Desktop.
ERROR: logging before flag.Parse: I0612 02:45:42.996873 19146 parse.go:417] type checker: /usr/local/go/src/runtime/trace.go:148:30: cannot use (traceBufHeader literal) (value of type traceBufHeader) as unsafe.ArbitraryType value in argument to unsafe.Sizeof
ERROR: logging before flag.Parse: I0612 02:45:42.996954 19146 parse.go:417] type checker: /usr/local/go/src/runtime/trace.go:148:7: array length 64 << 10 - unsafe.Sizeof((traceBufHeader literal)) (value of type uintptr) must be constant
ERROR: logging before flag.Parse: I0612 02:45:42.997022 19146 parse.go:417] type checker: /usr/local/go/src/runtime/mgcwork.go:304:37: cannot use (workbufhdr literal) (value of type workbufhdr) as unsafe.ArbitraryType value in argument to unsafe.Sizeof
ERROR: logging before flag.Parse: I0612 02:45:42.997048 19146 parse.go:417] type checker: /usr/local/go/src/runtime/mgcwork.go:304:7: array length (_WorkbufSize - unsafe.Sizeof((workbufhdr literal))) / sys.PtrSize (value of type uintptr) must be constant
ERROR: logging before flag.Parse: I0612 02:45:42.997288 19146 parse.go:417] type checker: /usr/local/go/src/runtime/chan.go:27:28: cannot use (hchan literal) (value of type hchan) as unsafe.ArbitraryType value in argument to unsafe.Sizeof
ERROR: logging before flag.Parse: I0612 02:45:42.997312 19146 parse.go:417] type checker: /usr/local/go/src/runtime/chan.go:27:66: cannot use (hchan literal) (value of type hchan) as unsafe.ArbitraryType value in argument to unsafe.Sizeof
ERROR: logging before flag.Parse: I0612 02:45:42.997335 19146 parse.go:417] type checker: /usr/local/go/src/runtime/chan.go:27:14: unsafe.Sizeof((hchan literal)) + uintptr(-int(unsafe.Sizeof((hchan literal))) & (maxAlign - 1)) (value of type uintptr) is not constant
ERROR: logging before flag.Parse: I0612 02:45:42.998253 19146 parse.go:417] type checker: /usr/local/go/src/runtime/hashmap.go:80:31: cannot use (struct{b bmap; v int64} literal).v (value of type int64) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
ERROR: logging before flag.Parse: I0612 02:45:42.998290 19146 parse.go:417] type checker: /usr/local/go/src/runtime/hashmap.go:80:15: unsafe.Offsetof((struct{b bmap; v int64} literal).v) (value of type uintptr) is not constant
ERROR: logging before flag.Parse: I0612 02:45:42.999715 19146 parse.go:417] type checker: /usr/local/go/src/runtime/mfinal.go:24:65: cannot use (finalizer literal) (value of type finalizer) as unsafe.ArbitraryType value in argument to unsafe.Sizeof
ERROR: logging before flag.Parse: I0612 02:45:42.999756 19146 parse.go:417] type checker: /usr/local/go/src/runtime/mfinal.go:24:11: array length (_FinBlockSize - 2 * sys.PtrSize - 2 * 4) / unsafe.Sizeof((finalizer literal)) (value of type uintptr) must be constant
ERROR: logging before flag.Parse: I0612 02:45:43.000332 19146 parse.go:417] type checker: /usr/local/go/src/runtime/mheap.go:1320:41: cannot use (gcBitsHeader literal) (value of type gcBitsHeader) as unsafe.ArbitraryType value in argument to unsafe.Sizeof
ERROR: logging before flag.Parse: I0612 02:45:43.000359 19146 parse.go:417] type checker: /usr/local/go/src/runtime/mheap.go:1320:27: unsafe.Sizeof((gcBitsHeader literal)) (value of type uintptr) is not constant
ERROR: logging before flag.Parse: I0612 02:45:43.000649 19146 parse.go:417] type checker: /usr/local/go/src/runtime/mstats.go:422:39: cannot use memstats.by_size (variable of type [67]struct{size uint32; nmalloc uint64; nfree uint64}) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
ERROR: logging before flag.Parse: I0612 02:45:43.000680 19146 parse.go:417] type checker: /usr/local/go/src/runtime/mstats.go:422:76: cannot use memstats.by_size[0] (variable of type struct{size uint32; nmalloc uint64; nfree uint64}) as unsafe.ArbitraryType value in argument to unsafe.Sizeof
ERROR: logging before flag.Parse: I0612 02:45:43.001178 19146 parse.go:417] type checker: /usr/local/go/src/runtime/panic.go:120:34: cannot use (_defer literal) (value of type _defer) as unsafe.ArbitraryType value in argument to unsafe.Sizeof
ERROR: logging before flag.Parse: I0612 02:45:43.001198 19146 parse.go:417] type checker: /usr/local/go/src/runtime/panic.go:120:20: unsafe.Sizeof((_defer literal)) (value of type uintptr) is not constant
ERROR: logging before flag.Parse: I0612 02:45:43.002172 19146 parse.go:417] type checker: /usr/local/go/src/runtime/sema.go:42:42: cannot use (semaRoot literal) (value of type semaRoot) as unsafe.ArbitraryType value in argument to unsafe.Sizeof
ERROR: logging before flag.Parse: I0612 02:45:43.002207 19146 parse.go:417] type checker: /usr/local/go/src/runtime/sema.go:42:8: array length sys.CacheLineSize - unsafe.Sizeof((semaRoot literal)) (value of type uintptr) must be constant
ERROR: logging before flag.Parse: I0612 02:45:43.006968 19146 parse.go:366] type checking encountered some issues in "runtime", but ignoring.
ERROR: logging before flag.Parse: I0612 02:45:43.356072 19146 execute.go:214] Processing package "emptyinterface", disk location "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/emptyinterface"
ERROR: logging before flag.Parse: I0612 02:45:43.356206 19146 execute.go:67] Assembling file "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/emptyinterface/zz_generated.go"
ERROR: logging before flag.Parse: I0612 02:45:43.356544 19146 execute.go:214] Processing package "structs", disk location "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/structs"
ERROR: logging before flag.Parse: I0612 02:45:43.356769 19146 execute.go:67] Assembling file "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/structs/zz_generated.go"
ERROR: logging before flag.Parse: I0612 02:45:43.357065 19146 execute.go:214] Processing package "interfaces", disk location "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/interfaces"
ERROR: logging before flag.Parse: I0612 02:45:43.357281 19146 execute.go:67] Assembling file "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/interfaces/zz_generated.go"
ERROR: logging before flag.Parse: I0612 02:45:43.357572 19146 execute.go:214] Processing package "wholepkg", disk location "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/wholepkg"
ERROR: logging before flag.Parse: I0612 02:45:43.357799 19146 execute.go:67] Assembling file "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/wholepkg/zz_generated.go"
ERROR: logging before flag.Parse: I0612 02:45:43.358091 19146 execute.go:214] Processing package "maps", disk location "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/maps"
ERROR: logging before flag.Parse: I0612 02:45:43.358308 19146 execute.go:67] Assembling file "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/maps/zz_generated.go"
ERROR: logging before flag.Parse: I0612 02:45:43.358589 19146 execute.go:214] Processing package "builtins", disk location "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/builtins"
ERROR: logging before flag.Parse: I0612 02:45:43.358829 19146 execute.go:67] Assembling file "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/builtins/zz_generated.go"
ERROR: logging before flag.Parse: I0612 02:45:43.359101 19146 execute.go:214] Processing package "pointer", disk location "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/pointer"
ERROR: logging before flag.Parse: I0612 02:45:43.359340 19146 execute.go:67] Assembling file "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/pointer/zz_generated.go"
ERROR: logging before flag.Parse: I0612 02:45:43.359625 19146 execute.go:214] Processing package "slices", disk location "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/slices"
ERROR: logging before flag.Parse: I0612 02:45:43.359865 19146 execute.go:67] Assembling file "/home/nikhita/gocode/src/k8s.io/gengo/examples/defaulter-gen/output_tests/slices/zz_generated.go"
ERROR: logging before flag.Parse: I0612 02:45:43.360175 19146 main.go:74] Completed successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment