lightstep / lightstep-tracer-go

The Lightstep distributed tracing library for Go
https://lightstep.com
MIT License
98 stars 54 forks source link

Go 1.15: conversion from int to string yields a string of one rune #257

Closed eclipseo closed 3 years ago

eclipseo commented 3 years ago

Go 1.15 rc1 on Fedora Rawhide:

Testing    in: /builddir/build/BUILD/lightstep-tracer-go-0.20.0/_build/src
         PATH: /builddir/build/BUILD/lightstep-tracer-go-0.20.0/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/lightstep-tracer-go-0.20.0/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/lightstep/lightstep-tracer-go/version=0.20.0 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/lightstep/lightstep-tracer-go
github.com/lightstep/lightstep-tracer-go
# github.com/lightstep/lightstep-tracer-go_test
./test_utils_test.go:27:20: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
FAIL    github.com/lightstep/lightstep-tracer-go [build failed]

See https://github.com/golang/go/issues/32479