Ткань SDK Go ошибка с Hyperledger/ Fabric-SDK-Go
Я клонирую hyperledger / fabric-sdk-go ( https://github.com/hyperledger/fabric-sdk-go) в Ubuntu 14.04 LTS.
Я могу сделать зависимость и сделать dockerenv-stable-up.
Но когда я использую make check, я столкнусь с этой ошибкой: введите описание изображения здесь
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:393:4:warning: unused struct field NewAttribute not declared by package pkcs11 (structcheck)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:394:4:warning: unused struct field NewAttribute not declared by package pkcs11 (structcheck)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:601:20:warning: unused struct field cannot range over attr (invalid operand) (structcheck)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:422:4:warning: unused variable or constant NewAttribute not declared by package pkcs11 (varcheck)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:253:3:warning: NewAttribute not declared by package pkcs11 (interfacer, maligned, unconvert)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:270:3:warning: NewAttribute not declared by package pkcs11 (interfacer, maligned, unconvert)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:516:68:warning: unused variable or constant ObjectHandle not declared by package pkcs11 (varcheck)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:414:4:warning: unused variable or constant NewAttribute not declared by package pkcs11 (varcheck)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:413:4:warning: NewAttribute not declared by package pkcs11 (interfacer, maligned, unconvert)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:61:14:warning: SessionHandle not declared by package pkcs11 (interfacer, maligned, unconvert)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:445:100:warning: unused struct field ObjectHandle not declared by package pkcs11 (structcheck)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:256:19:warning: unused struct field invalid operation: p11lib (variable of type *invalid type) has no field or method GenerateKeyPair (structcheck)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:34:9:warning: error return value not checked (New not declared by package pkcs11) (errcheck)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/pkcs11.go:596:15:warning: invalid operation: p11lib (variable of type *invalid type) has no field or method GetAttributeValue (interfacer, maligned, unconvert)
internal/github.com/hyperledger/fabric/bccsp/pkcs11/impl.go:86:16:warning: error return value not checked (SessionHandle not declared by package pkcs11) (errcheck)
pkg/fabsdk/provider/chpvdr/cachekey.go:35:59:warning: nolint directive did not match any issue (nolint)
pkg/fabsdk/provider/chpvdr/cachekey.go:67:59:warning: nolint directive did not match any issue (nolint)
Makefile:198: recipe for target 'lint' failed
make: *** [lint] Error 1