Code Monkey home page Code Monkey logo

analyze's People

Contributors

joshua1023 avatar xjia1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

analyze's Issues

执行make -C podman_image build-en时报错log

make: Entering directory '/home/lilith/code/analyze/podman_image'
make build-base LIMIT=100000 NUM_WORKERS=4 LANG="en" IMAGE_NAME="naive.systems/analyzer/misra:dev_en"
make[1]: Entering directory '/home/lilith/code/analyze/podman_image'
bazel build  -c opt @llvm-project//clang && cp ../bazel-bin/external/llvm-project/clang/clang clang
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @llvm-project//clang:clang (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang:clang (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @llvm-project//clang:clang up-to-date:
  bazel-bin/external/llvm-project/clang/clang
INFO: Elapsed time: 1.054s, Critical Path: 0.22s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @llvm-project//clang:clang-extdef-mapping && cp ../bazel-bin/external/llvm-project/clang/clang-extdef-mapping clang-extdef-mapping
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @llvm-project//clang:clang-extdef-mapping (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang:clang-extdef-mapping (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[2 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @llvm-project//clang:clang-extdef-mapping up-to-date:
  bazel-bin/external/llvm-project/clang/clang-extdef-mapping
INFO: Elapsed time: 0.228s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @llvm-project//clang-tools-extra:clang-query && cp ../bazel-bin/external/llvm-project/clang-tools-extra/clang-query clang-query
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @llvm-project//clang-tools-extra:clang-query (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang-tools-extra:clang-query (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @llvm-project//clang-tools-extra:clang-query up-to-date:
  bazel-bin/external/llvm-project/clang-tools-extra/clang-query
INFO: Elapsed time: 0.225s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @llvm-project//clang-tools-extra:clang-tidy && cp ../bazel-bin/external/llvm-project/clang-tools-extra/clang-tidy clang-tidy
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @llvm-project//clang-tools-extra:clang-tidy (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang-tools-extra:clang-tidy (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[0 / 2] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @llvm-project//clang-tools-extra:clang-tidy up-to-date:
  bazel-bin/external/llvm-project/clang-tools-extra/clang-tidy
INFO: Elapsed time: 0.349s, Critical Path: 0.04s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @com_google_protobuf//:protoc
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @com_google_protobuf//:protoc (0 packages loaded, 0 targets configured)
INFO: Analyzed target @com_google_protobuf//:protoc (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @com_google_protobuf//:protoc up-to-date:
  bazel-bin/external/com_google_protobuf/protoc
INFO: Elapsed time: 0.188s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
go install google.golang.org/protobuf/cmd/protoc-gen-go
make -C ../ pb.go
make[2]: Entering directory '/home/lilith/code/analyze'
/home/lilith/code/analyze/out/bin/protoc -I/home/lilith/code/analyze -I/home/lilith/code/analyze/third_party/github.com/protocolbuffers/protobuf/src --go_out=/home/lilith/code/analyze /home/lilith/code/analyze/analyzer/proto/analyzer.proto
/home/lilith/code/analyze/out/bin/protoc -I/home/lilith/code/analyze -I/home/lilith/code/analyze/third_party/github.com/protocolbuffers/protobuf/src --go_out=/home/lilith/code/analyze /home/lilith/code/analyze/analyzer/proto/results.proto
/home/lilith/code/analyze/out/bin/protoc -I/home/lilith/code/analyze -I/home/lilith/code/analyze/third_party/github.com/protocolbuffers/protobuf/src --go_out=/home/lilith/code/analyze /home/lilith/code/analyze/analyzer/proto/suppression.proto
make[2]: Leaving directory '/home/lilith/code/analyze'
make -C ../third_party/cppcheck && make -C ../misra/analyzer/cmd/ LIMIT=100000 NUM_WORKERS=4 LANG=en
make[2]: Entering directory '/home/lilith/code/analyze/third_party/cppcheck'
make[2]: 'cppcheck' is up to date.
make[2]: Leaving directory '/home/lilith/code/analyze/third_party/cppcheck'
make[2]: Entering directory '/home/lilith/code/analyze/misra/analyzer/cmd'
go generate naive.systems/analyzer/misra/...
pkg-config --cflags --static /home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/../../../../out/lib/pkgconfig/libgit2.pc failed: exit status 1: Failed to open '/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/../../../../out/lib/pkgconfig/libgit2.pc': No such file or directory
No package '/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/../../../../out/lib/pkgconfig/libgit2.pc' found

/usr/local/go/src/time/zoneinfo_wasip1.go:8:5: platformZoneSources redeclared in this block
/usr/local/go/src/time/zoneinfo_unix.go:21:5: 	other declaration of platformZoneSources
/usr/local/go/src/time/zoneinfo_wasip1.go:10:6: initLocal redeclared in this block
/usr/local/go/src/time/zoneinfo_unix.go:28:6: 	other declaration of initLocal
/usr/local/go/src/internal/syscall/unix/at_wasip1.go:12:2: UTIME_OMIT redeclared in this block
/usr/local/go/src/internal/syscall/unix/at_sysnum_linux.go:18:2: 	other declaration of UTIME_OMIT
/usr/local/go/src/internal/poll/fd_wasip1.go:13:6: SysFile redeclared in this block
/usr/local/go/src/internal/poll/fd_unixjs.go:11:6: 	other declaration of SysFile
/usr/local/go/src/internal/poll/fd_wasip1.go:87:6: dupCloseOnExecOld redeclared in this block
/usr/local/go/src/internal/poll/fd_unixjs.go:29:6: 	other declaration of dupCloseOnExecOld
/usr/local/go/src/internal/poll/fd_wasip1.go:44:19: method SysFile.init already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:16:19
/usr/local/go/src/internal/poll/fd_wasip1.go:56:19: method SysFile.destroy already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:18:19
/usr/local/go/src/internal/poll/fd_wasip1.go:92:15: method FD.Fchdir already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:41:15
/usr/local/go/src/internal/poll/fd_wasip1.go:123:15: method FD.ReadDirent already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:52:15
/usr/local/go/src/internal/poll/fd_wasip1.go:164:15: method FD.Seek already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:73:15
/usr/local/go/src/internal/poll/fd_wasip1.go:103:50: undefined: syscall.Dircookie
/usr/local/go/src/internal/poll/fd_wasip1.go:45:7: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:46:5: s.RefCount undefined (type *SysFile has no field or method RefCount)
/usr/local/go/src/internal/poll/fd_wasip1.go:47:22: s.RefCount undefined (type *SysFile has no field or method RefCount)
/usr/local/go/src/internal/poll/fd_wasip1.go:47:5: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:52:20: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:53:32: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:53:17: unknown field RefCountPtr in struct literal of type SysFile
/usr/local/go/src/internal/poll/fd_wasip1.go:57:7: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:57:47: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:97:26: fd.Path undefined (type *FD has no field or method Path)
/usr/local/go/src/internal/poll/fd_wasip1.go:109:21: undefined: syscall.ReadDir
/usr/local/go/src/internal/poll/fd_wasip1.go:124:31: fd.Dircookie undefined (type *FD has no field or method Dircookie)
/usr/local/go/src/internal/poll/fd_wasip1.go:149:26: undefined: syscall.Dircookie
/usr/local/go/src/internal/poll/fd_wasip1.go:149:6: fd.Dircookie undefined (type *FD has no field or method Dircookie)
/usr/local/go/src/internal/poll/fd_wasip1.go:172:22: undefined: syscall.Filetype
/usr/local/go/src/internal/poll/fd_wasip1.go:172:53: fd.Filetype undefined (type *FD has no field or method Filetype)
/usr/local/go/src/internal/poll/fd_wasip1.go:174:25: undefined: syscall.FILETYPE_UNKNOWN
/usr/local/go/src/internal/poll/fd_wasip1.go:179:19: stat.Filetype undefined (type "syscall".Stat_t has no field or method Filetype)
/usr/local/go/src/internal/poll/fd_wasip1.go:180:26: fd.Filetype undefined (type *FD has no field or method Filetype)
/usr/local/go/src/internal/poll/fd_wasip1.go:183:25: undefined: syscall.FILETYPE_DIRECTORY
/usr/local/go/src/internal/poll/fd_wasip1.go:188:7: fd.Dircookie undefined (type *FD has no field or method Dircookie)
/usr/local/go/src/internal/poll/fd_wasip1.go:207:38: invalid argument: "syscall".Dirent has no single field Namlen
/usr/local/go/src/internal/poll/fd_wasip1.go:207:95: syscall.Dirent{}.Namlen undefined (type "syscall".Dirent has no field or method Namlen)
/usr/local/go/src/internal/poll/fd_wasip1.go:211:38: invalid argument: "syscall".Dirent has no single field Next
/usr/local/go/src/internal/poll/fd_wasip1.go:211:93: syscall.Dirent{}.Next undefined (type "syscall".Dirent has no field or method Next)
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:70:13: undefined: Transport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:28:9: undefined: Delta
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:36:9: undefined: DiffLineType
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:52:9: undefined: ErrorClass
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:55:9: undefined: ErrorCode
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:18:54: undefined: RegisteredSmartTransport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:39:43: undefined: Remote
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:39:62: undefined: Transport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:39:74: undefined: SmartSubtransport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:74:59: undefined: SmartServiceAction
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:74:80: undefined: SmartSubtransportStream
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:11:8: undefined: DeltaUnmodified
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:12:8: undefined: DeltaAdded
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:13:8: undefined: DeltaDeleted
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:14:8: undefined: DeltaModified
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:15:8: undefined: DeltaRenamed
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:16:8: undefined: DeltaCopied
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:17:8: undefined: DeltaIgnored
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:18:8: undefined: DeltaUntracked
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:19:8: undefined: DeltaTypeChange
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:20:8: undefined: DeltaUnreadable
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:21:8: undefined: DeltaConflicted
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/delta_string.go:29:19: undefined: Delta
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:11:8: undefined: DiffLineContext
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:12:8: undefined: DiffLineAddition
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:13:8: undefined: DiffLineDeletion
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:14:8: undefined: DiffLineContextEOFNL
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:15:8: undefined: DiffLineAddEOFNL
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:16:8: undefined: DiffLineDelEOFNL
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:17:8: undefined: DiffLineFileHdr
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:18:8: undefined: DiffLineHunkHdr
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/difflinetype_string.go:19:8: undefined: DiffLineBinary
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:11:8: undefined: ErrorClassNone
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:12:8: undefined: ErrorClassNoMemory
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:13:8: undefined: ErrorClassOS
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:14:8: undefined: ErrorClassInvalid
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:15:8: undefined: ErrorClassReference
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:16:8: undefined: ErrorClassZlib
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:17:8: undefined: ErrorClassRepository
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:18:8: undefined: ErrorClassConfig
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:19:8: undefined: ErrorClassRegex
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:20:8: undefined: ErrorClassOdb
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:21:8: undefined: ErrorClassIndex
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:22:8: undefined: ErrorClassObject
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:23:8: undefined: ErrorClassNet
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:24:8: undefined: ErrorClassTag
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:25:8: undefined: ErrorClassTree
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:26:8: undefined: ErrorClassIndexer
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:27:8: undefined: ErrorClassSSL
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:28:8: undefined: ErrorClassSubmodule
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:29:8: undefined: ErrorClassThread
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:30:8: undefined: ErrorClassStash
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:31:8: undefined: ErrorClassCheckout
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:32:8: undefined: ErrorClassFetchHead
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:33:8: undefined: ErrorClassMerge
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:34:8: undefined: ErrorClassSSH
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:35:8: undefined: ErrorClassFilter
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:36:8: undefined: ErrorClassRevert
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:37:8: undefined: ErrorClassCallback
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:38:8: undefined: ErrorClassRebase
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorclass_string.go:39:8: undefined: ErrorClassPatch
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:11:8: undefined: ErrorCodeOK
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:12:8: undefined: ErrorCodeGeneric
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:13:8: undefined: ErrorCodeNotFound
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:14:8: undefined: ErrorCodeExists
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:15:8: undefined: ErrorCodeAmbiguous
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:16:8: undefined: ErrorCodeBuffs
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:17:8: undefined: ErrorCodeUser
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:18:8: undefined: ErrorCodeBareRepo
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:19:8: undefined: ErrorCodeUnbornBranch
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:20:8: undefined: ErrorCodeUnmerged
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:21:8: undefined: ErrorCodeNonFastForward
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:22:8: undefined: ErrorCodeInvalidSpec
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:23:8: undefined: ErrorCodeConflict
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:24:8: undefined: ErrorCodeLocked
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:25:8: undefined: ErrorCodeModified
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:26:8: undefined: ErrorCodeAuth
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:27:8: undefined: ErrorCodeCertificate
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:28:8: undefined: ErrorCodeApplied
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:29:8: undefined: ErrorCodePeel
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:30:8: undefined: ErrorCodeEOF
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:31:8: undefined: ErrorCodeInvalid
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:32:8: undefined: ErrorCodeUncommitted
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:33:8: undefined: ErrorCodeDirectory
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:34:8: undefined: ErrorCodeMergeConflict
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:35:8: undefined: ErrorCodePassthrough
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:36:8: undefined: ErrorCodeIterOver
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:37:8: undefined: ErrorCodeRetry
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:38:8: undefined: ErrorCodeMismatch
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:39:8: undefined: ErrorCodeIndexDirty
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/errorcode_string.go:40:8: undefined: ErrorCodeApplyFail
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:19:9: undefined: NewRegisteredSmartTransport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:23:2: undefined: globalRegisteredSmartTransports
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:24:8: undefined: globalRegisteredSmartTransports
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:27:15: undefined: globalRegisteredSmartTransports
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:30:19: undefined: newRegisteredSmartTransport
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:34:3: undefined: globalRegisteredSmartTransports
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:46:7: undefined: ProxyTypeNone
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:48:7: undefined: ProxyTypeAuto
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:50:7: undefined: ProxyTypeSpecified
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:78:7: undefined: SmartServiceActionUploadpackLs
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:81:7: undefined: SmartServiceActionUploadpack
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:88:7: undefined: SmartServiceActionReceivepackLs
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:91:7: undefined: SmartServiceActionReceivepack
/home/lilith/code/analyze/third_party/github.com/libgit2/git2go.v33/http.go:219:59: undefined: CredentialTypeUserpassPlaintext
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:48:29: undefined: git2go.Repository
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:49:29: undefined: git2go.Tree
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:50:29: undefined: git2go.Tree
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:144:46: undefined: git2go.Diff
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:144:61: undefined: git2go.DiffHunk
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:182:69: undefined: git2go.DiffHunk
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:108:28: undefined: git2go.NewOid
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:112:29: undefined: git2go.NewOid
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:116:22: undefined: git2go.OpenRepository
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:145:30: undefined: git2go.DiffHunk
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:146:44: undefined: git2go.DiffDelta
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:146:81: undefined: git2go.DiffForEachHunkCallback
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:153:12: undefined: git2go.DiffDetailLines
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:147:32: undefined: git2go.DiffHunk
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:147:50: undefined: git2go.DiffForEachLineCallback
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:149:33: undefined: git2go.DiffLine
/home/lilith/code/analyze/cruleslib/baseline/baseline.go:210:22: undefined: git2go.DiffOptions
gotext: extract failed: : : couldn't load packages due to errors: internal/syscall/unix, time, internal/poll and 2 more
main.go:21: running "../../../out/bin/gotext": exit status 1
make[2]: *** [Makefile:6: all] Error 1
make[2]: Leaving directory '/home/lilith/code/analyze/misra/analyzer/cmd'
make[1]: *** [Makefile:41: build-base] Error 2
make[1]: Leaving directory '/home/lilith/code/analyze/podman_image'
make: *** [Makefile:66: build-en] Error 2
make: Leaving directory '/home/lilith/code/analyze/podman_image'

make build-en 报错log2

make: Entering directory '/home/lilith/code/analyze/podman_image'
make build-base LIMIT=100000 NUM_WORKERS=4 LANG="en" IMAGE_NAME="naive.systems/analyzer/misra:dev_en"
make[1]: Entering directory '/home/lilith/code/analyze/podman_image'
bazel build  -c opt @llvm-project//clang && cp ../bazel-bin/external/llvm-project/clang/clang clang
Loading: 
Loading: 
Loading: 0 packages loaded
INFO: Build option --compilation_mode has changed, discarding analysis cache.
Analyzing: target @llvm-project//clang:clang (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang:clang (1 packages loaded, 9639 targets configured).
INFO: Found 1 target...
[406 / 4,920] [Prepa] BazelWorkspaceStatusAction stable-status.txt
[5,947 / 6,243] checking cached actions
Target @llvm-project//clang:clang up-to-date:
  bazel-bin/external/llvm-project/clang/clang
INFO: Elapsed time: 2.191s, Critical Path: 0.43s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @llvm-project//clang:clang-extdef-mapping && cp ../bazel-bin/external/llvm-project/clang/clang-extdef-mapping clang-extdef-mapping
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @llvm-project//clang:clang-extdef-mapping (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang:clang-extdef-mapping (0 packages loaded, 2 targets configured).
INFO: Found 1 target...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @llvm-project//clang:clang-extdef-mapping up-to-date:
  bazel-bin/external/llvm-project/clang/clang-extdef-mapping
INFO: Elapsed time: 0.295s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @llvm-project//clang-tools-extra:clang-query && cp ../bazel-bin/external/llvm-project/clang-tools-extra/clang-query clang-query
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @llvm-project//clang-tools-extra:clang-query (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang-tools-extra:clang-query (0 packages loaded, 22 targets configured).
INFO: Found 1 target...
[12 / 18] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @llvm-project//clang-tools-extra:clang-query up-to-date:
  bazel-bin/external/llvm-project/clang-tools-extra/clang-query
INFO: Elapsed time: 0.244s, Critical Path: 0.02s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @llvm-project//clang-tools-extra:clang-tidy && cp ../bazel-bin/external/llvm-project/clang-tools-extra/clang-tidy clang-tidy
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @llvm-project//clang-tools-extra:clang-tidy (0 packages loaded, 0 targets configured)
INFO: Analyzed target @llvm-project//clang-tools-extra:clang-tidy (0 packages loaded, 765 targets configured).
INFO: Found 1 target...
[4 / 8] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @llvm-project//clang-tools-extra:clang-tidy up-to-date:
  bazel-bin/external/llvm-project/clang-tools-extra/clang-tidy
INFO: Elapsed time: 0.525s, Critical Path: 0.10s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
bazel build  -c opt @com_google_protobuf//:protoc
Loading: 
Loading: 
Loading: 0 packages loaded
Analyzing: target @com_google_protobuf//:protoc (0 packages loaded, 0 targets configured)
INFO: Analyzed target @com_google_protobuf//:protoc (0 packages loaded, 460 targets configured).
INFO: Found 1 target...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
Target @com_google_protobuf//:protoc up-to-date:
  bazel-bin/external/com_google_protobuf/protoc
INFO: Elapsed time: 0.292s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
go install google.golang.org/protobuf/cmd/protoc-gen-go
make -C ../ pb.go
make[2]: Entering directory '/home/lilith/code/analyze'
/home/lilith/code/analyze/out/bin/protoc -I/home/lilith/code/analyze -I/home/lilith/code/analyze/third_party/github.com/protocolbuffers/protobuf/src --go_out=/home/lilith/code/analyze /home/lilith/code/analyze/analyzer/proto/analyzer.proto
/home/lilith/code/analyze/out/bin/protoc -I/home/lilith/code/analyze -I/home/lilith/code/analyze/third_party/github.com/protocolbuffers/protobuf/src --go_out=/home/lilith/code/analyze /home/lilith/code/analyze/analyzer/proto/results.proto
/home/lilith/code/analyze/out/bin/protoc -I/home/lilith/code/analyze -I/home/lilith/code/analyze/third_party/github.com/protocolbuffers/protobuf/src --go_out=/home/lilith/code/analyze /home/lilith/code/analyze/analyzer/proto/suppression.proto
make[2]: Leaving directory '/home/lilith/code/analyze'
make -C ../third_party/cppcheck && make -C ../misra/analyzer/cmd/ LIMIT=100000 NUM_WORKERS=4 LANG=en
make[2]: Entering directory '/home/lilith/code/analyze/third_party/cppcheck'
make[2]: 'cppcheck' is up to date.
make[2]: Leaving directory '/home/lilith/code/analyze/third_party/cppcheck'
make[2]: Entering directory '/home/lilith/code/analyze/misra/analyzer/cmd'
go generate naive.systems/analyzer/misra/...
/usr/local/go/src/time/zoneinfo_wasip1.go:8:5: platformZoneSources redeclared in this block
/usr/local/go/src/time/zoneinfo_unix.go:21:5: 	other declaration of platformZoneSources
/usr/local/go/src/time/zoneinfo_wasip1.go:10:6: initLocal redeclared in this block
/usr/local/go/src/time/zoneinfo_unix.go:28:6: 	other declaration of initLocal
/usr/local/go/src/internal/syscall/unix/at_wasip1.go:12:2: UTIME_OMIT redeclared in this block
/usr/local/go/src/internal/syscall/unix/at_sysnum_linux.go:18:2: 	other declaration of UTIME_OMIT
/usr/local/go/src/internal/poll/fd_wasip1.go:13:6: SysFile redeclared in this block
/usr/local/go/src/internal/poll/fd_unixjs.go:11:6: 	other declaration of SysFile
/usr/local/go/src/internal/poll/fd_wasip1.go:87:6: dupCloseOnExecOld redeclared in this block
/usr/local/go/src/internal/poll/fd_unixjs.go:29:6: 	other declaration of dupCloseOnExecOld
/usr/local/go/src/internal/poll/fd_wasip1.go:44:19: method SysFile.init already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:16:19
/usr/local/go/src/internal/poll/fd_wasip1.go:56:19: method SysFile.destroy already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:18:19
/usr/local/go/src/internal/poll/fd_wasip1.go:92:15: method FD.Fchdir already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:41:15
/usr/local/go/src/internal/poll/fd_wasip1.go:123:15: method FD.ReadDirent already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:52:15
/usr/local/go/src/internal/poll/fd_wasip1.go:164:15: method FD.Seek already declared at /usr/local/go/src/internal/poll/fd_unixjs.go:73:15
/usr/local/go/src/internal/poll/fd_wasip1.go:103:50: undefined: syscall.Dircookie
/usr/local/go/src/internal/poll/fd_wasip1.go:45:7: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:46:5: s.RefCount undefined (type *SysFile has no field or method RefCount)
/usr/local/go/src/internal/poll/fd_wasip1.go:47:22: s.RefCount undefined (type *SysFile has no field or method RefCount)
/usr/local/go/src/internal/poll/fd_wasip1.go:47:5: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:52:20: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:53:32: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:53:17: unknown field RefCountPtr in struct literal of type SysFile
/usr/local/go/src/internal/poll/fd_wasip1.go:57:7: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:57:47: s.RefCountPtr undefined (type *SysFile has no field or method RefCountPtr)
/usr/local/go/src/internal/poll/fd_wasip1.go:97:26: fd.Path undefined (type *FD has no field or method Path)
/usr/local/go/src/internal/poll/fd_wasip1.go:109:21: undefined: syscall.ReadDir
/usr/local/go/src/internal/poll/fd_wasip1.go:124:31: fd.Dircookie undefined (type *FD has no field or method Dircookie)
/usr/local/go/src/internal/poll/fd_wasip1.go:149:26: undefined: syscall.Dircookie
/usr/local/go/src/internal/poll/fd_wasip1.go:149:6: fd.Dircookie undefined (type *FD has no field or method Dircookie)
/usr/local/go/src/internal/poll/fd_wasip1.go:172:22: undefined: syscall.Filetype
/usr/local/go/src/internal/poll/fd_wasip1.go:172:53: fd.Filetype undefined (type *FD has no field or method Filetype)
/usr/local/go/src/internal/poll/fd_wasip1.go:174:25: undefined: syscall.FILETYPE_UNKNOWN
/usr/local/go/src/internal/poll/fd_wasip1.go:179:19: stat.Filetype undefined (type "syscall".Stat_t has no field or method Filetype)
/usr/local/go/src/internal/poll/fd_wasip1.go:180:26: fd.Filetype undefined (type *FD has no field or method Filetype)
/usr/local/go/src/internal/poll/fd_wasip1.go:183:25: undefined: syscall.FILETYPE_DIRECTORY
/usr/local/go/src/internal/poll/fd_wasip1.go:188:7: fd.Dircookie undefined (type *FD has no field or method Dircookie)
/usr/local/go/src/internal/poll/fd_wasip1.go:207:38: invalid argument: "syscall".Dirent has no single field Namlen
/usr/local/go/src/internal/poll/fd_wasip1.go:207:95: syscall.Dirent{}.Namlen undefined (type "syscall".Dirent has no field or method Namlen)
/usr/local/go/src/internal/poll/fd_wasip1.go:211:38: invalid argument: "syscall".Dirent has no single field Next
/usr/local/go/src/internal/poll/fd_wasip1.go:211:93: syscall.Dirent{}.Next undefined (type "syscall".Dirent has no field or method Next)
gotext: extract failed: : : couldn't load packages due to errors: internal/poll, internal/syscall/unix, time
main.go:21: running "../../../out/bin/gotext": exit status 1
make[2]: *** [Makefile:6: all] Error 1
make[2]: Leaving directory '/home/lilith/code/analyze/misra/analyzer/cmd'
make[1]: *** [Makefile:41: build-base] Error 2
make[1]: Leaving directory '/home/lilith/code/analyze/podman_image'
make: *** [Makefile:66: build-en] Error 2
make: Leaving directory '/home/lilith/code/analyze/podman_image'

readme.md二维码已过期

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Default free version lists 100,000 lines of code on https://naive.systems/#pricing, but tool only supports 10,000

Describe the bug
A clear and concise description of what the bug is.

The https://naive.systems/#pricing website indicates that the free version allows for scanning up to 100,000 lines of code, however, I've found that it is actually 10,000.

To Reproduce
Steps to reproduce the behavior:

  1. Open the following URL in a web browswer: https://naive.systems/#pricing
  2. Read the bullets under the free version: Analyze up to 100,000 lines of code
  3. Run a docker command to run analyzer on files that have more than 10,000 accumulated lines of code:
$ docker run --rm \
    -v $PWD/.naivesystems:/config \
    -v $PWD/output:/output \
    -v $PWD:/src \
    ghcr.io/naivesystems/analyze:latest/opt/naivesystems/misra_analyzer \
    -show_results \
    -project_type=cmake \
    -src_dir /src
  1. Observe the error:
-- Configuring incomplete, errors occurred!
2024-02-08 14:33:35 6,273 lines of C code
2024-02-08 14:33:35 106 lines of C++ code
2024-02-08 14:33:35 5,414 lines of headers
F0208 14:33:39.129076       1 main.go:193] options.CheckCodeLines: exceed maximum limit 10000
goroutine 1 [running]:
github.com/golang/glog.stacks(0x0)
	github.com/golang/[email protected]/glog.go:769 +0x85
github.com/golang/glog.(*loggingT).output(0x1878b80, 0x3, 0xc000326000, {0x148c304?, 0xc000ed2b08?}, 0x1?, 0x0)
	github.com/golang/[email protected]/glog.go:720 +0x459
github.com/golang/glog.(*loggingT).printf(0xc001056150?, 0x2a?, {0xd35a94, 0x1a}, {0xc000ed2b08, 0x1, 0x1})
	github.com/golang/[email protected]/glog.go:655 +0x10a
github.com/golang/glog.Fatalf(...)
	github.com/golang/[email protected]/glog.go:1148
main.main()
	naive.systems/analyzer/misra/analyzer/cmd/main.go:193 +0x12a5

Expected behavior
A clear and concise description of what you expected to happen.

I'd expect the tool to reflect the website description or vice versa.

There are couple of potential options:

  1. Change the free version of the code to not error on 10,000 lines of code
  2. Change the number of lines of code on the website to 10,000

Screenshots
If applicable, add screenshots to help explain your problem.
Image of Website:
Screenshot from 2024-02-08 16-47-09

Desktop (please complete the following information):

  • OS: Ubuntu22.04
  • Browser chrome
  • Version:

Additional context
Add any other context about the problem here.
N/A

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.