cmu-db / bustub

The BusTub Relational Database Management System (Educational)
https://15445.courses.cs.cmu.edu
MIT License
4.09k stars 1.8k forks source link

Is the autograder be fixed? #227

Closed chenzeyin9867 closed 2 years ago

chenzeyin9867 commented 2 years ago

I use the autograder to test the p0, and I've checked the format in local and it's OK, but I still got error when using autograder like below.

-- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- BusTub/main found clang-format at /usr/bin/clang-format-8 -- BusTub/main found clang-tidy at /usr/bin/clang-tidy-8 -- BusTub/main found cpplint at /autograder/bustub/build_support/cpplint.py -- Configuring done -- Generating done -- Build files have been written to: /autograder/bustub/build/googletest-download Scanning dependencies of target googletest [ 11%] Creating directories for 'googletest' [ 22%] Performing download step (git clone) for 'googletest' Cloning into 'googletest-src'... fatal: invalid reference: master CMake Error at googletest-download/googletest-prefix/tmp/googletest-gitclone.cmake:75 (message): Failed to checkout tag: 'master'

CMakeFiles/googletest.dir/build.make:90: recipe for target 'googletest-prefix/src/googletest-stamp/googletest-download' failed make[2]: [googletest-prefix/src/googletest-stamp/googletest-download] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/googletest.dir/all' failed make[1]: [CMakeFiles/googletest.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 -- Found PythonInterp: /usr/bin/python (found version "2.7.17") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- CMAKE_CXX_FLAGS: -fPIC -Wall -Wextra -Werror -march=native -Wno-unused-parameter -Wno-attributes -- CMAKE_CXX_FLAGS_DEBUG: -g -O0 -ggdb -fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls -- CMAKE_EXE_LINKER_FLAGS: -fPIC -- CMAKE_SHARED_LINKER_FLAGS: -fPIC -- BusTub/test found valgrind at /usr/bin/valgrind -- Configuring done -- Generating done -- Build files have been written to: /autograder/bustub/build

Scanning dependencies of target thirdparty_murmur3 Scanning dependencies of target gtest [ 0%] Building CXX object src/CMakeFiles/thirdparty_murmur3.dir/__/third_party/murmur3/MurmurHash3.cpp.o [ 0%] Building CXX object googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 2%] Linking CXX shared library ../lib/libthirdparty_murmur3.so [ 2%] Built target thirdparty_murmur3 Scanning dependencies of target bustub_shared [ 5%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/buffer_pool_manager.cpp.o [ 7%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/clock_replacer.cpp.o [ 7%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/lru_replacer.cpp.o [ 10%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/column.cpp.o [ 12%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/schema.cpp.o [ 12%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/table_generator.cpp.o [ 15%] Building CXX object src/CMakeFiles/bustub_shared.dir/common/config.cpp.o [ 17%] Building CXX object src/CMakeFiles/bustub_shared.dir/common/util/string_util.cpp.o [ 20%] Linking CXX shared library ../../lib/libgtest.so [ 20%] Built target gtest [ 20%] Building CXX object src/CMakeFiles/bustub_shared.dir/concurrency/lock_manager.cpp.o Scanning dependencies of target gmock [ 20%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o [ 23%] Building CXX object src/CMakeFiles/bustub_shared.dir/concurrency/transaction_manager.cpp.o [ 25%] Linking CXX shared library ../../lib/libgmock.so [ 28%] Building CXX object src/CMakeFiles/bustub_shared.dir/container/hash/linear_probe_hash_table.cpp.o [ 28%] Built target gmock [ 28%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/aggregation_executor.cpp.o Scanning dependencies of target gtest_main [ 30%] Building CXX object googletest-build/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o [ 33%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/delete_executor.cpp.o [ 33%] Linking CXX shared library ../../lib/libgtest_main.so [ 33%] Built target gtest_main [ 35%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/executor_factory.cpp.o Scanning dependencies of target gmock_main [ 38%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o [ 38%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/index_scan_executor.cpp.o [ 38%] Linking CXX shared library ../../lib/libgmock_main.so [ 38%] Built target gmock_main [ 41%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/insert_executor.cpp.o [ 43%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/limit_executor.cpp.o [ 43%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/nested_index_join_executor.cpp.o [ 46%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/nested_loop_join_executor.cpp.o [ 48%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/seq_scan_executor.cpp.o [ 48%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/update_executor.cpp.o [ 51%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/checkpoint_manager.cpp.o [ 53%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/log_manager.cpp.o [ 53%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/log_recovery.cpp.o [ 56%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/disk/disk_manager.cpp.o [ 58%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/b_plus_tree.cpp.o [ 58%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/b_plus_tree_index.cpp.o [ 61%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/index_iterator.cpp.o [ 64%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/linear_probe_hash_table_index.cpp.o [ 64%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/b_plus_tree_internal_page.cpp.o [ 66%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/b_plus_tree_leaf_page.cpp.o [ 69%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/b_plus_tree_page.cpp.o [ 69%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_block_page.cpp.o [ 71%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_header_page.cpp.o [ 74%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/header_page.cpp.o [ 74%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/table_page.cpp.o [ 76%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/table_heap.cpp.o [ 79%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/table_iterator.cpp.o [ 79%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/tuple.cpp.o [ 82%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/bigint_type.cpp.o [ 84%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/boolean_type.cpp.o [ 84%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/decimal_type.cpp.o [ 87%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/integer_parent_type.cpp.o [ 89%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/integer_type.cpp.o [ 89%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/smallint_type.cpp.o [ 92%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/timestamp_type.cpp.o [ 94%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/tinyint_type.cpp.o [ 94%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/type.cpp.o [ 97%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/value.cpp.o [100%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/varlen_type.cpp.o [100%] Linking CXX shared library ../lib/libbustub_shared.so [100%] Built target bustub_shared

Scanning dependencies of target check-format Built target check-format

Scanning dependencies of target check-lint Built target check-lint

[ 2%] Built target thirdparty_murmur3 [ 97%] Built target bustub_shared [100%] Built target gtest Scanning dependencies of target check-clang-tidy Enabled checks: bugprone-argument-comment bugprone-assert-side-effect bugprone-bool-pointer-implicit-conversion bugprone-copy-constructor-init bugprone-dangling-handle bugprone-exception-escape bugprone-fold-init-type bugprone-forward-declaration-namespace bugprone-forwarding-reference-overload bugprone-inaccurate-erase bugprone-incorrect-roundings bugprone-integer-division bugprone-lambda-function-name bugprone-macro-parentheses bugprone-macro-repeated-side-effects bugprone-misplaced-operator-in-strlen-in-alloc bugprone-misplaced-widening-cast bugprone-move-forwarding-reference bugprone-multiple-statement-macro bugprone-narrowing-conversions bugprone-parent-virtual-call bugprone-sizeof-container bugprone-sizeof-expression bugprone-string-constructor bugprone-string-integer-assignment bugprone-string-literal-with-embedded-nul bugprone-suspicious-enum-usage bugprone-suspicious-memset-usage bugprone-suspicious-missing-comma bugprone-suspicious-semicolon bugprone-suspicious-string-compare bugprone-swapped-arguments bugprone-terminating-continue bugprone-throw-keyword-missing bugprone-undefined-memory-manipulation bugprone-undelegated-constructor bugprone-unused-raii bugprone-unused-return-value bugprone-use-after-move bugprone-virtual-near-miss clang-analyzer-apiModeling.StdCLibraryFunctions clang-analyzer-apiModeling.TrustNonnull clang-analyzer-apiModeling.google.GTest clang-analyzer-core.CallAndMessage clang-analyzer-core.DivideZero clang-analyzer-core.DynamicTypePropagation clang-analyzer-core.NonNullParamChecker clang-analyzer-core.NonnilStringConstants clang-analyzer-core.NullDereference clang-analyzer-core.StackAddressEscape clang-analyzer-core.UndefinedBinaryOperatorResult clang-analyzer-core.VLASize clang-analyzer-core.builtin.BuiltinFunctions clang-analyzer-core.builtin.NoReturnFunctions clang-analyzer-core.uninitialized.ArraySubscript clang-analyzer-core.uninitialized.Assign clang-analyzer-core.uninitialized.Branch clang-analyzer-core.uninitialized.CapturedBlockVariable clang-analyzer-core.uninitialized.UndefReturn clang-analyzer-cplusplus.InnerPointer clang-analyzer-cplusplus.Move clang-analyzer-cplusplus.SelfAssignment clang-analyzer-deadcode.DeadStores clang-analyzer-nullability.NullPassedToNonnull clang-analyzer-nullability.NullReturnedFromNonnull clang-analyzer-nullability.NullableDereferenced clang-analyzer-nullability.NullablePassedToNonnull clang-analyzer-nullability.NullableReturnedFromNonnull clang-analyzer-optin.cplusplus.VirtualCall clang-analyzer-optin.mpi.MPI-Checker clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker clang-analyzer-optin.performance.GCDAntipattern clang-analyzer-optin.performance.Padding clang-analyzer-optin.portability.UnixAPI clang-analyzer-osx.API clang-analyzer-osx.NumberObjectConversion clang-analyzer-osx.OSObjectRetainCount clang-analyzer-osx.ObjCProperty clang-analyzer-osx.SecKeychainAPI clang-analyzer-osx.cocoa.AtSync clang-analyzer-osx.cocoa.AutoreleaseWrite clang-analyzer-osx.cocoa.ClassRelease clang-analyzer-osx.cocoa.Dealloc clang-analyzer-osx.cocoa.IncompatibleMethodTypes clang-analyzer-osx.cocoa.Loops clang-analyzer-osx.cocoa.MissingSuperCall clang-analyzer-osx.cocoa.NSAutoreleasePool clang-analyzer-osx.cocoa.NSError clang-analyzer-osx.cocoa.NilArg clang-analyzer-osx.cocoa.NonNilReturnValue clang-analyzer-osx.cocoa.ObjCGenerics clang-analyzer-osx.cocoa.RetainCount clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak clang-analyzer-osx.cocoa.SelfInit clang-analyzer-osx.cocoa.SuperDealloc clang-analyzer-osx.cocoa.UnusedIvars clang-analyzer-osx.cocoa.VariadicMethodTypes clang-analyzer-osx.coreFoundation.CFError clang-analyzer-osx.coreFoundation.CFNumber clang-analyzer-osx.coreFoundation.CFRetainRelease clang-analyzer-osx.coreFoundation.containers.OutOfBounds clang-analyzer-osx.coreFoundation.containers.PointerSizedValues clang-analyzer-security.FloatLoopCounter clang-analyzer-security.insecureAPI.UncheckedReturn clang-analyzer-security.insecureAPI.bcmp clang-analyzer-security.insecureAPI.bcopy clang-analyzer-security.insecureAPI.bzero clang-analyzer-security.insecureAPI.getpw clang-analyzer-security.insecureAPI.gets clang-analyzer-security.insecureAPI.mkstemp clang-analyzer-security.insecureAPI.mktemp clang-analyzer-security.insecureAPI.rand clang-analyzer-security.insecureAPI.strcpy clang-analyzer-security.insecureAPI.vfork clang-analyzer-unix.API clang-analyzer-unix.Malloc clang-analyzer-unix.MallocSizeof clang-analyzer-unix.MismatchedDeallocator clang-analyzer-unix.Vfork clang-analyzer-unix.cstring.BadSizeArg clang-analyzer-unix.cstring.NullArg clang-analyzer-valist.CopyToSelf clang-analyzer-valist.Uninitialized clang-analyzer-valist.Unterminated google-build-explicit-make-pair google-build-namespaces google-build-using-namespace google-default-arguments google-explicit-constructor google-global-names-in-headers google-objc-avoid-throwing-exception google-objc-function-naming google-objc-global-variable-declaration google-readability-braces-around-statements google-readability-casting google-readability-function-size google-readability-namespace-comments google-readability-todo google-runtime-int google-runtime-operator google-runtime-references modernize-avoid-bind modernize-concat-nested-namespaces modernize-deprecated-headers modernize-deprecated-ios-base-aliases modernize-loop-convert modernize-make-shared modernize-make-unique modernize-pass-by-value modernize-raw-string-literal modernize-redundant-void-arg modernize-replace-auto-ptr modernize-replace-random-shuffle modernize-return-braced-init-list modernize-shrink-to-fit modernize-unary-static-assert modernize-use-bool-literals modernize-use-default-member-init modernize-use-emplace modernize-use-equals-default modernize-use-equals-delete modernize-use-noexcept modernize-use-nullptr modernize-use-override modernize-use-transparent-functors modernize-use-uncaught-exceptions modernize-use-using performance-faster-string-find performance-for-range-copy performance-implicit-conversion-in-loop performance-inefficient-algorithm performance-inefficient-string-concatenation performance-inefficient-vector-operation performance-move-const-arg performance-move-constructor-init performance-noexcept-move-constructor performance-type-promotion-in-math-fn performance-unnecessary-copy-initialization performance-unnecessary-value-param portability-simd-intrinsics readability-avoid-const-params-in-decls readability-braces-around-statements readability-const-return-type readability-container-size-empty readability-delete-null-pointer readability-deleted-default readability-else-after-return readability-function-size readability-identifier-naming readability-implicit-bool-conversion readability-inconsistent-declaration-parameter-name readability-isolate-declaration readability-misleading-indentation readability-misplaced-array-index readability-named-parameter readability-non-const-parameter readability-redundant-control-flow readability-redundant-declaration readability-redundant-function-ptr-dereference readability-redundant-member-init readability-redundant-preprocessor readability-redundant-smartptr-get readability-redundant-string-cstr readability-redundant-string-init readability-simplify-boolean-expr readability-simplify-subscript-expr readability-static-accessed-through-instance readability-static-definition-in-anonymous-namespace readability-string-compare readability-uniqueptr-delete-release readability-uppercase-literal-suffix

Checking: /autograder/bustub/build/googletest-src/googlemock/src/gmock_main.cc Checking: /autograder/bustub/build/googletest-src/googlemock/src/gmock-all.cc Checking: /autograder/bustub/build/googletest-src/googletest/src/gtest_main.cc Checking: /autograder/bustub/build/googletest-src/googletest/src/gtest-all.cc Checking: /autograder/bustub/src/buffer/buffer_pool_manager.cpp Checking: /autograder/bustub/src/buffer/clock_replacer.cpp Checking: /autograder/bustub/src/buffer/lru_replacer.cpp Checking: /autograder/bustub/src/catalog/column.cpp Checking: /autograder/bustub/src/catalog/schema.cpp Checking: /autograder/bustub/src/catalog/table_generator.cpp Checking: /autograder/bustub/src/common/config.cpp Checking: /autograder/bustub/src/common/util/string_util.cpp Checking: /autograder/bustub/src/concurrency/lock_manager.cpp Checking: /autograder/bustub/src/concurrency/transaction_manager.cpp Checking: /autograder/bustub/src/container/hash/linear_probe_hash_table.cpp Checking: /autograder/bustub/src/execution/aggregation_executor.cpp Checking: /autograder/bustub/src/execution/delete_executor.cpp Checking: /autograder/bustub/src/execution/executor_factory.cpp Checking: /autograder/bustub/src/execution/index_scan_executor.cpp Checking: /autograder/bustub/src/execution/insert_executor.cpp Checking: /autograder/bustub/src/execution/limit_executor.cpp Checking: /autograder/bustub/src/execution/nested_index_join_executor.cpp Checking: /autograder/bustub/src/execution/nested_loop_join_executor.cpp Checking: /autograder/bustub/src/execution/seq_scan_executor.cpp Checking: /autograder/bustub/src/execution/update_executor.cpp Checking: /autograder/bustub/src/recovery/checkpoint_manager.cpp Checking: /autograder/bustub/src/recovery/log_manager.cpp Checking: /autograder/bustub/src/recovery/log_recovery.cpp Checking: /autograder/bustub/src/storage/disk/disk_manager.cpp Checking: /autograder/bustub/src/storage/index/b_plus_tree.cpp Checking: /autograder/bustub/src/storage/index/b_plus_tree_index.cpp Checking: /autograder/bustub/src/storage/index/index_iterator.cpp Checking: /autograder/bustub/src/storage/index/linear_probe_hash_table_index.cpp Checking: /autograder/bustub/src/storage/page/b_plus_tree_internal_page.cpp Checking: /autograder/bustub/src/storage/page/b_plus_tree_leaf_page.cpp Checking: /autograder/bustub/src/storage/page/b_plus_tree_page.cpp Checking: /autograder/bustub/src/storage/page/hash_table_block_page.cpp Checking: /autograder/bustub/src/storage/page/hash_table_header_page.cpp Checking: /autograder/bustub/src/storage/page/header_page.cpp Checking: /autograder/bustub/src/storage/page/table_page.cpp Checking: /autograder/bustub/src/storage/table/table_heap.cpp Checking: /autograder/bustub/src/storage/table/table_iterator.cpp Checking: /autograder/bustub/src/storage/table/tuple.cpp Checking: /autograder/bustub/src/type/bigint_type.cpp Checking: /autograder/bustub/src/type/boolean_type.cpp Checking: /autograder/bustub/src/type/decimal_type.cpp Checking: /autograder/bustub/src/type/integer_parent_type.cpp Checking: /autograder/bustub/src/type/integer_type.cpp Checking: /autograder/bustub/src/type/smallint_type.cpp Checking: /autograder/bustub/src/type/timestamp_type.cpp Checking: /autograder/bustub/src/type/tinyint_type.cpp Checking: /autograder/bustub/src/type/type.cpp Checking: /autograder/bustub/src/type/value.cpp Checking: /autograder/bustub/src/type/varlen_type.cpp Checking: /autograder/bustub/third_party/murmur3/MurmurHash3.cpp Checking: /autograder/bustub/test/type/type_test.cpp Checking: /autograder/bustub/test/table/tuple_test.cpp Checking: /autograder/bustub/test/storage/tmp_tuple_page_test.cpp Checking: /autograder/bustub/test/storage/grading_b_plus_tree_test.cpp Checking: /autograder/bustub/test/storage/grading_b_plus_tree_memory_test.cpp Checking: /autograder/bustub/test/storage/grading_b_plus_tree_checkpoint_2_sequential_test.cpp Checking: /autograder/bustub/test/storage/grading_b_plus_tree_checkpoint_1_test.cpp Checking: /autograder/bustub/test/storage/grading_b_plus_tree_checkpoint_2_concurrent_test.cpp Checking: /autograder/bustub/test/storage/grading_b_plus_tree_bench_test.cpp /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1352:11: error: The left operand of '==' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult,-warnings-as-errors] if (lhs == rhs) { ^ /autograder/bustub/test/storage/tmp_tuple_page_test.cpp:32:3: note: Control jumps to 'case 0:' at line 32 ASSERT_EQ(reinterpret_cast<page_id_t >(data), page_id); ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1869:31: note: expanded from macro 'ASSERT_EQ'

define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2)

                          ^

/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1853:3: note: expanded from macro 'GTEST_ASSERT_EQ' ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:148:3: note: expanded from macro 'ASSERT_PRED_FORMAT2' GTEST_PREDFORMAT2(pred_format, v1, v2, GTEST_FATALFAILURE) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:3: note: expanded from macro 'GTEST_PREDFORMAT2' GTESTASSERT(pred_format(#v1, #v2, v1, v2), on_failure) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:78:3: note: expanded from macro 'GTESTASSERT' GTEST_AMBIGUOUS_ELSEBLOCKER \ ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/internal/gtest-port.h:644:3: note: expanded from macro 'GTEST_AMBIGUOUS_ELSEBLOCKER' switch (0) \ ^ /autograder/bustub/test/storage/tmp_tuple_page_test.cpp:32:3: note: Calling 'EqHelper::Compare' ASSERT_EQ(reinterpret_cast<page_id_t >(data), page_id); ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1869:31: note: expanded from macro 'ASSERT_EQ'

define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2)

                          ^

/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1853:23: note: expanded from macro 'GTEST_ASSERT_EQ' ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:148:23: note: expanded from macro 'ASSERT_PRED_FORMAT2' GTEST_PREDFORMAT2(pred_format, v1, v2, GTEST_FATALFAILURE) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:17: note: expanded from macro 'GTEST_PREDFORMAT2' GTESTASSERT(pred_format(#v1, #v2, v1, v2), on_failure) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTESTASSERT' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1371:56: note: Passing value via 3rd parameter 'lhs' return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs); ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1371:12: note: Calling 'CmpHelperEQ<int, int>' return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs); ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1352:11: note: The left operand of '==' is a garbage value if (lhs == rhs) { ^

Checking: /autograder/bustub/test/concurrency/grading_transaction_test.cpp Checking: /autograder/bustub/test/concurrency/grading_lock_manager_detection_test.cpp Checking: /autograder/bustub/test/concurrency/transaction_test.cpp Checking: /autograder/bustub/test/execution/grading_executor_benchmark_test.cpp Checking: /autograder/bustub/test/catalog/catalog_test.cpp Checking: /autograder/bustub/test/buffer/lru_replacer_test.cpp Checking: /autograder/bustub/test/execution/executor_test.cpp Checking: /autograder/bustub/test/concurrency/grading_rollback_test.cpp Checking: /autograder/bustub/test/catalog/grading_catalog_test.cpp Checking: /autograder/bustub/test/primer/grading_starter_test.cpp Checking: /autograder/bustub/test/common/rwlatch_test.cpp Checking: /autograder/bustub/test/buffer/buffer_pool_manager_test.cpp Checking: /autograder/bustub/test/concurrency/grading_lock_manager_1_test.cpp Checking: /autograder/bustub/test/buffer/grading_buffer_pool_manager_test.cpp Checking: /autograder/bustub/test/storage/b_plus_tree_delete_test.cpp Checking: /autograder/bustub/test/buffer/grading_clock_replacer_test.cpp Checking: /autograder/bustub/test/container/grading_hash_table_concurrent_test.cpp Checking: /autograder/bustub/test/container/grading_hash_table_page_test.cpp Checking: /autograder/bustub/test/container/grading_hash_table_test.cpp Checking: /autograder/bustub/test/container/grading_hash_table_verification_test.cpp Checking: /autograder/bustub/test/concurrency/lock_manager_test.cpp Checking: /autograder/bustub/test/container/hash_table_page_test.cpp Checking: /autograder/bustub/test/container/hash_table_test.cpp Checking: /autograder/bustub/test/concurrency/grading_lock_manager_2_test.cpp Checking: /autograder/bustub/test/execution/grading_executor_test.cpp Checking: /autograder/bustub/test/buffer/clock_replacer_test.cpp Checking: /autograder/bustub/test/storage/b_plus_tree_print_test.cpp Checking: /autograder/bustub/test/storage/disk_manager_test.cpp Checking: /autograder/bustub/test/concurrency/grading_lock_manager_3_test.cpp Checking: /autograder/bustub/test/recovery/grading_recovery_test.cpp Checking: /autograder/bustub/test/primer/starter_test.cpp Checking: /autograder/bustub/test/recovery/recovery_test.cpp Checking: /autograder/bustub/test/storage/grading_tmp_tuple_page_test.cpp Checking: /autograder/bustub/test/storage/b_plus_tree_concurrent_test.cpp Checking: /autograder/bustub/test/storage/b_plus_tree_insert_test.cpp /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1352:11: error: The left operand of '==' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult,-warnings-as-errors] if (lhs == rhs) { ^ /autograder/bustub/test/storage/grading_tmp_tuple_page_test.cpp:101:3: note: Control jumps to 'case 0:' at line 101 ASSERT_EQ(reinterpret_cast<page_id_t >(data), page_id); ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1869:31: note: expanded from macro 'ASSERT_EQ'

define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2)

                          ^

/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1853:3: note: expanded from macro 'GTEST_ASSERT_EQ' ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:148:3: note: expanded from macro 'ASSERT_PRED_FORMAT2' GTEST_PREDFORMAT2(pred_format, v1, v2, GTEST_FATALFAILURE) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:3: note: expanded from macro 'GTEST_PREDFORMAT2' GTESTASSERT(pred_format(#v1, #v2, v1, v2), on_failure) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:78:3: note: expanded from macro 'GTESTASSERT' GTEST_AMBIGUOUS_ELSEBLOCKER \ ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/internal/gtest-port.h:644:3: note: expanded from macro 'GTEST_AMBIGUOUS_ELSEBLOCKER' switch (0) \ ^ /autograder/bustub/test/storage/grading_tmp_tuple_page_test.cpp:101:3: note: Calling 'EqHelper::Compare' ASSERT_EQ(reinterpret_cast<page_id_t >(data), page_id); ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1869:31: note: expanded from macro 'ASSERT_EQ'

define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2)

                          ^

/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1853:23: note: expanded from macro 'GTEST_ASSERT_EQ' ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:148:23: note: expanded from macro 'ASSERT_PRED_FORMAT2' GTEST_PREDFORMAT2(pred_format, v1, v2, GTEST_FATALFAILURE) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:17: note: expanded from macro 'GTEST_PREDFORMAT2' GTESTASSERT(pred_format(#v1, #v2, v1, v2), on_failure) ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTESTASSERT' if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1371:56: note: Passing value via 3rd parameter 'lhs' return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs); ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1371:12: note: Calling 'CmpHelperEQ<int, int>' return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs); ^ /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1352:11: note: The left operand of '==' is a garbage value if (lhs == rhs) { ^ The files that failed were: [u'/autograder/bustub/test/storage/tmp_tuple_page_test.cpp', u'/autograder/bustub/test/storage/grading_tmp_tuple_page_test.cpp'] Note that a failing .h file will fail all the .cpp files that include it.

CMakeFiles/check-clang-tidy.dir/build.make:57: recipe for target 'CMakeFiles/check-clang-tidy' failed make[3]: [CMakeFiles/check-clang-tidy] Error 1 CMakeFiles/Makefile2:164: recipe for target 'CMakeFiles/check-clang-tidy.dir/all' failed make[2]: [CMakeFiles/check-clang-tidy.dir/all] Error 2 CMakeFiles/Makefile2:171: recipe for target 'CMakeFiles/check-clang-tidy.dir/rule' failed make[1]: [CMakeFiles/check-clang-tidy.dir/rule] Error 2 Makefile:214: recipe for target 'check-clang-tidy' failed make: [check-clang-tidy] Error 2

Called process exited with 2 [ 1%] Built target thirdparty_murmur3 [ 2%] Built target gtest [ 3%] Built target gmock [ 4%] Built target gmock_main [ 38%] Built target bustub_shared Scanning dependencies of target b_plus_tree_insert_test [ 39%] Building CXX object test/CMakeFiles/b_plus_tree_insert_test.dir/storage/b_plus_tree_insert_test.cpp.o [ 40%] Linking CXX executable b_plus_tree_insert_test [ 40%] Built target b_plus_tree_insert_test Scanning dependencies of target type_test [ 41%] Building CXX object test/CMakeFiles/type_test.dir/type/type_test.cpp.o [ 42%] Linking CXX executable type_test [ 42%] Built target type_test Scanning dependencies of target tuple_test [ 42%] Building CXX object test/CMakeFiles/tuple_test.dir/table/tuple_test.cpp.o [ 43%] Linking CXX executable tuple_test [ 43%] Built target tuple_test Scanning dependencies of target tmp_tuple_page_test [ 44%] Building CXX object test/CMakeFiles/tmp_tuple_page_test.dir/storage/tmp_tuple_page_test.cpp.o [ 44%] Linking CXX executable tmp_tuple_page_test [ 44%] Built target tmp_tuple_page_test Scanning dependencies of target grading_b_plus_tree_test [ 45%] Building CXX object test/CMakeFiles/grading_b_plus_tree_test.dir/storage/grading_b_plus_tree_test.cpp.o [ 46%] Linking CXX executable grading_b_plus_tree_test [ 46%] Built target grading_b_plus_tree_test Scanning dependencies of target grading_b_plus_tree_memory_test [ 47%] Building CXX object test/CMakeFiles/grading_b_plus_tree_memory_test.dir/storage/grading_b_plus_tree_memory_test.cpp.o [ 47%] Linking CXX executable grading_b_plus_tree_memory_test [ 47%] Built target grading_b_plus_tree_memory_test Scanning dependencies of target grading_b_plus_tree_checkpoint_2_sequential_test [ 47%] Building CXX object test/CMakeFiles/grading_b_plus_tree_checkpoint_2_sequential_test.dir/storage/grading_b_plus_tree_checkpoint_2_sequential_test.cpp.o [ 48%] Linking CXX executable grading_b_plus_tree_checkpoint_2_sequential_test [ 48%] Built target grading_b_plus_tree_checkpoint_2_sequential_test Scanning dependencies of target grading_b_plus_tree_checkpoint_1_test [ 49%] Building CXX object test/CMakeFiles/grading_b_plus_tree_checkpoint_1_test.dir/storage/grading_b_plus_tree_checkpoint_1_test.cpp.o [ 49%] Linking CXX executable grading_b_plus_tree_checkpoint_1_test [ 49%] Built target grading_b_plus_tree_checkpoint_1_test Scanning dependencies of target grading_b_plus_tree_checkpoint_2_concurrent_test [ 50%] Building CXX object test/CMakeFiles/grading_b_plus_tree_checkpoint_2_concurrent_test.dir/storage/grading_b_plus_tree_checkpoint_2_concurrent_test.cpp.o [ 51%] Linking CXX executable grading_b_plus_tree_checkpoint_2_concurrent_test [ 51%] Built target grading_b_plus_tree_checkpoint_2_concurrent_test Scanning dependencies of target grading_b_plus_tree_bench_test [ 52%] Building CXX object test/CMakeFiles/grading_b_plus_tree_bench_test.dir/storage/grading_b_plus_tree_bench_test.cpp.o [ 53%] Linking CXX executable grading_b_plus_tree_bench_test [ 53%] Built target grading_b_plus_tree_bench_test Scanning dependencies of target grading_transaction_test [ 54%] Building CXX object test/CMakeFiles/grading_transaction_test.dir/concurrency/grading_transaction_test.cpp.o [ 55%] Linking CXX executable grading_transaction_test [ 55%] Built target grading_transaction_test Scanning dependencies of target grading_lock_manager_detection_test [ 55%] Building CXX object test/CMakeFiles/grading_lock_manager_detection_test.dir/concurrency/grading_lock_manager_detection_test.cpp.o [ 56%] Linking CXX executable grading_lock_manager_detection_test [ 56%] Built target grading_lock_manager_detection_test Scanning dependencies of target transaction_test [ 57%] Building CXX object test/CMakeFiles/transaction_test.dir/concurrency/transaction_test.cpp.o [ 58%] Linking CXX executable transaction_test [ 58%] Built target transaction_test Scanning dependencies of target grading_executor_benchmark_test [ 58%] Building CXX object test/CMakeFiles/grading_executor_benchmark_test.dir/execution/grading_executor_benchmark_test.cpp.o [ 59%] Linking CXX executable grading_executor_benchmark_test [ 59%] Built target grading_executor_benchmark_test Scanning dependencies of target catalog_test [ 60%] Building CXX object test/CMakeFiles/catalog_test.dir/catalog/catalog_test.cpp.o [ 61%] Linking CXX executable catalog_test [ 61%] Built target catalog_test Scanning dependencies of target lru_replacer_test [ 62%] Building CXX object test/CMakeFiles/lru_replacer_test.dir/buffer/lru_replacer_test.cpp.o [ 63%] Linking CXX executable lru_replacer_test [ 63%] Built target lru_replacer_test Scanning dependencies of target executor_test [ 64%] Building CXX object test/CMakeFiles/executor_test.dir/execution/executor_test.cpp.o [ 65%] Linking CXX executable executor_test [ 65%] Built target executor_test Scanning dependencies of target grading_rollback_test [ 66%] Building CXX object test/CMakeFiles/grading_rollback_test.dir/concurrency/grading_rollback_test.cpp.o [ 67%] Linking CXX executable grading_rollback_test [ 67%] Built target grading_rollback_test Scanning dependencies of target grading_catalog_test [ 68%] Building CXX object test/CMakeFiles/grading_catalog_test.dir/catalog/grading_catalog_test.cpp.o [ 68%] Linking CXX executable grading_catalog_test [ 68%] Built target grading_catalog_test Scanning dependencies of target grading_starter_test [ 68%] Building CXX object test/CMakeFiles/grading_starter_test.dir/primer/grading_starter_test.cpp.o [ 69%] Linking CXX executable grading_starter_test [ 69%] Built target grading_starter_test Scanning dependencies of target rwlatch_test [ 70%] Building CXX object test/CMakeFiles/rwlatch_test.dir/common/rwlatch_test.cpp.o [ 70%] Linking CXX executable rwlatch_test [ 70%] Built target rwlatch_test Scanning dependencies of target buffer_pool_manager_test [ 71%] Building CXX object test/CMakeFiles/buffer_pool_manager_test.dir/buffer/buffer_pool_manager_test.cpp.o [ 71%] Linking CXX executable buffer_pool_manager_test [ 71%] Built target buffer_pool_manager_test Scanning dependencies of target grading_lock_manager_1_test [ 71%] Building CXX object test/CMakeFiles/grading_lock_manager_1_test.dir/concurrency/grading_lock_manager_1_test.cpp.o [ 72%] Linking CXX executable grading_lock_manager_1_test [ 72%] Built target grading_lock_manager_1_test Scanning dependencies of target grading_buffer_pool_manager_test [ 72%] Building CXX object test/CMakeFiles/grading_buffer_pool_manager_test.dir/buffer/grading_buffer_pool_manager_test.cpp.o [ 73%] Linking CXX executable grading_buffer_pool_manager_test [ 73%] Built target grading_buffer_pool_manager_test Scanning dependencies of target b_plus_tree_delete_test [ 74%] Building CXX object test/CMakeFiles/b_plus_tree_delete_test.dir/storage/b_plus_tree_delete_test.cpp.o [ 74%] Linking CXX executable b_plus_tree_delete_test [ 74%] Built target b_plus_tree_delete_test Scanning dependencies of target grading_clock_replacer_test [ 75%] Building CXX object test/CMakeFiles/grading_clock_replacer_test.dir/buffer/grading_clock_replacer_test.cpp.o [ 76%] Linking CXX executable grading_clock_replacer_test [ 76%] Built target grading_clock_replacer_test Scanning dependencies of target grading_hash_table_concurrent_test [ 77%] Building CXX object test/CMakeFiles/grading_hash_table_concurrent_test.dir/container/grading_hash_table_concurrent_test.cpp.o [ 78%] Linking CXX executable grading_hash_table_concurrent_test [ 78%] Built target grading_hash_table_concurrent_test Scanning dependencies of target grading_hash_table_page_test [ 78%] Building CXX object test/CMakeFiles/grading_hash_table_page_test.dir/container/grading_hash_table_page_test.cpp.o [ 79%] Linking CXX executable grading_hash_table_page_test [ 79%] Built target grading_hash_table_page_test Scanning dependencies of target grading_hash_table_test [ 80%] Building CXX object test/CMakeFiles/grading_hash_table_test.dir/container/grading_hash_table_test.cpp.o [ 80%] Linking CXX executable grading_hash_table_test [ 80%] Built target grading_hash_table_test Scanning dependencies of target grading_hash_table_verification_test [ 81%] Building CXX object test/CMakeFiles/grading_hash_table_verification_test.dir/container/grading_hash_table_verification_test.cpp.o [ 82%] Linking CXX executable grading_hash_table_verification_test [ 82%] Built target grading_hash_table_verification_test Scanning dependencies of target lock_manager_test [ 83%] Building CXX object test/CMakeFiles/lock_manager_test.dir/concurrency/lock_manager_test.cpp.o [ 83%] Linking CXX executable lock_manager_test [ 83%] Built target lock_manager_test Scanning dependencies of target hash_table_page_test [ 84%] Building CXX object test/CMakeFiles/hash_table_page_test.dir/container/hash_table_page_test.cpp.o [ 85%] Linking CXX executable hash_table_page_test [ 85%] Built target hash_table_page_test Scanning dependencies of target hash_table_test [ 85%] Building CXX object test/CMakeFiles/hash_table_test.dir/container/hash_table_test.cpp.o [ 86%] Linking CXX executable hash_table_test [ 86%] Built target hash_table_test Scanning dependencies of target grading_lock_manager_2_test [ 87%] Building CXX object test/CMakeFiles/grading_lock_manager_2_test.dir/concurrency/grading_lock_manager_2_test.cpp.o [ 87%] Linking CXX executable grading_lock_manager_2_test [ 87%] Built target grading_lock_manager_2_test Scanning dependencies of target grading_executor_test [ 88%] Building CXX object test/CMakeFiles/grading_executor_test.dir/execution/grading_executor_test.cpp.o [ 88%] Linking CXX executable grading_executor_test [ 88%] Built target grading_executor_test Scanning dependencies of target clock_replacer_test [ 88%] Building CXX object test/CMakeFiles/clock_replacer_test.dir/buffer/clock_replacer_test.cpp.o [ 89%] Linking CXX executable clock_replacer_test [ 89%] Built target clock_replacer_test Scanning dependencies of target b_plus_tree_print_test [ 89%] Building CXX object test/CMakeFiles/b_plus_tree_print_test.dir/storage/b_plus_tree_print_test.cpp.o [ 90%] Linking CXX executable b_plus_tree_print_test [ 90%] Built target b_plus_tree_print_test Scanning dependencies of target disk_manager_test [ 91%] Building CXX object test/CMakeFiles/disk_manager_test.dir/storage/disk_manager_test.cpp.o [ 91%] Linking CXX executable disk_manager_test [ 91%] Built target disk_manager_test Scanning dependencies of target grading_lock_manager_3_test [ 92%] Building CXX object test/CMakeFiles/grading_lock_manager_3_test.dir/concurrency/grading_lock_manager_3_test.cpp.o [ 93%] Linking CXX executable grading_lock_manager_3_test [ 93%] Built target grading_lock_manager_3_test Scanning dependencies of target grading_recovery_test [ 94%] Building CXX object test/CMakeFiles/grading_recovery_test.dir/recovery/grading_recovery_test.cpp.o [ 94%] Linking CXX executable grading_recovery_test [ 94%] Built target grading_recovery_test Scanning dependencies of target starter_test [ 95%] Building CXX object test/CMakeFiles/starter_test.dir/primer/starter_test.cpp.o [ 96%] Linking CXX executable starter_test [ 96%] Built target starter_test Scanning dependencies of target recovery_test [ 96%] Building CXX object test/CMakeFiles/recovery_test.dir/recovery/recovery_test.cpp.o [ 97%] Linking CXX executable recovery_test [ 97%] Built target recovery_test Scanning dependencies of target grading_tmp_tuple_page_test [ 98%] Building CXX object test/CMakeFiles/grading_tmp_tuple_page_test.dir/storage/grading_tmp_tuple_page_test.cpp.o [ 98%] Linking CXX executable grading_tmp_tuple_page_test [ 98%] Built target grading_tmp_tuple_page_test Scanning dependencies of target b_plus_tree_concurrent_test [ 98%] Building CXX object test/CMakeFiles/b_plus_tree_concurrent_test.dir/storage/b_plus_tree_concurrent_test.cpp.o [100%] Linking CXX executable b_plus_tree_concurrent_test [100%] Built target b_plus_tree_concurrent_test Scanning dependencies of target build-tests Test project /autograder/bustub/build/test Test #1: buffer_pool_manager_test Test #2: clock_replacer_test Test #3: grading_buffer_pool_manager_test Test #4: grading_clock_replacer_test Test #5: lru_replacer_test Test #6: catalog_test Test #7: grading_catalog_test Test #8: rwlatch_test Test #9: grading_lock_manager_1_test Test #10: grading_lock_manager_2_test Test #11: grading_lock_manager_3_test Test #12: grading_lock_manager_detection_test Test #13: grading_rollback_test Test #14: grading_transaction_test Test #15: lock_manager_test Test #16: transaction_test Test #17: grading_hash_table_concurrent_test Test #18: grading_hash_table_page_test Test #19: grading_hash_table_test Test #20: grading_hash_table_verification_test Test #21: hash_table_page_test Test #22: hash_table_test Test #23: executor_test Test #24: grading_executor_benchmark_test Test #25: grading_executor_test Test #26: grading_starter_test Test #27: starter_test Test #28: grading_recovery_test Test #29: recovery_test Test #30: b_plus_tree_concurrent_test Test #31: b_plus_tree_delete_test Test #32: b_plus_tree_insert_test Test #33: b_plus_tree_print_test Test #34: disk_manager_test Test #35: grading_b_plus_tree_bench_test Test #36: grading_b_plus_tree_checkpoint_1_test Test #37: grading_b_plus_tree_checkpoint_2_concurrent_test Test #38: grading_b_plus_tree_checkpoint_2_sequential_test Test #39: grading_b_plus_tree_memory_test Test #40: grading_b_plus_tree_test Test #41: grading_tmp_tuple_page_test Test #42: tmp_tuple_page_test Test #43: tuple_test Test #44: type_test

Total Tests: 44 [100%] Built target build-tests

Test Failed: Build failed.

bencwallace commented 2 years ago

Same problem here. #225 seems to have to fixed things in the repo but not on gradescope.

mattyyeung commented 2 years ago

@apavlo @Liuheng22 Sadly #225 seems to remain on gradescope.

Failure began here when a fresh rebuild pulled a new version of GTest. Applying commit 08e6774 locally fixes the issue for tmp_tuple_page_test.cpp but gradescope still reports that tmp_tuple_page_test.cpp and grading_tmp_tuple_page_test.cpp are failing with same error.

Perhaps fix 08e6774 hasn't propagated to gradescope? Otherwise, a workaround could be to add // NOLINT to lines 32, 33, 46, 47, 48 of tmp_tuple_page_test.cpp and any similar lines in grading_tmp_tuple_page_test.cpp (seems that GTest has found circumstances when dereferencing char *data ... false positive?).

(And, while I have your eyeballs, thanks very much for providing these materials. We are all grateful.)

apavlo commented 2 years ago

I need to update Gradescope tonight. Busy time in the semester. Sorry for the delay.

On Thu, Mar 24, 2022, 11:31 AM mattyyeung @.***> wrote:

@apavlo https://github.com/apavlo @Liuheng22 https://github.com/Liuheng22 Sadly #225 https://github.com/cmu-db/bustub/issues/225 seems to remain on gradescope.

Failure began here when a fresh rebuild pulled a new version of GTest. Applying commit 08e6774 locally fixes the issue for tmp_tuple_page_test.cpp but gradescope still reports that tmp_tuple_page_test.cpp and grading_tmp_tuple_page_test.cpp are failing with same error.

Perhaps fix 08e6774 hasn't propagated to gradescope? Otherwise, a workaround could be to add // NOLINT to lines 32, 33, 46, 47, 48 of tmp_tuple_page_test.cpp and any similar lines in grading_tmp_tuple_page_test.cpp (seems that GTest has found circumstances when dereferencing char *data ... false positive?).

(And, while I have your eyeballs, thanks very much for providing these materials. We are all grateful.)

— Reply to this email directly, view it on GitHub https://github.com/cmu-db/bustub/issues/227#issuecomment-1077759399, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFPJXN2JSGFEURFLHO4VTLVBSDF3ANCNFSM5RRGDDUA . You are receiving this because you were mentioned.Message ID: @.***>

LucasHeng commented 2 years ago

Just add the /src/include/storage/page/tmp_tuple_page.h in your submission。the file will overwrite the original file.And the #225 will be fixed.

LucasHeng commented 2 years ago

@mattyyeung

mattyyeung commented 2 years ago

Worked great! Gradescope works again after I did that. Thanks very much for your help and for providing the public course in general.

shmiwy commented 2 years ago

@Liuheng22 Gradescope works again after I submit that file and gtest_CMakeLists.txt.in (20fall all labs). Thanks very much for your help.

2w1nd commented 2 years ago

I still report an error when submitting


b''
b''
b''
b''
b'-- The C compiler identification is GNU 7.5.0\n-- The CXX compiler identification is GNU 7.5.0\n-- Check for working C compiler: /usr/bin/cc\n-- Check for working C compiler: /usr/bin/cc -- works\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Check for working CXX compiler: /usr/bin/c++\n-- Check for working CXX compiler: /usr/bin/c++ -- works\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\n-- BusTub/main found clang-format at /usr/bin/clang-format-8\n-- BusTub/main found clang-tidy at /usr/bin/clang-tidy-8\n-- BusTub/main found cpplint at /autograder/bustub/build_support/cpplint.py\n-- Configuring done\n-- Generating done\n-- Build files have been written to: /autograder/bustub/build/googletest-download\nScanning dependencies of target googletest\n[ 11%] Creating directories for \'googletest\'\n[ 22%] Performing download step (git clone) for \'googletest\'\nCloning into \'googletest-src\'...\nAlready on \'main\'\nYour branch is up to date with \'origin/main\'.\n[ 33%] No patch step for \'googletest\'\n[ 44%] Performing update step for \'googletest\'\nCurrent branch main is up to date.\n[ 55%] No configure step for \'googletest\'\n[ 66%] No build step for \'googletest\'\n[ 77%] No install step for \'googletest\'\n[ 88%] No test step for \'googletest\'\n[100%] Completed \'googletest\'\n[100%] Built target googletest\n-- Found PythonInterp: /usr/bin/python (found version "2.7.17") \n-- Looking for pthread.h\n-- Looking for pthread.h - found\n-- Looking for pthread_create\n-- Looking for pthread_create - not found\n-- Looking for pthread_create in pthreads\n-- Looking for pthread_create in pthreads - not found\n-- Looking for pthread_create in pthread\n-- Looking for pthread_create in pthread - found\n-- Found Threads: TRUE  \n-- CMAKE_CXX_FLAGS:  -fPIC -Wall -Wextra -Werror -march=native -Wno-unused-parameter -Wno-attributes\n-- CMAKE_CXX_FLAGS_DEBUG: -g -O0 -ggdb -fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls\n-- CMAKE_EXE_LINKER_FLAGS:  -fPIC\n-- CMAKE_SHARED_LINKER_FLAGS:  -fPIC\n-- BusTub/test found valgrind at /usr/bin/valgrind\n-- Configuring done\n-- Generating done\n-- Build files have been written to: /autograder/bustub/build\n'
b'Scanning dependencies of target thirdparty_murmur3\nScanning dependencies of target gtest\n[  2%] Building CXX object src/CMakeFiles/thirdparty_murmur3.dir/__/third_party/murmur3/MurmurHash3.cpp.o\n[  5%] Building CXX object googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o\n[  5%] Linking CXX shared library ../lib/libthirdparty_murmur3.so\n[  5%] Built target thirdparty_murmur3\nScanning dependencies of target bustub_shared\n[  5%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/buffer_pool_manager_instance.cpp.o\n[  7%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/clock_replacer.cpp.o\n[ 10%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/lru_replacer.cpp.o\n[ 10%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/parallel_buffer_pool_manager.cpp.o\n[ 13%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/column.cpp.o\n[ 13%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/schema.cpp.o\n[ 15%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/table_generator.cpp.o\n[ 15%] Linking CXX shared library ../../lib/libgtest.so\n[ 15%] Built target gtest\n[ 15%] Building CXX object src/CMakeFiles/bustub_shared.dir/common/config.cpp.o\nScanning dependencies of target gmock\n[ 18%] Building CXX object src/CMakeFiles/bustub_shared.dir/common/util/string_util.cpp.o\n[ 18%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o\n[ 18%] Building CXX object src/CMakeFiles/bustub_shared.dir/concurrency/lock_manager.cpp.o\n[ 21%] Building CXX object src/CMakeFiles/bustub_shared.dir/concurrency/transaction_manager.cpp.o\n[ 23%] Linking CXX shared library ../../lib/libgmock.so\n[ 23%] Built target gmock\n[ 23%] Building CXX object src/CMakeFiles/bustub_shared.dir/container/hash/extendible_hash_table.cpp.o\nScanning dependencies of target gtest_main\n[ 26%] Building CXX object googletest-build/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o\n[ 28%] Building CXX object src/CMakeFiles/bustub_shared.dir/container/hash/linear_probe_hash_table.cpp.o\n[ 28%] Linking CXX shared library ../../lib/libgtest_main.so\n[ 28%] Built target gtest_main\n[ 31%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/aggregation_executor.cpp.o\nScanning dependencies of target gmock_main\n[ 34%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o\n[ 34%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/delete_executor.cpp.o\n[ 34%] Linking CXX shared library ../../lib/libgmock_main.so\n[ 34%] Built target gmock_main\n[ 36%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/distinct_executor.cpp.o\n[ 36%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/executor_factory.cpp.o\n[ 39%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/hash_join_executor.cpp.o\n[ 39%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/index_scan_executor.cpp.o\n[ 42%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/insert_executor.cpp.o\n[ 42%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/limit_executor.cpp.o\n[ 44%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/mock_scan_executor.cpp.o\n[ 44%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/nested_index_join_executor.cpp.o\n[ 47%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/nested_loop_join_executor.cpp.o\n[ 50%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/seq_scan_executor.cpp.o\n[ 50%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/update_executor.cpp.o\n[ 52%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/checkpoint_manager.cpp.o\n[ 52%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/log_manager.cpp.o\n[ 55%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/log_recovery.cpp.o\n[ 55%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/disk/disk_manager.cpp.o\n[ 57%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/disk/disk_manager_memory.cpp.o\n[ 57%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/b_plus_tree.cpp.o\n[ 60%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/b_plus_tree_index.cpp.o\n[ 60%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/extendible_hash_table_index.cpp.o\n[ 63%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/index_iterator.cpp.o\n[ 65%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/linear_probe_hash_table_index.cpp.o\n[ 65%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/b_plus_tree_internal_page.cpp.o\n[ 68%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/b_plus_tree_leaf_page.cpp.o\n[ 68%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/b_plus_tree_page.cpp.o\n[ 71%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_block_page.cpp.o\n[ 71%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_bucket_page.cpp.o\n[ 73%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_directory_page.cpp.o\n[ 73%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_header_page.cpp.o\n[ 76%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/header_page.cpp.o\n[ 76%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/table_page.cpp.o\n[ 78%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/table_heap.cpp.o\n[ 78%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/table_iterator.cpp.o\n[ 81%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/tuple.cpp.o\n[ 84%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/bigint_type.cpp.o\n[ 84%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/boolean_type.cpp.o\n[ 86%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/decimal_type.cpp.o\n[ 86%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/integer_parent_type.cpp.o\n[ 89%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/integer_type.cpp.o\n[ 89%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/smallint_type.cpp.o\n[ 92%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/timestamp_type.cpp.o\n[ 92%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/tinyint_type.cpp.o\n[ 94%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/type.cpp.o\n[ 94%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/value.cpp.o\n[ 97%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/varlen_type.cpp.o\n[100%] Linking CXX shared library ../lib/libbustub_shared.so\n[100%] Built target bustub_shared\n'
b'Scanning dependencies of target check-format\nBuilt target check-format\n'
b"Scanning dependencies of target check-lint\n/autograder/bustub/src/include/primer/p0_starter.h:272:  Could not find a newline character at the end of the file.  [whitespace/ending_newline] [5]\nDone processing /autograder/bustub/src/include/primer/p0_starter.h\nTotal errors found: 1\nCMakeFiles/check-lint.dir/build.make:57: recipe for target 'CMakeFiles/check-lint' failed\nmake[3]: *** [CMakeFiles/check-lint] Error 123\nCMakeFiles/Makefile2:131: recipe for target 'CMakeFiles/check-lint.dir/all' failed\nmake[2]: *** [CMakeFiles/check-lint.dir/all] Error 2\nCMakeFiles/Makefile2:138: recipe for target 'CMakeFiles/check-lint.dir/rule' failed\nmake[1]: *** [CMakeFiles/check-lint.dir/rule] Error 2\nMakefile:201: recipe for target 'check-lint' failed\nmake: *** [check-lint] Error 2\n"
Called process exited with 2
b'[  2%] Built target thirdparty_murmur3\n[ 97%] Built target bustub_shared\n[100%] Built target gtest\nScanning dependencies of target check-clang-tidy\nEnabled checks:\n    bugprone-argument-comment\n    bugprone-assert-side-effect\n    bugprone-bool-pointer-implicit-conversion\n    bugprone-copy-constructor-init\n    bugprone-dangling-handle\n    bugprone-exception-escape\n    bugprone-fold-init-type\n    bugprone-forward-declaration-namespace\n    bugprone-forwarding-reference-overload\n    bugprone-inaccurate-erase\n    bugprone-incorrect-roundings\n    bugprone-integer-division\n    bugprone-lambda-function-name\n    bugprone-macro-parentheses\n    bugprone-macro-repeated-side-effects\n    bugprone-misplaced-operator-in-strlen-in-alloc\n    bugprone-misplaced-widening-cast\n    bugprone-move-forwarding-reference\n    bugprone-multiple-statement-macro\n    bugprone-narrowing-conversions\n    bugprone-parent-virtual-call\n    bugprone-sizeof-container\n    bugprone-sizeof-expression\n    bugprone-string-constructor\n    bugprone-string-integer-assignment\n    bugprone-string-literal-with-embedded-nul\n    bugprone-suspicious-enum-usage\n    bugprone-suspicious-memset-usage\n    bugprone-suspicious-missing-comma\n    bugprone-suspicious-semicolon\n    bugprone-suspicious-string-compare\n    bugprone-swapped-arguments\n    bugprone-terminating-continue\n    bugprone-throw-keyword-missing\n    bugprone-undefined-memory-manipulation\n    bugprone-undelegated-constructor\n    bugprone-unused-raii\n    bugprone-unused-return-value\n    bugprone-use-after-move\n    bugprone-virtual-near-miss\n    clang-analyzer-apiModeling.StdCLibraryFunctions\n    clang-analyzer-apiModeling.TrustNonnull\n    clang-analyzer-apiModeling.google.GTest\n    clang-analyzer-core.CallAndMessage\n    clang-analyzer-core.DivideZero\n    clang-analyzer-core.DynamicTypePropagation\n    clang-analyzer-core.NonNullParamChecker\n    clang-analyzer-core.NonnilStringConstants\n    clang-analyzer-core.NullDereference\n    clang-analyzer-core.StackAddressEscape\n    clang-analyzer-core.UndefinedBinaryOperatorResult\n    clang-analyzer-core.VLASize\n    clang-analyzer-core.builtin.BuiltinFunctions\n    clang-analyzer-core.builtin.NoReturnFunctions\n    clang-analyzer-core.uninitialized.ArraySubscript\n    clang-analyzer-core.uninitialized.Assign\n    clang-analyzer-core.uninitialized.Branch\n    clang-analyzer-core.uninitialized.CapturedBlockVariable\n    clang-analyzer-core.uninitialized.UndefReturn\n    clang-analyzer-cplusplus.InnerPointer\n    clang-analyzer-cplusplus.Move\n    clang-analyzer-cplusplus.SelfAssignment\n    clang-analyzer-deadcode.DeadStores\n    clang-analyzer-nullability.NullPassedToNonnull\n    clang-analyzer-nullability.NullReturnedFromNonnull\n    clang-analyzer-nullability.NullableDereferenced\n    clang-analyzer-nullability.NullablePassedToNonnull\n    clang-analyzer-nullability.NullableReturnedFromNonnull\n    clang-analyzer-optin.cplusplus.VirtualCall\n    clang-analyzer-optin.mpi.MPI-Checker\n    clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker\n    clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker\n    clang-analyzer-optin.performance.GCDAntipattern\n    clang-analyzer-optin.performance.Padding\n    clang-analyzer-optin.portability.UnixAPI\n    clang-analyzer-osx.API\n    clang-analyzer-osx.NumberObjectConversion\n    clang-analyzer-osx.OSObjectRetainCount\n    clang-analyzer-osx.ObjCProperty\n    clang-analyzer-osx.SecKeychainAPI\n    clang-analyzer-osx.cocoa.AtSync\n    clang-analyzer-osx.cocoa.AutoreleaseWrite\n    clang-analyzer-osx.cocoa.ClassRelease\n    clang-analyzer-osx.cocoa.Dealloc\n    clang-analyzer-osx.cocoa.IncompatibleMethodTypes\n    clang-analyzer-osx.cocoa.Loops\n    clang-analyzer-osx.cocoa.MissingSuperCall\n    clang-analyzer-osx.cocoa.NSAutoreleasePool\n    clang-analyzer-osx.cocoa.NSError\n    clang-analyzer-osx.cocoa.NilArg\n    clang-analyzer-osx.cocoa.NonNilReturnValue\n    clang-analyzer-osx.cocoa.ObjCGenerics\n    clang-analyzer-osx.cocoa.RetainCount\n    clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak\n    clang-analyzer-osx.cocoa.SelfInit\n    clang-analyzer-osx.cocoa.SuperDealloc\n    clang-analyzer-osx.cocoa.UnusedIvars\n    clang-analyzer-osx.cocoa.VariadicMethodTypes\n    clang-analyzer-osx.coreFoundation.CFError\n    clang-analyzer-osx.coreFoundation.CFNumber\n    clang-analyzer-osx.coreFoundation.CFRetainRelease\n    clang-analyzer-osx.coreFoundation.containers.OutOfBounds\n    clang-analyzer-osx.coreFoundation.containers.PointerSizedValues\n    clang-analyzer-security.FloatLoopCounter\n    clang-analyzer-security.insecureAPI.UncheckedReturn\n    clang-analyzer-security.insecureAPI.bcmp\n    clang-analyzer-security.insecureAPI.bcopy\n    clang-analyzer-security.insecureAPI.bzero\n    clang-analyzer-security.insecureAPI.getpw\n    clang-analyzer-security.insecureAPI.gets\n    clang-analyzer-security.insecureAPI.mkstemp\n    clang-analyzer-security.insecureAPI.mktemp\n    clang-analyzer-security.insecureAPI.rand\n    clang-analyzer-security.insecureAPI.strcpy\n    clang-analyzer-security.insecureAPI.vfork\n    clang-analyzer-unix.API\n    clang-analyzer-unix.Malloc\n    clang-analyzer-unix.MallocSizeof\n    clang-analyzer-unix.MismatchedDeallocator\n    clang-analyzer-unix.Vfork\n    clang-analyzer-unix.cstring.BadSizeArg\n    clang-analyzer-unix.cstring.NullArg\n    clang-analyzer-valist.CopyToSelf\n    clang-analyzer-valist.Uninitialized\n    clang-analyzer-valist.Unterminated\n    google-build-explicit-make-pair\n    google-build-namespaces\n    google-build-using-namespace\n    google-default-arguments\n    google-explicit-constructor\n    google-global-names-in-headers\n    google-objc-avoid-throwing-exception\n    google-objc-function-naming\n    google-objc-global-variable-declaration\n    google-readability-braces-around-statements\n    google-readability-casting\n    google-readability-function-size\n    google-readability-namespace-comments\n    google-readability-todo\n    google-runtime-int\n    google-runtime-operator\n    google-runtime-references\n    modernize-avoid-bind\n    modernize-concat-nested-namespaces\n    modernize-deprecated-headers\n    modernize-deprecated-ios-base-aliases\n    modernize-loop-convert\n    modernize-make-shared\n    modernize-make-unique\n    modernize-pass-by-value\n    modernize-raw-string-literal\n    modernize-redundant-void-arg\n    modernize-replace-auto-ptr\n    modernize-replace-random-shuffle\n    modernize-return-braced-init-list\n    modernize-shrink-to-fit\n    modernize-unary-static-assert\n    modernize-use-bool-literals\n    modernize-use-default-member-init\n    modernize-use-emplace\n    modernize-use-equals-default\n    modernize-use-equals-delete\n    modernize-use-noexcept\n    modernize-use-nullptr\n    modernize-use-override\n    modernize-use-transparent-functors\n    modernize-use-uncaught-exceptions\n    modernize-use-using\n    performance-faster-string-find\n    performance-for-range-copy\n    performance-implicit-conversion-in-loop\n    performance-inefficient-algorithm\n    performance-inefficient-string-concatenation\n    performance-inefficient-vector-operation\n    performance-move-const-arg\n    performance-move-constructor-init\n    performance-noexcept-move-constructor\n    performance-type-promotion-in-math-fn\n    performance-unnecessary-copy-initialization\n    performance-unnecessary-value-param\n    portability-simd-intrinsics\n    readability-avoid-const-params-in-decls\n    readability-braces-around-statements\n    readability-const-return-type\n    readability-container-size-empty\n    readability-delete-null-pointer\n    readability-deleted-default\n    readability-else-after-return\n    readability-function-size\n    readability-identifier-naming\n    readability-implicit-bool-conversion\n    readability-inconsistent-declaration-parameter-name\n    readability-isolate-declaration\n    readability-misleading-indentation\n    readability-misplaced-array-index\n    readability-named-parameter\n    readability-non-const-parameter\n    readability-redundant-control-flow\n    readability-redundant-declaration\n    readability-redundant-function-ptr-dereference\n    readability-redundant-member-init\n    readability-redundant-preprocessor\n    readability-redundant-smartptr-get\n    readability-redundant-string-cstr\n    readability-redundant-string-init\n    readability-simplify-boolean-expr\n    readability-simplify-subscript-expr\n    readability-static-accessed-through-instance\n    readability-static-definition-in-anonymous-namespace\n    readability-string-compare\n    readability-uniqueptr-delete-release\n    readability-uppercase-literal-suffix\n\n\r Checking: /autograder/bustub/build/googletest-src/googlemock/src/gmock_main.cc\r Checking: /autograder/bustub/build/googletest-src/googlemock/src/gmock-all.cc\r Checking: /autograder/bustub/build/googletest-src/googletest/src/gtest_main.cc\r Checking: /autograder/bustub/build/googletest-src/googletest/src/gtest-all.cc\r Checking: /autograder/bustub/src/buffer/buffer_pool_manager_instance.cpp\r Checking: /autograder/bustub/src/buffer/clock_replacer.cpp\r Checking: /autograder/bustub/src/buffer/lru_replacer.cpp\r Checking: /autograder/bustub/src/buffer/parallel_buffer_pool_manager.cpp\r Checking: /autograder/bustub/src/catalog/column.cpp\r Checking: /autograder/bustub/src/catalog/schema.cpp\r Checking: /autograder/bustub/src/catalog/table_generator.cpp\r Checking: /autograder/bustub/src/common/config.cpp\r Checking: /autograder/bustub/src/common/util/string_util.cpp\r Checking: /autograder/bustub/src/concurrency/lock_manager.cpp\r Checking: /autograder/bustub/src/concurrency/transaction_manager.cpp\r Checking: /autograder/bustub/src/container/hash/extendible_hash_table.cpp\r Checking: /autograder/bustub/src/container/hash/linear_probe_hash_table.cpp\r Checking: /autograder/bustub/src/execution/aggregation_executor.cpp\r Checking: /autograder/bustub/src/execution/delete_executor.cpp\r Checking: /autograder/bustub/src/execution/distinct_executor.cpp\r Checking: /autograder/bustub/src/execution/executor_factory.cpp\r Checking: /autograder/bustub/src/execution/hash_join_executor.cpp\r Checking: /autograder/bustub/src/execution/index_scan_executor.cpp\r Checking: /autograder/bustub/src/execution/insert_executor.cpp\r Checking: /autograder/bustub/src/execution/limit_executor.cpp\r Checking: /autograder/bustub/src/execution/mock_scan_executor.cpp\r Checking: /autograder/bustub/src/execution/nested_index_join_executor.cpp\r Checking: /autograder/bustub/src/execution/nested_loop_join_executor.cpp\r Checking: /autograder/bustub/src/execution/seq_scan_executor.cpp\r Checking: /autograder/bustub/src/execution/update_executor.cpp\r Checking: /autograder/bustub/src/recovery/checkpoint_manager.cpp\r Checking: /autograder/bustub/src/recovery/log_manager.cpp\r Checking: /autograder/bustub/src/recovery/log_recovery.cpp\r Checking: /autograder/bustub/src/storage/disk/disk_manager.cpp\r Checking: /autograder/bustub/src/storage/disk/disk_manager_memory.cpp\r Checking: /autograder/bustub/src/storage/index/b_plus_tree.cpp\r Checking: /autograder/bustub/src/storage/index/b_plus_tree_index.cpp\r Checking: /autograder/bustub/src/storage/index/extendible_hash_table_index.cpp\r Checking: /autograder/bustub/src/storage/index/index_iterator.cpp\r Checking: /autograder/bustub/src/storage/index/linear_probe_hash_table_index.cpp\r Checking: /autograder/bustub/src/storage/page/b_plus_tree_internal_page.cpp\r Checking: /autograder/bustub/src/storage/page/b_plus_tree_leaf_page.cpp\r Checking: /autograder/bustub/src/storage/page/b_plus_tree_page.cpp\r Checking: /autograder/bustub/src/storage/page/hash_table_block_page.cpp\r Checking: /autograder/bustub/src/storage/page/hash_table_bucket_page.cpp\r Checking: /autograder/bustub/src/storage/page/hash_table_directory_page.cpp\r Checking: /autograder/bustub/src/storage/page/hash_table_header_page.cpp\r Checking: /autograder/bustub/src/storage/page/header_page.cpp\r Checking: /autograder/bustub/src/storage/page/table_page.cpp\r Checking: /autograder/bustub/src/storage/table/table_heap.cpp\r Checking: /autograder/bustub/src/storage/table/table_iterator.cpp\r Checking: /autograder/bustub/src/storage/table/tuple.cpp\r Checking: /autograder/bustub/src/type/bigint_type.cpp\r Checking: /autograder/bustub/src/type/boolean_type.cpp\r Checking: /autograder/bustub/src/type/decimal_type.cpp\r Checking: /autograder/bustub/src/type/integer_parent_type.cpp\r Checking: /autograder/bustub/src/type/integer_type.cpp\r Checking: /autograder/bustub/src/type/smallint_type.cpp\r Checking: /autograder/bustub/src/type/timestamp_type.cpp\r Checking: /autograder/bustub/src/type/tinyint_type.cpp\r Checking: /autograder/bustub/src/type/type.cpp\r Checking: /autograder/bustub/src/type/value.cpp\r Checking: /autograder/bustub/src/type/varlen_type.cpp\r Checking: /autograder/bustub/third_party/murmur3/MurmurHash3.cpp\r Checking: /autograder/bustub/test/type/type_test.cpp\r Checking: /autograder/bustub/test/table/tuple_test.cpp\r Checking: /autograder/bustub/test/storage/tmp_tuple_page_test.cpp\r Checking: /autograder/bustub/test/storage/grading_b_plus_tree_memory_test.cpp\r Checking: /autograder/bustub/test/storage/grading_b_plus_tree_checkpoint_2_sequential_test.cpp\r Checking: /autograder/bustub/test/storage/grading_b_plus_tree_checkpoint_1_test.cpp\r Checking: /autograder/bustub/test/storage/grading_b_plus_tree_checkpoint_2_concurrent_test.cpp\r Checking: /autograder/bustub/test/storage/grading_b_plus_tree_bench_test.cpp\r Checking: /autograder/bustub/test/storage/b_plus_tree_insert_test.cpp\r Checking: /autograder/bustub/test/storage/grading_tmp_tuple_page_test.cpp\r Checking: /autograder/bustub/test/storage/b_plus_tree_concurrent_test.cpp\r Checking: /autograder/bustub/test/recovery/recovery_test.cpp\r Checking: /autograder/bustub/test/primer/starter_test.cpp\r Checking: /autograder/bustub/test/primer/grading_starter_test.cpp\r Checking: /autograder/bustub/test/execution/grading_update_executor_test.cpp\r Checking: /autograder/bustub/test/execution/grading_sequential_scan_executor_test.cpp\r Checking: /autograder/bustub/test/execution/grading_nested_loop_join_executor_test.cpp\r Checking: /autograder/bustub/test/recovery/grading_recovery_test.cpp\r Checking: /autograder/bustub/test/concurrency/grading_lock_manager_twopl_test.cpp\r Checking: /autograder/bustub/test/concurrency/grading_lock_manager_prevention_test.cpp\r Checking: /autograder/bustub/test/buffer/parallel_buffer_pool_manager_test.cpp\r Checking: /autograder/bustub/test/buffer/grading_parallel_buffer_pool_manager_test.cpp\r Checking: /autograder/bustub/test/buffer/grading_lru_replacer_test.cpp\r Checking: /autograder/bustub/test/execution/grading_executor_integrated_test.cpp\r Checking: /autograder/bustub/test/execution/grading_limit_executor_test.cpp\r Checking: /autograder/bustub/test/concurrency/grading_lock_manager_upgrade_test.cpp\r Checking: /autograder/bustub/test/concurrency/transaction_test.cpp\r Checking: /autograder/bustub/test/execution/grading_executor_benchmark_test.cpp\r Checking: /autograder/bustub/test/storage/disk_manager_test.cpp\r Checking: /autograder/bustub/test/buffer/buffer_pool_manager_instance_test.cpp\r Checking: /autograder/bustub/test/storage/b_plus_tree_print_test.cpp\r Checking: /autograder/bustub/test/buffer/clock_replacer_test.cpp\r Checking: /autograder/bustub/test/execution/grading_distinct_executor_test.cpp\r Checking: /autograder/bustub/test/buffer/grading_buffer_pool_manager_instance_test.cpp\r Checking: /autograder/bustub/test/buffer/lru_replacer_test.cpp\r Checking: /autograder/bustub/test/storage/grading_b_plus_tree_test.cpp\r Checking: /autograder/bustub/test/buffer/grading_leaderboard_test.cpp\r Checking: /autograder/bustub/test/container/grading_hash_table_verification_test.cpp\r Checking: /autograder/bustub/test/concurrency/grading_rollback_test.cpp\r Checking: /autograder/bustub/test/concurrency/grading_transaction_test.cpp\r Checking: /autograder/bustub/test/container/hash_table_page_test.cpp\r Checking: /autograder/bustub/test/concurrency/lock_manager_test.cpp\r Checking: /autograder/bustub/test/storage/b_plus_tree_delete_test.cpp\r Checking: /autograder/bustub/test/container/grading_hash_table_concurrent_test.cpp\r Checking: /autograder/bustub/test/concurrency/grading_lock_manager_basic_test.cpp\r Checking: /autograder/bustub/test/container/grading_hash_table_page_test.cpp\r Checking: /autograder/bustub/test/container/grading_hash_table_leaderboard_test.cpp\r Checking: /autograder/bustub/test/common/rwlatch_test.cpp\r Checking: /autograder/bustub/test/container/grading_hash_table_scale_test.cpp\r Checking: /autograder/bustub/test/container/grading_hash_table_test.cpp\r Checking: /autograder/bustub/test/container/hash_table_test.cpp\r Checking: /autograder/bustub/test/execution/grading_aggregation_executor_test.cpp\r Checking: /autograder/bustub/test/catalog/catalog_test.cpp\r Checking: /autograder/bustub/test/execution/grading_insert_executor_test.cpp\r Checking: /autograder/bustub/test/execution/grading_delete_executor_test.cpp\r Checking: /autograder/bustub/test/execution/executor_test.cpp\r Checking: /autograder/bustub/test/execution/grading_hash_join_executor_test.cpp\n[100%] Built target check-clang-tidy\n'
b'[  1%] Built target thirdparty_murmur3\n[  2%] Built target gtest\n[  3%] Built target gmock\n[  4%] Built target gmock_main\n[ 37%] Built target bustub_shared\nScanning dependencies of target grading_hash_join_executor_test\n[ 38%] Building CXX object test/CMakeFiles/grading_hash_join_executor_test.dir/execution/grading_hash_join_executor_test.cpp.o\n[ 38%] Linking CXX executable grading_hash_join_executor_test\n[ 38%] Built target grading_hash_join_executor_test\nScanning dependencies of target type_test\n[ 39%] Building CXX object test/CMakeFiles/type_test.dir/type/type_test.cpp.o\n[ 40%] Linking CXX executable type_test\n[ 40%] Built target type_test\nScanning dependencies of target tuple_test\n[ 41%] Building CXX object test/CMakeFiles/tuple_test.dir/table/tuple_test.cpp.o\n[ 41%] Linking CXX executable tuple_test\n[ 41%] Built target tuple_test\nScanning dependencies of target tmp_tuple_page_test\n[ 42%] Building CXX object test/CMakeFiles/tmp_tuple_page_test.dir/storage/tmp_tuple_page_test.cpp.o\n[ 42%] Linking CXX executable tmp_tuple_page_test\n[ 42%] Built target tmp_tuple_page_test\nScanning dependencies of target grading_b_plus_tree_memory_test\n[ 42%] Building CXX object test/CMakeFiles/grading_b_plus_tree_memory_test.dir/storage/grading_b_plus_tree_memory_test.cpp.o\n[ 43%] Linking CXX executable grading_b_plus_tree_memory_test\n[ 43%] Built target grading_b_plus_tree_memory_test\nScanning dependencies of target grading_b_plus_tree_checkpoint_2_sequential_test\n[ 44%] Building CXX object test/CMakeFiles/grading_b_plus_tree_checkpoint_2_sequential_test.dir/storage/grading_b_plus_tree_checkpoint_2_sequential_test.cpp.o\n[ 45%] Linking CXX executable grading_b_plus_tree_checkpoint_2_sequential_test\n[ 45%] Built target grading_b_plus_tree_checkpoint_2_sequential_test\nScanning dependencies of target grading_b_plus_tree_checkpoint_1_test\n[ 46%] Building CXX object test/CMakeFiles/grading_b_plus_tree_checkpoint_1_test.dir/storage/grading_b_plus_tree_checkpoint_1_test.cpp.o\n[ 46%] Linking CXX executable grading_b_plus_tree_checkpoint_1_test\n[ 46%] Built target grading_b_plus_tree_checkpoint_1_test\nScanning dependencies of target grading_b_plus_tree_checkpoint_2_concurrent_test\n[ 47%] Building CXX object test/CMakeFiles/grading_b_plus_tree_checkpoint_2_concurrent_test.dir/storage/grading_b_plus_tree_checkpoint_2_concurrent_test.cpp.o\n[ 47%] Linking CXX executable grading_b_plus_tree_checkpoint_2_concurrent_test\n[ 47%] Built target grading_b_plus_tree_checkpoint_2_concurrent_test\nScanning dependencies of target grading_b_plus_tree_bench_test\n[ 48%] Building CXX object test/CMakeFiles/grading_b_plus_tree_bench_test.dir/storage/grading_b_plus_tree_bench_test.cpp.o\n[ 48%] Linking CXX executable grading_b_plus_tree_bench_test\n[ 48%] Built target grading_b_plus_tree_bench_test\nScanning dependencies of target b_plus_tree_insert_test\n[ 48%] Building CXX object test/CMakeFiles/b_plus_tree_insert_test.dir/storage/b_plus_tree_insert_test.cpp.o\n[ 49%] Linking CXX executable b_plus_tree_insert_test\n[ 49%] Built target b_plus_tree_insert_test\nScanning dependencies of target grading_tmp_tuple_page_test\n[ 49%] Building CXX object test/CMakeFiles/grading_tmp_tuple_page_test.dir/storage/grading_tmp_tuple_page_test.cpp.o\n[ 50%] Linking CXX executable grading_tmp_tuple_page_test\n[ 50%] Built target grading_tmp_tuple_page_test\nScanning dependencies of target b_plus_tree_concurrent_test\n[ 50%] Building CXX object test/CMakeFiles/b_plus_tree_concurrent_test.dir/storage/b_plus_tree_concurrent_test.cpp.o\n[ 51%] Linking CXX executable b_plus_tree_concurrent_test\n[ 51%] Built target b_plus_tree_concurrent_test\nScanning dependencies of target recovery_test\n[ 51%] Building CXX object test/CMakeFiles/recovery_test.dir/recovery/recovery_test.cpp.o\n[ 52%] Linking CXX executable recovery_test\n[ 52%] Built target recovery_test\nScanning dependencies of target starter_test\n[ 53%] Building CXX object test/CMakeFiles/starter_test.dir/primer/starter_test.cpp.o\n[ 53%] Linking CXX executable starter_test\n[ 53%] Built target starter_test\nScanning dependencies of target grading_starter_test\n[ 53%] Building CXX object test/CMakeFiles/grading_starter_test.dir/primer/grading_starter_test.cpp.o\n[ 54%] Linking CXX executable grading_starter_test\n[ 54%] Built target grading_starter_test\nScanning dependencies of target grading_update_executor_test\n[ 55%] Building CXX object test/CMakeFiles/grading_update_executor_test.dir/execution/grading_update_executor_test.cpp.o\n[ 55%] Linking CXX executable grading_update_executor_test\n[ 55%] Built target grading_update_executor_test\nScanning dependencies of target grading_sequential_scan_executor_test\n[ 55%] Building CXX object test/CMakeFiles/grading_sequential_scan_executor_test.dir/execution/grading_sequential_scan_executor_test.cpp.o\n[ 56%] Linking CXX executable grading_sequential_scan_executor_test\n[ 56%] Built target grading_sequential_scan_executor_test\nScanning dependencies of target grading_nested_loop_join_executor_test\n[ 57%] Building CXX object test/CMakeFiles/grading_nested_loop_join_executor_test.dir/execution/grading_nested_loop_join_executor_test.cpp.o\n[ 58%] Linking CXX executable grading_nested_loop_join_executor_test\n[ 58%] Built target grading_nested_loop_join_executor_test\nScanning dependencies of target grading_recovery_test\n[ 58%] Building CXX object test/CMakeFiles/grading_recovery_test.dir/recovery/grading_recovery_test.cpp.o\n[ 59%] Linking CXX executable grading_recovery_test\n[ 59%] Built target grading_recovery_test\nScanning dependencies of target grading_lock_manager_twopl_test\n[ 60%] Building CXX object test/CMakeFiles/grading_lock_manager_twopl_test.dir/concurrency/grading_lock_manager_twopl_test.cpp.o\n[ 60%] Linking CXX executable grading_lock_manager_twopl_test\n[ 60%] Built target grading_lock_manager_twopl_test\nScanning dependencies of target grading_lock_manager_prevention_test\n[ 61%] Building CXX object test/CMakeFiles/grading_lock_manager_prevention_test.dir/concurrency/grading_lock_manager_prevention_test.cpp.o\n[ 61%] Linking CXX executable grading_lock_manager_prevention_test\n[ 61%] Built target grading_lock_manager_prevention_test\nScanning dependencies of target parallel_buffer_pool_manager_test\n[ 61%] Building CXX object test/CMakeFiles/parallel_buffer_pool_manager_test.dir/buffer/parallel_buffer_pool_manager_test.cpp.o\n[ 62%] Linking CXX executable parallel_buffer_pool_manager_test\n[ 62%] Built target parallel_buffer_pool_manager_test\nScanning dependencies of target grading_parallel_buffer_pool_manager_test\n[ 62%] Building CXX object test/CMakeFiles/grading_parallel_buffer_pool_manager_test.dir/buffer/grading_parallel_buffer_pool_manager_test.cpp.o\n[ 63%] Linking CXX executable grading_parallel_buffer_pool_manager_test\n[ 63%] Built target grading_parallel_buffer_pool_manager_test\nScanning dependencies of target grading_lru_replacer_test\n[ 64%] Building CXX object test/CMakeFiles/grading_lru_replacer_test.dir/buffer/grading_lru_replacer_test.cpp.o\n[ 64%] Linking CXX executable grading_lru_replacer_test\n[ 64%] Built target grading_lru_replacer_test\nScanning dependencies of target grading_executor_integrated_test\n[ 65%] Building CXX object test/CMakeFiles/grading_executor_integrated_test.dir/execution/grading_executor_integrated_test.cpp.o\n[ 65%] Linking CXX executable grading_executor_integrated_test\n[ 65%] Built target grading_executor_integrated_test\nScanning dependencies of target grading_limit_executor_test\n[ 65%] Building CXX object test/CMakeFiles/grading_limit_executor_test.dir/execution/grading_limit_executor_test.cpp.o\n[ 66%] Linking CXX executable grading_limit_executor_test\n[ 66%] Built target grading_limit_executor_test\nScanning dependencies of target grading_lock_manager_upgrade_test\n[ 67%] Building CXX object test/CMakeFiles/grading_lock_manager_upgrade_test.dir/concurrency/grading_lock_manager_upgrade_test.cpp.o\n[ 67%] Linking CXX executable grading_lock_manager_upgrade_test\n[ 67%] Built target grading_lock_manager_upgrade_test\nScanning dependencies of target transaction_test\n[ 68%] Building CXX object test/CMakeFiles/transaction_test.dir/concurrency/transaction_test.cpp.o\n[ 68%] Linking CXX executable transaction_test\n[ 68%] Built target transaction_test\nScanning dependencies of target grading_executor_benchmark_test\n[ 68%] Building CXX object test/CMakeFiles/grading_executor_benchmark_test.dir/execution/grading_executor_benchmark_test.cpp.o\n[ 69%] Linking CXX executable grading_executor_benchmark_test\n[ 69%] Built target grading_executor_benchmark_test\nScanning dependencies of target disk_manager_test\n[ 69%] Building CXX object test/CMakeFiles/disk_manager_test.dir/storage/disk_manager_test.cpp.o\n[ 70%] Linking CXX executable disk_manager_test\n[ 70%] Built target disk_manager_test\nScanning dependencies of target buffer_pool_manager_instance_test\n[ 70%] Building CXX object test/CMakeFiles/buffer_pool_manager_instance_test.dir/buffer/buffer_pool_manager_instance_test.cpp.o\n[ 71%] Linking CXX executable buffer_pool_manager_instance_test\n[ 71%] Built target buffer_pool_manager_instance_test\nScanning dependencies of target b_plus_tree_print_test\n[ 71%] Building CXX object test/CMakeFiles/b_plus_tree_print_test.dir/storage/b_plus_tree_print_test.cpp.o\n[ 72%] Linking CXX executable b_plus_tree_print_test\n[ 72%] Built target b_plus_tree_print_test\nScanning dependencies of target clock_replacer_test\n[ 72%] Building CXX object test/CMakeFiles/clock_replacer_test.dir/buffer/clock_replacer_test.cpp.o\n[ 73%] Linking CXX executable clock_replacer_test\n[ 73%] Built target clock_replacer_test\nScanning dependencies of target grading_distinct_executor_test\n[ 73%] Building CXX object test/CMakeFiles/grading_distinct_executor_test.dir/execution/grading_distinct_executor_test.cpp.o\n[ 74%] Linking CXX executable grading_distinct_executor_test\n[ 74%] Built target grading_distinct_executor_test\nScanning dependencies of target grading_buffer_pool_manager_instance_test\n[ 74%] Building CXX object test/CMakeFiles/grading_buffer_pool_manager_instance_test.dir/buffer/grading_buffer_pool_manager_instance_test.cpp.o\n[ 75%] Linking CXX executable grading_buffer_pool_manager_instance_test\n[ 75%] Built target grading_buffer_pool_manager_instance_test\nScanning dependencies of target lru_replacer_test\n[ 75%] Building CXX object test/CMakeFiles/lru_replacer_test.dir/buffer/lru_replacer_test.cpp.o\n[ 76%] Linking CXX executable lru_replacer_test\n[ 76%] Built target lru_replacer_test\nScanning dependencies of target grading_b_plus_tree_test\n[ 76%] Building CXX object test/CMakeFiles/grading_b_plus_tree_test.dir/storage/grading_b_plus_tree_test.cpp.o\n[ 77%] Linking CXX executable grading_b_plus_tree_test\n[ 77%] Built target grading_b_plus_tree_test\nScanning dependencies of target grading_leaderboard_test\n[ 77%] Building CXX object test/CMakeFiles/grading_leaderboard_test.dir/buffer/grading_leaderboard_test.cpp.o\n[ 78%] Linking CXX executable grading_leaderboard_test\n[ 78%] Built target grading_leaderboard_test\nScanning dependencies of target grading_hash_table_verification_test\n[ 78%] Building CXX object test/CMakeFiles/grading_hash_table_verification_test.dir/container/grading_hash_table_verification_test.cpp.o\n[ 79%] Linking CXX executable grading_hash_table_verification_test\n[ 79%] Built target grading_hash_table_verification_test\nScanning dependencies of target grading_rollback_test\n[ 79%] Building CXX object test/CMakeFiles/grading_rollback_test.dir/concurrency/grading_rollback_test.cpp.o\n[ 80%] Linking CXX executable grading_rollback_test\n[ 80%] Built target grading_rollback_test\nScanning dependencies of target grading_transaction_test\n[ 81%] Building CXX object test/CMakeFiles/grading_transaction_test.dir/concurrency/grading_transaction_test.cpp.o\n[ 81%] Linking CXX executable grading_transaction_test\n[ 81%] Built target grading_transaction_test\nScanning dependencies of target hash_table_page_test\n[ 82%] Building CXX object test/CMakeFiles/hash_table_page_test.dir/container/hash_table_page_test.cpp.o\n[ 82%] Linking CXX executable hash_table_page_test\n[ 82%] Built target hash_table_page_test\nScanning dependencies of target lock_manager_test\n[ 82%] Building CXX object test/CMakeFiles/lock_manager_test.dir/concurrency/lock_manager_test.cpp.o\n[ 83%] Linking CXX executable lock_manager_test\n[ 83%] Built target lock_manager_test\nScanning dependencies of target b_plus_tree_delete_test\n[ 83%] Building CXX object test/CMakeFiles/b_plus_tree_delete_test.dir/storage/b_plus_tree_delete_test.cpp.o\n[ 84%] Linking CXX executable b_plus_tree_delete_test\n[ 84%] Built target b_plus_tree_delete_test\nScanning dependencies of target grading_hash_table_concurrent_test\n[ 85%] Building CXX object test/CMakeFiles/grading_hash_table_concurrent_test.dir/container/grading_hash_table_concurrent_test.cpp.o\n[ 85%] Linking CXX executable grading_hash_table_concurrent_test\n[ 85%] Built target grading_hash_table_concurrent_test\nScanning dependencies of target grading_lock_manager_basic_test\n[ 86%] Building CXX object test/CMakeFiles/grading_lock_manager_basic_test.dir/concurrency/grading_lock_manager_basic_test.cpp.o\n[ 86%] Linking CXX executable grading_lock_manager_basic_test\n[ 86%] Built target grading_lock_manager_basic_test\nScanning dependencies of target grading_hash_table_page_test\n[ 87%] Building CXX object test/CMakeFiles/grading_hash_table_page_test.dir/container/grading_hash_table_page_test.cpp.o\n[ 87%] Linking CXX executable grading_hash_table_page_test\n[ 87%] Built target grading_hash_table_page_test\nScanning dependencies of target grading_hash_table_leaderboard_test\n[ 88%] Building CXX object test/CMakeFiles/grading_hash_table_leaderboard_test.dir/container/grading_hash_table_leaderboard_test.cpp.o\n[ 88%] Linking CXX executable grading_hash_table_leaderboard_test\n[ 88%] Built target grading_hash_table_leaderboard_test\nScanning dependencies of target rwlatch_test\n[ 88%] Building CXX object test/CMakeFiles/rwlatch_test.dir/common/rwlatch_test.cpp.o\n[ 89%] Linking CXX executable rwlatch_test\n[ 89%] Built target rwlatch_test\nScanning dependencies of target grading_hash_table_scale_test\n[ 90%] Building CXX object test/CMakeFiles/grading_hash_table_scale_test.dir/container/grading_hash_table_scale_test.cpp.o\n[ 91%] Linking CXX executable grading_hash_table_scale_test\n[ 91%] Built target grading_hash_table_scale_test\nScanning dependencies of target grading_hash_table_test\n[ 91%] Building CXX object test/CMakeFiles/grading_hash_table_test.dir/container/grading_hash_table_test.cpp.o\n[ 92%] Linking CXX executable grading_hash_table_test\n[ 92%] Built target grading_hash_table_test\nScanning dependencies of target hash_table_test\n[ 93%] Building CXX object test/CMakeFiles/hash_table_test.dir/container/hash_table_test.cpp.o\n[ 94%] Linking CXX executable hash_table_test\n[ 94%] Built target hash_table_test\nScanning dependencies of target grading_aggregation_executor_test\n[ 95%] Building CXX object test/CMakeFiles/grading_aggregation_executor_test.dir/execution/grading_aggregation_executor_test.cpp.o\n[ 95%] Linking CXX executable grading_aggregation_executor_test\n[ 95%] Built target grading_aggregation_executor_test\nScanning dependencies of target catalog_test\n[ 95%] Building CXX object test/CMakeFiles/catalog_test.dir/catalog/catalog_test.cpp.o\n[ 96%] Linking CXX executable catalog_test\n[ 96%] Built target catalog_test\nScanning dependencies of target grading_insert_executor_test\n[ 96%] Building CXX object test/CMakeFiles/grading_insert_executor_test.dir/execution/grading_insert_executor_test.cpp.o\n[ 97%] Linking CXX executable grading_insert_executor_test\n[ 97%] Built target grading_insert_executor_test\nScanning dependencies of target grading_delete_executor_test\n[ 97%] Building CXX object test/CMakeFiles/grading_delete_executor_test.dir/execution/grading_delete_executor_test.cpp.o\n[ 98%] Linking CXX executable grading_delete_executor_test\n[ 98%] Built target grading_delete_executor_test\nScanning dependencies of target executor_test\n[ 98%] Building CXX object test/CMakeFiles/executor_test.dir/execution/executor_test.cpp.o\n[100%] Linking CXX executable executor_test\n[100%] Built target executor_test\nScanning dependencies of target build-tests\nTest project /autograder/bustub/build/test\n  Test  #1: buffer_pool_manager_instance_test\n  Test  #2: clock_replacer_test\n  Test  #3: grading_buffer_pool_manager_instance_test\n  Test  #4: grading_leaderboard_test\n  Test  #5: grading_lru_replacer_test\n  Test  #6: grading_parallel_buffer_pool_manager_test\n  Test  #7: lru_replacer_test\n  Test  #8: parallel_buffer_pool_manager_test\n  Test  #9: catalog_test\n  Test #10: rwlatch_test\n  Test #11: grading_lock_manager_basic_test\n  Test #12: grading_lock_manager_prevention_test\n  Test #13: grading_lock_manager_twopl_test\n  Test #14: grading_lock_manager_upgrade_test\n  Test #15: grading_rollback_test\n  Test #16: grading_transaction_test\n  Test #17: lock_manager_test\n  Test #18: transaction_test\n  Test #19: grading_hash_table_concurrent_test\n  Test #20: grading_hash_table_leaderboard_test\n  Test #21: grading_hash_table_page_test\n  Test #22: grading_hash_table_scale_test\n  Test #23: grading_hash_table_test\n  Test #24: grading_hash_table_verification_test\n  Test #25: hash_table_page_test\n  Test #26: hash_table_test\n  Test #27: executor_test\n  Test #28: grading_aggregation_executor_test\n  Test #29: grading_delete_executor_test\n  Test #30: grading_distinct_executor_test\n  Test #31: grading_executor_benchmark_test\n  Test #32: grading_executor_integrated_test\n  Test #33: grading_hash_join_executor_test\n  Test #34: grading_insert_executor_test\n  Test #35: grading_limit_executor_test\n  Test #36: grading_nested_loop_join_executor_test\n  Test #37: grading_sequential_scan_executor_test\n  Test #38: grading_update_executor_test\n  Test #39: grading_starter_test\n  Test #40: starter_test\n  Test #41: grading_recovery_test\n  Test #42: recovery_test\n  Test #43: b_plus_tree_concurrent_test\n  Test #44: b_plus_tree_delete_test\n  Test #45: b_plus_tree_insert_test\n  Test #46: b_plus_tree_print_test\n  Test #47: disk_manager_test\n  Test #48: grading_b_plus_tree_bench_test\n  Test #49: grading_b_plus_tree_checkpoint_1_test\n  Test #50: grading_b_plus_tree_checkpoint_2_concurrent_test\n  Test #51: grading_b_plus_tree_checkpoint_2_sequential_test\n  Test #52: grading_b_plus_tree_memory_test\n  Test #53: grading_b_plus_tree_test\n  Test #54: grading_tmp_tuple_page_test\n  Test #55: tmp_tuple_page_test\n  Test #56: tuple_test\n  Test #57: type_test\n\nTotal Tests: 57\n[100%] Built target build-tests\n'
Test Failed: False is not true : Build failed.
NeilAlfred commented 2 years ago

@2w1nd I have the same error report as yours... No ideas...

bencwallace commented 2 years ago

@2w1nd Looks like your code is not linting correctly:

Scanning dependencies of target check-lint
/autograder/bustub/src/include/primer/p0_starter.h:272:  Could not find a newline character at the end of the file.
2w1nd commented 2 years ago

@bencwallace Yes, you are right. This is caused by the lack of a newline character at the end of the file

apavlo commented 2 years ago

@chenzeyin9867 I've updated all the autograder files to include #225 and the fix for GoogleTest. Can you check whether it is working now?

charstal commented 2 years ago

@chenzeyin9867 I've updated all the autograder files to include #225 and the fix for GoogleTest. Can you check whether it is working now?

Sadly, it still not working.

apavlo commented 2 years ago

@charstal What is the error?

plsmaop commented 2 years ago

In 2020 P4, this error still occurs:

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- BusTub/main found clang-format at /usr/bin/clang-format-8
-- BusTub/main found clang-tidy at /usr/bin/clang-tidy-8
-- BusTub/main found cpplint at /autograder/bustub/build_support/cpplint.py
-- Configuring done
-- Generating done
-- Build files have been written to: /autograder/bustub/build/googletest-download
Scanning dependencies of target googletest
[ 11%] Creating directories for 'googletest'
[ 22%] Performing download step (git clone) for 'googletest'
Cloning into 'googletest-src'...
fatal: invalid reference: master
CMake Error at googletest-download/googletest-prefix/tmp/googletest-gitclone.cmake:75 (message):
  Failed to checkout tag: 'master'
charstal commented 2 years ago

@charstal What is the error?

same, 2021 fall if I add #226 in my uploading, the problem will be fixed

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- BusTub/main found clang-format at /usr/bin/clang-format-8
-- BusTub/main found clang-tidy at /usr/bin/clang-tidy-8
-- BusTub/main found cpplint at /autograder/bustub/build_support/cpplint.py
-- Configuring done
-- Generating done
-- Build files have been written to: /autograder/bustub/build/googletest-download
Scanning dependencies of target googletest
[ 11%] Creating directories for 'googletest'
[ 22%] Performing download step (git clone) for 'googletest'
CMakeFiles/googletest.dir/build.make:90: recipe for target 'googletest-prefix/src/googletest-stamp/googletest-download' failed
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/googletest.dir/all' failed
Makefile:83: recipe for target 'all' failed
-- Found PythonInterp: /usr/bin/python (found version "2.7.17") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- CMAKE_CXX_FLAGS:  -fPIC -Wall -Wextra -Werror -march=native -Wno-unused-parameter -Wno-attributes
-- CMAKE_CXX_FLAGS_DEBUG: -g -O0 -ggdb -fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls
-- CMAKE_EXE_LINKER_FLAGS:  -fPIC
-- CMAKE_SHARED_LINKER_FLAGS:  -fPIC
-- BusTub/test found valgrind at /usr/bin/valgrind
-- Configuring done
-- Generating done
-- Build files have been written to: /autograder/bustub/build

Scanning dependencies of target thirdparty_murmur3
Scanning dependencies of target gtest
[  2%] Building CXX object src/CMakeFiles/thirdparty_murmur3.dir/__/third_party/murmur3/MurmurHash3.cpp.o
[  5%] Building CXX object googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[  5%] Linking CXX shared library ../lib/libthirdparty_murmur3.so
[  5%] Built target thirdparty_murmur3
Scanning dependencies of target bustub_shared
[  5%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/buffer_pool_manager_instance.cpp.o
[  7%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/clock_replacer.cpp.o
[ 10%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/lru_replacer.cpp.o
[ 10%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/parallel_buffer_pool_manager.cpp.o
[ 13%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/column.cpp.o
[ 13%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/schema.cpp.o
[ 15%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/table_generator.cpp.o
[ 15%] Linking CXX shared library ../../lib/libgtest.so
[ 15%] Built target gtest
[ 15%] Building CXX object src/CMakeFiles/bustub_shared.dir/common/config.cpp.o
Scanning dependencies of target gmock
[ 15%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[ 18%] Building CXX object src/CMakeFiles/bustub_shared.dir/common/util/string_util.cpp.o
[ 18%] Building CXX object src/CMakeFiles/bustub_shared.dir/concurrency/lock_manager.cpp.o
[ 21%] Building CXX object src/CMakeFiles/bustub_shared.dir/concurrency/transaction_manager.cpp.o
[ 23%] Linking CXX shared library ../../lib/libgmock.so
[ 23%] Built target gmock
[ 23%] Building CXX object src/CMakeFiles/bustub_shared.dir/container/hash/extendible_hash_table.cpp.o
Scanning dependencies of target gtest_main
[ 26%] Building CXX object googletest-build/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 28%] Building CXX object src/CMakeFiles/bustub_shared.dir/container/hash/linear_probe_hash_table.cpp.o
[ 28%] Linking CXX shared library ../../lib/libgtest_main.so
[ 28%] Built target gtest_main
[ 31%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/aggregation_executor.cpp.o
Scanning dependencies of target gmock_main
[ 34%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[ 34%] Linking CXX shared library ../../lib/libgmock_main.so
[ 34%] Built target gmock_main
[ 34%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/delete_executor.cpp.o
[ 36%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/distinct_executor.cpp.o
[ 36%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/executor_factory.cpp.o
[ 39%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/hash_join_executor.cpp.o
[ 39%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/index_scan_executor.cpp.o
[ 42%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/insert_executor.cpp.o
[ 42%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/limit_executor.cpp.o
[ 44%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/mock_scan_executor.cpp.o
[ 44%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/nested_index_join_executor.cpp.o
[ 47%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/nested_loop_join_executor.cpp.o
[ 50%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/seq_scan_executor.cpp.o
[ 50%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/update_executor.cpp.o
[ 52%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/checkpoint_manager.cpp.o
[ 52%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/log_manager.cpp.o
[ 55%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/log_recovery.cpp.o
[ 55%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/disk/disk_manager.cpp.o
[ 57%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/disk/disk_manager_memory.cpp.o
[ 57%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/b_plus_tree.cpp.o
[ 60%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/b_plus_tree_index.cpp.o
[ 60%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/extendible_hash_table_index.cpp.o
[ 63%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/index_iterator.cpp.o
[ 65%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/linear_probe_hash_table_index.cpp.o
[ 65%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/b_plus_tree_internal_page.cpp.o
[ 68%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/b_plus_tree_leaf_page.cpp.o
[ 68%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/b_plus_tree_page.cpp.o
[ 71%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_block_page.cpp.o
[ 71%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_bucket_page.cpp.o
[ 73%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_directory_page.cpp.o
[ 73%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_header_page.cpp.o
[ 76%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/header_page.cpp.o
[ 76%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/table_page.cpp.o
[ 78%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/table_heap.cpp.o
[ 78%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/table_iterator.cpp.o
[ 81%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/tuple.cpp.o
[ 84%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/bigint_type.cpp.o
[ 84%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/boolean_type.cpp.o
[ 86%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/decimal_type.cpp.o
[ 86%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/integer_parent_type.cpp.o
[ 89%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/integer_type.cpp.o
[ 89%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/smallint_type.cpp.o
[ 92%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/timestamp_type.cpp.o
[ 92%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/tinyint_type.cpp.o
[ 94%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/type.cpp.o
[ 94%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/value.cpp.o
[ 97%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/varlen_type.cpp.o
[100%] Linking CXX shared library ../lib/libbustub_shared.so
[100%] Built target bustub_shared

Scanning dependencies of target check-format
Built target check-format

Scanning dependencies of target check-lint
Built target check-lint

[  2%] Built target thirdparty_murmur3
[ 97%] Built target bustub_shared
[100%] Built target gtest
Scanning dependencies of target check-clang-tidy
Enabled checks:
    bugprone-argument-comment
    bugprone-assert-side-effect
    bugprone-bool-pointer-implicit-conversion
    bugprone-copy-constructor-init
    bugprone-dangling-handle
    bugprone-exception-escape
    bugprone-fold-init-type
    bugprone-forward-declaration-namespace
    bugprone-forwarding-reference-overload
    bugprone-inaccurate-erase
    bugprone-incorrect-roundings
    bugprone-integer-division
    bugprone-lambda-function-name
    bugprone-macro-parentheses
    bugprone-macro-repeated-side-effects
    bugprone-misplaced-operator-in-strlen-in-alloc
    bugprone-misplaced-widening-cast
    bugprone-move-forwarding-reference
    bugprone-multiple-statement-macro
    bugprone-narrowing-conversions
    bugprone-parent-virtual-call
    bugprone-sizeof-container
    bugprone-sizeof-expression
    bugprone-string-constructor
    bugprone-string-integer-assignment
    bugprone-string-literal-with-embedded-nul
    bugprone-suspicious-enum-usage
    bugprone-suspicious-memset-usage
    bugprone-suspicious-missing-comma
    bugprone-suspicious-semicolon
    bugprone-suspicious-string-compare
    bugprone-swapped-arguments
    bugprone-terminating-continue
    bugprone-throw-keyword-missing
    bugprone-undefined-memory-manipulation
    bugprone-undelegated-constructor
    bugprone-unused-raii
    bugprone-unused-return-value
    bugprone-use-after-move
    bugprone-virtual-near-miss
    clang-analyzer-apiModeling.StdCLibraryFunctions
    clang-analyzer-apiModeling.TrustNonnull
    clang-analyzer-apiModeling.google.GTest
    clang-analyzer-core.CallAndMessage
    clang-analyzer-core.DivideZero
    clang-analyzer-core.DynamicTypePropagation
    clang-analyzer-core.NonNullParamChecker
    clang-analyzer-core.NonnilStringConstants
    clang-analyzer-core.NullDereference
    clang-analyzer-core.StackAddressEscape
    clang-analyzer-core.UndefinedBinaryOperatorResult
    clang-analyzer-core.VLASize
    clang-analyzer-core.builtin.BuiltinFunctions
    clang-analyzer-core.builtin.NoReturnFunctions
    clang-analyzer-core.uninitialized.ArraySubscript
    clang-analyzer-core.uninitialized.Assign
    clang-analyzer-core.uninitialized.Branch
    clang-analyzer-core.uninitialized.CapturedBlockVariable
    clang-analyzer-core.uninitialized.UndefReturn
    clang-analyzer-cplusplus.InnerPointer
    clang-analyzer-cplusplus.Move
    clang-analyzer-cplusplus.SelfAssignment
    clang-analyzer-deadcode.DeadStores
    clang-analyzer-nullability.NullPassedToNonnull
    clang-analyzer-nullability.NullReturnedFromNonnull
    clang-analyzer-nullability.NullableDereferenced
    clang-analyzer-nullability.NullablePassedToNonnull
    clang-analyzer-nullability.NullableReturnedFromNonnull
    clang-analyzer-optin.cplusplus.VirtualCall
    clang-analyzer-optin.mpi.MPI-Checker
    clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker
    clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker
    clang-analyzer-optin.performance.GCDAntipattern
    clang-analyzer-optin.performance.Padding
    clang-analyzer-optin.portability.UnixAPI
    clang-analyzer-osx.API
    clang-analyzer-osx.NumberObjectConversion
    clang-analyzer-osx.OSObjectRetainCount
    clang-analyzer-osx.ObjCProperty
    clang-analyzer-osx.SecKeychainAPI
    clang-analyzer-osx.cocoa.AtSync
    clang-analyzer-osx.cocoa.AutoreleaseWrite
    clang-analyzer-osx.cocoa.ClassRelease
    clang-analyzer-osx.cocoa.Dealloc
    clang-analyzer-osx.cocoa.IncompatibleMethodTypes
    clang-analyzer-osx.cocoa.Loops
    clang-analyzer-osx.cocoa.MissingSuperCall
    clang-analyzer-osx.cocoa.NSAutoreleasePool
    clang-analyzer-osx.cocoa.NSError
    clang-analyzer-osx.cocoa.NilArg
    clang-analyzer-osx.cocoa.NonNilReturnValue
    clang-analyzer-osx.cocoa.ObjCGenerics
    clang-analyzer-osx.cocoa.RetainCount
    clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak
    clang-analyzer-osx.cocoa.SelfInit
    clang-analyzer-osx.cocoa.SuperDealloc
    clang-analyzer-osx.cocoa.UnusedIvars
    clang-analyzer-osx.cocoa.VariadicMethodTypes
    clang-analyzer-osx.coreFoundation.CFError
    clang-analyzer-osx.coreFoundation.CFNumber
    clang-analyzer-osx.coreFoundation.CFRetainRelease
    clang-analyzer-osx.coreFoundation.containers.OutOfBounds
    clang-analyzer-osx.coreFoundation.containers.PointerSizedValues
    clang-analyzer-security.FloatLoopCounter
    clang-analyzer-security.insecureAPI.UncheckedReturn
    clang-analyzer-security.insecureAPI.bcmp
    clang-analyzer-security.insecureAPI.bcopy
    clang-analyzer-security.insecureAPI.bzero
    clang-analyzer-security.insecureAPI.getpw
    clang-analyzer-security.insecureAPI.gets
    clang-analyzer-security.insecureAPI.mkstemp
    clang-analyzer-security.insecureAPI.mktemp
    clang-analyzer-security.insecureAPI.rand
    clang-analyzer-security.insecureAPI.strcpy
    clang-analyzer-security.insecureAPI.vfork
    clang-analyzer-unix.API
    clang-analyzer-unix.Malloc
    clang-analyzer-unix.MallocSizeof
    clang-analyzer-unix.MismatchedDeallocator
    clang-analyzer-unix.Vfork
    clang-analyzer-unix.cstring.BadSizeArg
    clang-analyzer-unix.cstring.NullArg
    clang-analyzer-valist.CopyToSelf
    clang-analyzer-valist.Uninitialized
    clang-analyzer-valist.Unterminated
    google-build-explicit-make-pair
    google-build-namespaces
    google-build-using-namespace
    google-default-arguments
    google-explicit-constructor
    google-global-names-in-headers
    google-objc-avoid-throwing-exception
    google-objc-function-naming
    google-objc-global-variable-declaration
    google-readability-braces-around-statements
    google-readability-casting
    google-readability-function-size
    google-readability-namespace-comments
    google-readability-todo
    google-runtime-int
    google-runtime-operator
    google-runtime-references
    modernize-avoid-bind
    modernize-concat-nested-namespaces
    modernize-deprecated-headers
    modernize-deprecated-ios-base-aliases
    modernize-loop-convert
    modernize-make-shared
    modernize-make-unique
    modernize-pass-by-value
    modernize-raw-string-literal
    modernize-redundant-void-arg
    modernize-replace-auto-ptr
    modernize-replace-random-shuffle
    modernize-return-braced-init-list
    modernize-shrink-to-fit
    modernize-unary-static-assert
    modernize-use-bool-literals
    modernize-use-default-member-init
    modernize-use-emplace
    modernize-use-equals-default
    modernize-use-equals-delete
    modernize-use-noexcept
    modernize-use-nullptr
    modernize-use-override
    modernize-use-transparent-functors
    modernize-use-uncaught-exceptions
    modernize-use-using
    performance-faster-string-find
    performance-for-range-copy
    performance-implicit-conversion-in-loop
    performance-inefficient-algorithm
    performance-inefficient-string-concatenation
    performance-inefficient-vector-operation
    performance-move-const-arg
    performance-move-constructor-init
    performance-noexcept-move-constructor
    performance-type-promotion-in-math-fn
    performance-unnecessary-copy-initialization
    performance-unnecessary-value-param
    portability-simd-intrinsics
    readability-avoid-const-params-in-decls
    readability-braces-around-statements
    readability-const-return-type
    readability-container-size-empty
    readability-delete-null-pointer
    readability-deleted-default
    readability-else-after-return
    readability-function-size
    readability-identifier-naming
    readability-implicit-bool-conversion
    readability-inconsistent-declaration-parameter-name
    readability-isolate-declaration
    readability-misleading-indentation
    readability-misplaced-array-index
    readability-named-parameter
    readability-non-const-parameter
    readability-redundant-control-flow
    readability-redundant-declaration
    readability-redundant-function-ptr-dereference
    readability-redundant-member-init
    readability-redundant-preprocessor
    readability-redundant-smartptr-get
    readability-redundant-string-cstr
    readability-redundant-string-init
    readability-simplify-boolean-expr
    readability-simplify-subscript-expr
    readability-static-accessed-through-instance
    readability-static-definition-in-anonymous-namespace
    readability-string-compare
    readability-uniqueptr-delete-release
    readability-uppercase-literal-suffix

 Checking: /autograder/bustub/build/googletest-src/googlemock/src/gmock_main.cc
 Checking: /autograder/bustub/build/googletest-src/googlemock/src/gmock-all.cc
 Checking: /autograder/bustub/build/googletest-src/googletest/src/gtest_main.cc
 Checking: /autograder/bustub/build/googletest-src/googletest/src/gtest-all.cc
 Checking: /autograder/bustub/src/buffer/buffer_pool_manager_instance.cpp
 Checking: /autograder/bustub/src/buffer/clock_replacer.cpp
 Checking: /autograder/bustub/src/buffer/lru_replacer.cpp
 Checking: /autograder/bustub/src/buffer/parallel_buffer_pool_manager.cpp
 Checking: /autograder/bustub/src/catalog/column.cpp
 Checking: /autograder/bustub/src/catalog/schema.cpp
 Checking: /autograder/bustub/src/catalog/table_generator.cpp
 Checking: /autograder/bustub/src/common/config.cpp
 Checking: /autograder/bustub/src/common/util/string_util.cpp
 Checking: /autograder/bustub/src/concurrency/lock_manager.cpp
 Checking: /autograder/bustub/src/concurrency/transaction_manager.cpp
 Checking: /autograder/bustub/src/container/hash/extendible_hash_table.cpp
 Checking: /autograder/bustub/src/container/hash/linear_probe_hash_table.cpp
 Checking: /autograder/bustub/src/execution/aggregation_executor.cpp
 Checking: /autograder/bustub/src/execution/delete_executor.cpp
 Checking: /autograder/bustub/src/execution/distinct_executor.cpp
 Checking: /autograder/bustub/src/execution/executor_factory.cpp
 Checking: /autograder/bustub/src/execution/hash_join_executor.cpp
 Checking: /autograder/bustub/src/execution/index_scan_executor.cpp
 Checking: /autograder/bustub/src/execution/insert_executor.cpp
 Checking: /autograder/bustub/src/execution/limit_executor.cpp
 Checking: /autograder/bustub/src/execution/mock_scan_executor.cpp
 Checking: /autograder/bustub/src/execution/nested_index_join_executor.cpp
 Checking: /autograder/bustub/src/execution/nested_loop_join_executor.cpp
 Checking: /autograder/bustub/src/execution/seq_scan_executor.cpp
 Checking: /autograder/bustub/src/execution/update_executor.cpp
 Checking: /autograder/bustub/src/recovery/checkpoint_manager.cpp
 Checking: /autograder/bustub/src/recovery/log_manager.cpp
 Checking: /autograder/bustub/src/recovery/log_recovery.cpp
 Checking: /autograder/bustub/src/storage/disk/disk_manager.cpp
 Checking: /autograder/bustub/src/storage/disk/disk_manager_memory.cpp
 Checking: /autograder/bustub/src/storage/index/b_plus_tree.cpp
 Checking: /autograder/bustub/src/storage/index/b_plus_tree_index.cpp
 Checking: /autograder/bustub/src/storage/index/extendible_hash_table_index.cpp
 Checking: /autograder/bustub/src/storage/index/index_iterator.cpp
 Checking: /autograder/bustub/src/storage/index/linear_probe_hash_table_index.cpp
 Checking: /autograder/bustub/src/storage/page/b_plus_tree_internal_page.cpp
 Checking: /autograder/bustub/src/storage/page/b_plus_tree_leaf_page.cpp
 Checking: /autograder/bustub/src/storage/page/b_plus_tree_page.cpp
 Checking: /autograder/bustub/src/storage/page/hash_table_block_page.cpp
 Checking: /autograder/bustub/src/storage/page/hash_table_bucket_page.cpp
 Checking: /autograder/bustub/src/storage/page/hash_table_directory_page.cpp
 Checking: /autograder/bustub/src/storage/page/hash_table_header_page.cpp
 Checking: /autograder/bustub/src/storage/page/header_page.cpp
 Checking: /autograder/bustub/src/storage/page/table_page.cpp
 Checking: /autograder/bustub/src/storage/table/table_heap.cpp
 Checking: /autograder/bustub/src/storage/table/table_iterator.cpp
 Checking: /autograder/bustub/src/storage/table/tuple.cpp
 Checking: /autograder/bustub/src/type/bigint_type.cpp
 Checking: /autograder/bustub/src/type/boolean_type.cpp
 Checking: /autograder/bustub/src/type/decimal_type.cpp
 Checking: /autograder/bustub/src/type/integer_parent_type.cpp
 Checking: /autograder/bustub/src/type/integer_type.cpp
 Checking: /autograder/bustub/src/type/smallint_type.cpp
 Checking: /autograder/bustub/src/type/timestamp_type.cpp
 Checking: /autograder/bustub/src/type/tinyint_type.cpp
 Checking: /autograder/bustub/src/type/type.cpp
 Checking: /autograder/bustub/src/type/value.cpp
 Checking: /autograder/bustub/src/type/varlen_type.cpp
 Checking: /autograder/bustub/third_party/murmur3/MurmurHash3.cpp
 Checking: /autograder/bustub/test/type/type_test.cpp
 Checking: /autograder/bustub/test/table/tuple_test.cpp
 Checking: /autograder/bustub/test/storage/tmp_tuple_page_test.cpp
 Checking: /autograder/bustub/test/storage/grading_b_plus_tree_memory_test.cpp
 Checking: /autograder/bustub/test/storage/grading_b_plus_tree_checkpoint_2_sequential_test.cpp
 Checking: /autograder/bustub/test/storage/grading_b_plus_tree_checkpoint_1_test.cpp
 Checking: /autograder/bustub/test/storage/grading_b_plus_tree_checkpoint_2_concurrent_test.cpp
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1352:11: error: The left operand of '==' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult,-warnings-as-errors]
  if (lhs == rhs) {
          ^
/autograder/bustub/test/storage/tmp_tuple_page_test.cpp:32:3: note: Control jumps to 'case 0:'  at line 32
  ASSERT_EQ(*reinterpret_cast<page_id_t *>(data), page_id);
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1869:31: note: expanded from macro 'ASSERT_EQ'
#define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2)
                              ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1853:3: note: expanded from macro 'GTEST_ASSERT_EQ'
  ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:148:3: note: expanded from macro 'ASSERT_PRED_FORMAT2'
  GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_)
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:3: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:78:3: note: expanded from macro 'GTEST_ASSERT_'
  GTEST_AMBIGUOUS_ELSE_BLOCKER_                                 \
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/internal/gtest-port.h:648:3: note: expanded from macro 'GTEST_AMBIGUOUS_ELSE_BLOCKER_'
  switch (0)                          \
  ^
/autograder/bustub/test/storage/tmp_tuple_page_test.cpp:32:3: note: Calling 'EqHelper::Compare'
  ASSERT_EQ(*reinterpret_cast<page_id_t *>(data), page_id);
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1869:31: note: expanded from macro 'ASSERT_EQ'
#define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2)
                              ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1853:23: note: expanded from macro 'GTEST_ASSERT_EQ'
  ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
                      ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:148:23: note: expanded from macro 'ASSERT_PRED_FORMAT2'
  GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_)
                      ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:17: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
                ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTEST_ASSERT_'
  if (const ::testing::AssertionResult gtest_ar = (expression)) \
                                                   ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1371:56: note: Passing value via 3rd parameter 'lhs'
    return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
                                                       ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1371:12: note: Calling 'CmpHelperEQ<int, int>'
    return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
           ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1352:11: note: The left operand of '==' is a garbage value
  if (lhs == rhs) {
          ^

 Checking: /autograder/bustub/test/storage/grading_b_plus_tree_bench_test.cpp
 Checking: /autograder/bustub/test/storage/b_plus_tree_insert_test.cpp
 Checking: /autograder/bustub/test/storage/grading_tmp_tuple_page_test.cpp
 Checking: /autograder/bustub/test/storage/b_plus_tree_concurrent_test.cpp
 Checking: /autograder/bustub/test/recovery/recovery_test.cpp
 Checking: /autograder/bustub/test/primer/starter_test.cpp
 Checking: /autograder/bustub/test/primer/grading_starter_test.cpp
 Checking: /autograder/bustub/test/execution/grading_update_executor_test.cpp
 Checking: /autograder/bustub/test/execution/grading_nested_loop_join_executor_test.cpp
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1352:11: error: The left operand of '==' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult,-warnings-as-errors]
  if (lhs == rhs) {
          ^
/autograder/bustub/test/storage/grading_tmp_tuple_page_test.cpp:101:3: note: Control jumps to 'case 0:'  at line 101
  ASSERT_EQ(*reinterpret_cast<page_id_t *>(data), page_id);
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1869:31: note: expanded from macro 'ASSERT_EQ'
#define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2)
                              ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1853:3: note: expanded from macro 'GTEST_ASSERT_EQ'
  ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:148:3: note: expanded from macro 'ASSERT_PRED_FORMAT2'
  GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_)
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:3: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:78:3: note: expanded from macro 'GTEST_ASSERT_'
  GTEST_AMBIGUOUS_ELSE_BLOCKER_                                 \
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/internal/gtest-port.h:648:3: note: expanded from macro 'GTEST_AMBIGUOUS_ELSE_BLOCKER_'
  switch (0)                          \
  ^
/autograder/bustub/test/storage/grading_tmp_tuple_page_test.cpp:101:3: note: Calling 'EqHelper::Compare'
  ASSERT_EQ(*reinterpret_cast<page_id_t *>(data), page_id);
  ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1869:31: note: expanded from macro 'ASSERT_EQ'
#define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2)
                              ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1853:23: note: expanded from macro 'GTEST_ASSERT_EQ'
  ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
                      ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:148:23: note: expanded from macro 'ASSERT_PRED_FORMAT2'
  GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_)
                      ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:17: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
                ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTEST_ASSERT_'
  if (const ::testing::AssertionResult gtest_ar = (expression)) \
                                                   ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1371:56: note: Passing value via 3rd parameter 'lhs'
    return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
                                                       ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1371:12: note: Calling 'CmpHelperEQ<int, int>'
    return CmpHelperEQ(lhs_expression, rhs_expression, lhs, rhs);
           ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1352:11: note: The left operand of '==' is a garbage value
  if (lhs == rhs) {
          ^

 Checking: /autograder/bustub/test/execution/grading_limit_executor_test.cpp
 Checking: /autograder/bustub/test/concurrency/transaction_test.cpp
 Checking: /autograder/bustub/test/execution/grading_executor_benchmark_test.cpp
 Checking: /autograder/bustub/test/recovery/grading_recovery_test.cpp
 Checking: /autograder/bustub/test/concurrency/grading_lock_manager_3_test.cpp
 Checking: /autograder/bustub/test/buffer/lru_replacer_test.cpp
 Checking: /autograder/bustub/test/buffer/parallel_buffer_pool_manager_test.cpp
 Checking: /autograder/bustub/test/buffer/grading_parallel_buffer_pool_manager_test.cpp
 Checking: /autograder/bustub/test/buffer/grading_lru_replacer_test.cpp
 Checking: /autograder/bustub/test/execution/grading_executor_integrated_test.cpp
 Checking: /autograder/bustub/test/storage/disk_manager_test.cpp
 Checking: /autograder/bustub/test/buffer/buffer_pool_manager_instance_test.cpp
 Checking: /autograder/bustub/test/execution/grading_sequential_scan_executor_test.cpp
 Checking: /autograder/bustub/test/concurrency/grading_lock_manager_1_test.cpp
 Checking: /autograder/bustub/test/storage/b_plus_tree_print_test.cpp
 Checking: /autograder/bustub/test/buffer/clock_replacer_test.cpp
 Checking: /autograder/bustub/test/execution/grading_distinct_executor_test.cpp
 Checking: /autograder/bustub/test/buffer/grading_buffer_pool_manager_instance_test.cpp
 Checking: /autograder/bustub/test/concurrency/grading_lock_manager_2_test.cpp
 Checking: /autograder/bustub/test/concurrency/grading_transaction_test.cpp
 Checking: /autograder/bustub/test/storage/grading_b_plus_tree_test.cpp
 Checking: /autograder/bustub/test/buffer/grading_leaderboard_test.cpp
 Checking: /autograder/bustub/test/container/grading_hash_table_verification_test.cpp
 Checking: /autograder/bustub/test/concurrency/grading_rollback_test.cpp
 Checking: /autograder/bustub/test/container/hash_table_page_test.cpp
 Checking: /autograder/bustub/test/concurrency/lock_manager_test.cpp
 Checking: /autograder/bustub/test/storage/b_plus_tree_delete_test.cpp
 Checking: /autograder/bustub/test/container/grading_hash_table_concurrent_test.cpp
 Checking: /autograder/bustub/test/container/grading_hash_table_page_test.cpp
 Checking: /autograder/bustub/test/concurrency/grading_lock_manager_detection_test.cpp
 Checking: /autograder/bustub/test/container/grading_hash_table_leaderboard_test.cpp
 Checking: /autograder/bustub/test/common/rwlatch_test.cpp
 Checking: /autograder/bustub/test/container/grading_hash_table_scale_test.cpp
 Checking: /autograder/bustub/test/container/grading_hash_table_test.cpp
 Checking: /autograder/bustub/test/container/hash_table_test.cpp
 Checking: /autograder/bustub/test/execution/grading_aggregation_executor_test.cpp
 Checking: /autograder/bustub/test/catalog/catalog_test.cpp
 Checking: /autograder/bustub/test/execution/grading_insert_executor_test.cpp
 Checking: /autograder/bustub/test/execution/grading_delete_executor_test.cpp
 Checking: /autograder/bustub/test/execution/executor_test.cpp
 Checking: /autograder/bustub/test/execution/grading_hash_join_executor_test.cppThe files that failed were:
[u'/autograder/bustub/test/storage/tmp_tuple_page_test.cpp',
 u'/autograder/bustub/test/storage/grading_tmp_tuple_page_test.cpp']
Note that a failing .h file will fail all the .cpp files that include it.

CMakeFiles/check-clang-tidy.dir/build.make:57: recipe for target 'CMakeFiles/check-clang-tidy' failed
CMakeFiles/Makefile2:164: recipe for target 'CMakeFiles/check-clang-tidy.dir/all' failed
CMakeFiles/Makefile2:171: recipe for target 'CMakeFiles/check-clang-tidy.dir/rule' failed
Makefile:214: recipe for target 'check-clang-tidy' failed

make[3]: *** [CMakeFiles/check-clang-tidy] Error 1
make[2]: *** [CMakeFiles/check-clang-tidy.dir/all] Error 2
make[1]: *** [CMakeFiles/check-clang-tidy.dir/rule] Error 2
make: *** [check-clang-tidy] Error 2

Test Failed: False is not true : Build failed.
PhzCode commented 2 years ago

@charstal What is the error?

same, 2021 fall if I add #226 in my uploading, the problem will be fixed

In project 0 (2020 fall), I submited the p0_starter.h and the tmp_tuple_page.h, and still have those errors below. Anyone else has same error?

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- BusTub/main found clang-format at /usr/bin/clang-format-8
-- BusTub/main found clang-tidy at /usr/bin/clang-tidy-8
-- BusTub/main found cpplint at /autograder/bustub/build_support/cpplint.py
-- Configuring done
-- Generating done
-- Build files have been written to: /autograder/bustub/build/googletest-download
Scanning dependencies of target googletest
[ 11%] Creating directories for 'googletest'
[ 22%] Performing download step (git clone) for 'googletest'
Cloning into 'googletest-src'...
fatal: invalid reference: master
CMake Error at googletest-download/googletest-prefix/tmp/googletest-gitclone.cmake:75 (message):
  Failed to checkout tag: 'master'

CMakeFiles/googletest.dir/build.make:90: recipe for target 'googletest-prefix/src/googletest-stamp/googletest-download' failed
make[2]: *** [googletest-prefix/src/googletest-stamp/googletest-download] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/googletest.dir/all' failed
make[1]: *** [CMakeFiles/googletest.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
-- Found PythonInterp: /usr/bin/python (found version "2.7.17") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- CMAKE_CXX_FLAGS:  -D__BUSTUBFILE__='"$(subst /autograder/bustub/,,$(abspath $<))"' -fPIC -Wall -Wextra -Werror -march=native -Wno-unused-parameter -Wno-attributes
-- CMAKE_CXX_FLAGS_DEBUG: -g -O0 -ggdb -fsanitize=address -fno-omit-frame-pointer -fno-optimize-sibling-calls
-- CMAKE_EXE_LINKER_FLAGS:  -fPIC
-- CMAKE_SHARED_LINKER_FLAGS:  -fPIC
-- BusTub/test found valgrind at /usr/bin/valgrind
-- Configuring done
-- Generating done
-- Build files have been written to: /autograder/bustub/build

Scanning dependencies of target thirdparty_murmur3
Scanning dependencies of target gtest
[  2%] Building CXX object src/CMakeFiles/thirdparty_murmur3.dir/__/third_party/murmur3/MurmurHash3.cpp.o
[  4%] Building CXX object googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[  6%] Linking CXX shared library ../lib/libthirdparty_murmur3.so
[  6%] Built target thirdparty_murmur3
Scanning dependencies of target bustub_shared
[  8%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/buffer_pool_manager.cpp.o
[ 10%] Building CXX object src/CMakeFiles/bustub_shared.dir/buffer/clock_replacer.cpp.o
[ 12%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/column.cpp.o
[ 14%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/schema.cpp.o
[ 16%] Building CXX object src/CMakeFiles/bustub_shared.dir/catalog/table_generator.cpp.o
[ 18%] Building CXX object src/CMakeFiles/bustub_shared.dir/common/config.cpp.o
[ 20%] Building CXX object src/CMakeFiles/bustub_shared.dir/common/util/string_util.cpp.o
[ 22%] Building CXX object src/CMakeFiles/bustub_shared.dir/concurrency/lock_manager.cpp.o
[ 25%] Linking CXX shared library ../../lib/libgtest.so
[ 25%] Built target gtest
[ 27%] Building CXX object src/CMakeFiles/bustub_shared.dir/concurrency/transaction_manager.cpp.o
Scanning dependencies of target gmock
[ 29%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[ 31%] Building CXX object src/CMakeFiles/bustub_shared.dir/container/hash/linear_probe_hash_table.cpp.o
[ 33%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/aggregation_executor.cpp.o
[ 35%] Linking CXX shared library ../../lib/libgmock.so
[ 35%] Built target gmock
[ 37%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/executor_factory.cpp.o
Scanning dependencies of target gtest_main
[ 39%] Building CXX object googletest-build/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 41%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/hash_join_executor.cpp.o
[ 43%] Linking CXX shared library ../../lib/libgtest_main.so
[ 43%] Built target gtest_main
[ 45%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/insert_executor.cpp.o
Scanning dependencies of target gmock_main
[ 47%] Building CXX object googletest-build/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
[ 50%] Building CXX object src/CMakeFiles/bustub_shared.dir/execution/seq_scan_executor.cpp.o
[ 52%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/checkpoint_manager.cpp.o
[ 54%] Linking CXX shared library ../../lib/libgmock_main.so
[ 54%] Built target gmock_main
[ 56%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/log_manager.cpp.o
[ 58%] Building CXX object src/CMakeFiles/bustub_shared.dir/recovery/log_recovery.cpp.o
[ 60%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/disk/disk_manager.cpp.o
[ 62%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/index/linear_probe_hash_table_index.cpp.o
[ 64%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_block_page.cpp.o
[ 66%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/hash_table_header_page.cpp.o
[ 68%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/page/table_page.cpp.o
[ 70%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/table_heap.cpp.o
[ 72%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/table_iterator.cpp.o
[ 75%] Building CXX object src/CMakeFiles/bustub_shared.dir/storage/table/tuple.cpp.o
[ 77%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/bigint_type.cpp.o
[ 79%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/boolean_type.cpp.o
[ 81%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/decimal_type.cpp.o
[ 83%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/integer_parent_type.cpp.o
[ 85%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/integer_type.cpp.o
[ 87%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/smallint_type.cpp.o
[ 89%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/timestamp_type.cpp.o
[ 91%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/tinyint_type.cpp.o
[ 93%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/type.cpp.o
[ 95%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/value.cpp.o
[ 97%] Building CXX object src/CMakeFiles/bustub_shared.dir/type/varlen_type.cpp.o
[100%] Linking CXX shared library ../lib/libbustub_shared.so
[100%] Built target bustub_shared

Scanning dependencies of target check-format
Built target check-format

Scanning dependencies of target check-lint
Built target check-lint

[  4%] Built target thirdparty_murmur3
[ 95%] Built target bustub_shared
[100%] Built target gtest
Scanning dependencies of target check-clang-tidy
Enabled checks:
    bugprone-argument-comment
    bugprone-assert-side-effect
    bugprone-bool-pointer-implicit-conversion
    bugprone-copy-constructor-init
    bugprone-dangling-handle
    bugprone-exception-escape
    bugprone-fold-init-type
    bugprone-forward-declaration-namespace
    bugprone-forwarding-reference-overload
    bugprone-inaccurate-erase
    bugprone-incorrect-roundings
    bugprone-integer-division
    bugprone-lambda-function-name
    bugprone-macro-parentheses
    bugprone-macro-repeated-side-effects
    bugprone-misplaced-operator-in-strlen-in-alloc
    bugprone-misplaced-widening-cast
    bugprone-move-forwarding-reference
    bugprone-multiple-statement-macro
    bugprone-narrowing-conversions
    bugprone-parent-virtual-call
    bugprone-sizeof-container
    bugprone-sizeof-expression
    bugprone-string-constructor
    bugprone-string-integer-assignment
    bugprone-string-literal-with-embedded-nul
    bugprone-suspicious-enum-usage
    bugprone-suspicious-memset-usage
    bugprone-suspicious-missing-comma
    bugprone-suspicious-semicolon
    bugprone-suspicious-string-compare
    bugprone-swapped-arguments
    bugprone-terminating-continue
    bugprone-throw-keyword-missing
    bugprone-undefined-memory-manipulation
    bugprone-undelegated-constructor
    bugprone-unused-raii
    bugprone-unused-return-value
    bugprone-use-after-move
    bugprone-virtual-near-miss
    clang-analyzer-apiModeling.StdCLibraryFunctions
    clang-analyzer-apiModeling.TrustNonnull
    clang-analyzer-apiModeling.google.GTest
    clang-analyzer-core.CallAndMessage
    clang-analyzer-core.DivideZero
    clang-analyzer-core.DynamicTypePropagation
    clang-analyzer-core.NonNullParamChecker
    clang-analyzer-core.NonnilStringConstants
    clang-analyzer-core.NullDereference
    clang-analyzer-core.StackAddressEscape
    clang-analyzer-core.UndefinedBinaryOperatorResult
    clang-analyzer-core.VLASize
    clang-analyzer-core.builtin.BuiltinFunctions
    clang-analyzer-core.builtin.NoReturnFunctions
    clang-analyzer-core.uninitialized.ArraySubscript
    clang-analyzer-core.uninitialized.Assign
    clang-analyzer-core.uninitialized.Branch
    clang-analyzer-core.uninitialized.CapturedBlockVariable
    clang-analyzer-core.uninitialized.UndefReturn
    clang-analyzer-cplusplus.InnerPointer
    clang-analyzer-cplusplus.Move
    clang-analyzer-cplusplus.SelfAssignment
    clang-analyzer-deadcode.DeadStores
    clang-analyzer-nullability.NullPassedToNonnull
    clang-analyzer-nullability.NullReturnedFromNonnull
    clang-analyzer-nullability.NullableDereferenced
    clang-analyzer-nullability.NullablePassedToNonnull
    clang-analyzer-nullability.NullableReturnedFromNonnull
    clang-analyzer-optin.cplusplus.VirtualCall
    clang-analyzer-optin.mpi.MPI-Checker
    clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker
    clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker
    clang-analyzer-optin.performance.GCDAntipattern
    clang-analyzer-optin.performance.Padding
    clang-analyzer-optin.portability.UnixAPI
    clang-analyzer-osx.API
    clang-analyzer-osx.NumberObjectConversion
    clang-analyzer-osx.OSObjectRetainCount
    clang-analyzer-osx.ObjCProperty
    clang-analyzer-osx.SecKeychainAPI
    clang-analyzer-osx.cocoa.AtSync
    clang-analyzer-osx.cocoa.AutoreleaseWrite
    clang-analyzer-osx.cocoa.ClassRelease
    clang-analyzer-osx.cocoa.Dealloc
    clang-analyzer-osx.cocoa.IncompatibleMethodTypes
    clang-analyzer-osx.cocoa.Loops
    clang-analyzer-osx.cocoa.MissingSuperCall
    clang-analyzer-osx.cocoa.NSAutoreleasePool
    clang-analyzer-osx.cocoa.NSError
    clang-analyzer-osx.cocoa.NilArg
    clang-analyzer-osx.cocoa.NonNilReturnValue
    clang-analyzer-osx.cocoa.ObjCGenerics
    clang-analyzer-osx.cocoa.RetainCount
    clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak
    clang-analyzer-osx.cocoa.SelfInit
    clang-analyzer-osx.cocoa.SuperDealloc
    clang-analyzer-osx.cocoa.UnusedIvars
    clang-analyzer-osx.cocoa.VariadicMethodTypes
    clang-analyzer-osx.coreFoundation.CFError
    clang-analyzer-osx.coreFoundation.CFNumber
    clang-analyzer-osx.coreFoundation.CFRetainRelease
    clang-analyzer-osx.coreFoundation.containers.OutOfBounds
    clang-analyzer-osx.coreFoundation.containers.PointerSizedValues
    clang-analyzer-security.FloatLoopCounter
    clang-analyzer-security.insecureAPI.UncheckedReturn
    clang-analyzer-security.insecureAPI.bcmp
    clang-analyzer-security.insecureAPI.bcopy
    clang-analyzer-security.insecureAPI.bzero
    clang-analyzer-security.insecureAPI.getpw
    clang-analyzer-security.insecureAPI.gets
    clang-analyzer-security.insecureAPI.mkstemp
    clang-analyzer-security.insecureAPI.mktemp
    clang-analyzer-security.insecureAPI.rand
    clang-analyzer-security.insecureAPI.strcpy
    clang-analyzer-security.insecureAPI.vfork
    clang-analyzer-unix.API
    clang-analyzer-unix.Malloc
    clang-analyzer-unix.MallocSizeof
    clang-analyzer-unix.MismatchedDeallocator
    clang-analyzer-unix.Vfork
    clang-analyzer-unix.cstring.BadSizeArg
    clang-analyzer-unix.cstring.NullArg
    clang-analyzer-valist.CopyToSelf
    clang-analyzer-valist.Uninitialized
    clang-analyzer-valist.Unterminated
    google-build-explicit-make-pair
    google-build-namespaces
    google-build-using-namespace
    google-default-arguments
    google-explicit-constructor
    google-global-names-in-headers
    google-objc-avoid-throwing-exception
    google-objc-function-naming
    google-objc-global-variable-declaration
    google-readability-braces-around-statements
    google-readability-casting
    google-readability-function-size
    google-readability-namespace-comments
    google-readability-todo
    google-runtime-int
    google-runtime-operator
    google-runtime-references
    modernize-avoid-bind
    modernize-concat-nested-namespaces
    modernize-deprecated-headers
    modernize-deprecated-ios-base-aliases
    modernize-loop-convert
    modernize-make-shared
    modernize-make-unique
    modernize-pass-by-value
    modernize-raw-string-literal
    modernize-redundant-void-arg
    modernize-replace-auto-ptr
    modernize-replace-random-shuffle
    modernize-return-braced-init-list
    modernize-shrink-to-fit
    modernize-unary-static-assert
    modernize-use-auto
    modernize-use-bool-literals
    modernize-use-default-member-init
    modernize-use-emplace
    modernize-use-equals-default
    modernize-use-equals-delete
    modernize-use-noexcept
    modernize-use-nullptr
    modernize-use-override
    modernize-use-transparent-functors
    modernize-use-uncaught-exceptions
    modernize-use-using
    performance-faster-string-find
    performance-for-range-copy
    performance-implicit-conversion-in-loop
    performance-inefficient-algorithm
    performance-inefficient-string-concatenation
    performance-inefficient-vector-operation
    performance-move-const-arg
    performance-move-constructor-init
    performance-noexcept-move-constructor
    performance-type-promotion-in-math-fn
    performance-unnecessary-copy-initialization
    performance-unnecessary-value-param
    portability-simd-intrinsics
    readability-avoid-const-params-in-decls
    readability-braces-around-statements
    readability-const-return-type
    readability-container-size-empty
    readability-delete-null-pointer
    readability-deleted-default
    readability-else-after-return
    readability-function-size
    readability-identifier-naming
    readability-implicit-bool-conversion
    readability-inconsistent-declaration-parameter-name
    readability-isolate-declaration
    readability-misleading-indentation
    readability-misplaced-array-index
    readability-named-parameter
    readability-non-const-parameter
    readability-redundant-control-flow
    readability-redundant-declaration
    readability-redundant-function-ptr-dereference
    readability-redundant-member-init
    readability-redundant-preprocessor
    readability-redundant-smartptr-get
    readability-redundant-string-cstr
    readability-redundant-string-init
    readability-simplify-boolean-expr
    readability-simplify-subscript-expr
    readability-static-accessed-through-instance
    readability-static-definition-in-anonymous-namespace
    readability-string-compare
    readability-uniqueptr-delete-release
    readability-uppercase-literal-suffix

 Checking: /autograder/bustub/build/googletest-src/googlemock/src/gmock_main.cc
 Checking: /autograder/bustub/build/googletest-src/googlemock/src/gmock-all.cc
 Checking: /autograder/bustub/build/googletest-src/googletest/src/gtest_main.cc
 Checking: /autograder/bustub/build/googletest-src/googletest/src/gtest-all.cc
 Checking: /autograder/bustub/src/buffer/buffer_pool_manager.cpp
 Checking: /autograder/bustub/src/buffer/clock_replacer.cpp
 Checking: /autograder/bustub/src/catalog/column.cpp
 Checking: /autograder/bustub/src/catalog/schema.cpp
 Checking: /autograder/bustub/src/catalog/table_generator.cpp
 Checking: /autograder/bustub/src/common/config.cpp
 Checking: /autograder/bustub/src/common/util/string_util.cpp
 Checking: /autograder/bustub/src/concurrency/lock_manager.cpp
 Checking: /autograder/bustub/src/concurrency/transaction_manager.cpp
 Checking: /autograder/bustub/src/container/hash/linear_probe_hash_table.cpp
 Checking: /autograder/bustub/src/execution/aggregation_executor.cpp
 Checking: /autograder/bustub/src/execution/executor_factory.cpp
 Checking: /autograder/bustub/src/execution/hash_join_executor.cpp
 Checking: /autograder/bustub/src/execution/insert_executor.cpp
 Checking: /autograder/bustub/src/execution/seq_scan_executor.cpp
 Checking: /autograder/bustub/src/recovery/checkpoint_manager.cpp
 Checking: /autograder/bustub/src/recovery/log_manager.cpp
 Checking: /autograder/bustub/src/recovery/log_recovery.cpp
 Checking: /autograder/bustub/src/storage/disk/disk_manager.cpp
 Checking: /autograder/bustub/src/storage/index/linear_probe_hash_table_index.cpp
 Checking: /autograder/bustub/src/storage/page/hash_table_block_page.cpp
 Checking: /autograder/bustub/src/storage/page/hash_table_header_page.cpp
 Checking: /autograder/bustub/src/storage/page/table_page.cpp
 Checking: /autograder/bustub/src/storage/table/table_heap.cpp
 Checking: /autograder/bustub/src/storage/table/table_iterator.cpp
 Checking: /autograder/bustub/src/storage/table/tuple.cpp
 Checking: /autograder/bustub/src/type/bigint_type.cpp
 Checking: /autograder/bustub/src/type/boolean_type.cpp
 Checking: /autograder/bustub/src/type/decimal_type.cpp
 Checking: /autograder/bustub/src/type/integer_parent_type.cpp
 Checking: /autograder/bustub/src/type/integer_type.cpp
 Checking: /autograder/bustub/src/type/smallint_type.cpp
 Checking: /autograder/bustub/src/type/timestamp_type.cpp
 Checking: /autograder/bustub/src/type/tinyint_type.cpp
 Checking: /autograder/bustub/src/type/type.cpp
 Checking: /autograder/bustub/src/type/value.cpp
 Checking: /autograder/bustub/src/type/varlen_type.cpp
 Checking: /autograder/bustub/third_party/murmur3/MurmurHash3.cpp
 Checking: /autograder/bustub/test/buffer/buffer_pool_manager_test.cpp
 Checking: /autograder/bustub/test/concurrency/lock_manager_test.cpp
 Checking: /autograder/bustub/test/catalog/catalog_test.cpp
 Checking: /autograder/bustub/test/buffer/clock_replacer_test.cpp
 Checking: /autograder/bustub/test/storage/disk_manager_test.cpp
 Checking: /autograder/bustub/test/container/hash_table_test.cpp
 Checking: /autograder/bustub/test/container/hash_table_page_test.cpp
 Checking: /autograder/bustub/test/type/type_test.cpp
 Checking: /autograder/bustub/test/execution/executor_test.cpp
 Checking: /autograder/bustub/test/primer/starter_test.cpp
 Checking: /autograder/bustub/test/recovery/recovery_test.cpp
 Checking: /autograder/bustub/test/storage/tmp_tuple_page_test.cpp
 Checking: /autograder/bustub/test/common/rwlatch_test.cpp
/autograder/bustub/test/primer/starter_test.cpp:28:13: error: no member named 'MatImport' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
  mat1_ptr->MatImport(&arr1[0]);
            ^
/autograder/bustub/test/primer/starter_test.cpp:31:44: error: no member named 'GetElem' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
      EXPECT_EQ(arr1[i * 3 + j], mat1_ptr->GetElem(i, j));
                                           ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1840:69: note: expanded from macro 'EXPECT_EQ'
  EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
                                                                    ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:144:40: note: expanded from macro 'EXPECT_PRED_FORMAT2'
  GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
                                       ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:43: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
                                          ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTEST_ASSERT_'
  if (const ::testing::AssertionResult gtest_ar = (expression)) \
                                                   ^
/autograder/bustub/test/primer/starter_test.cpp:37:13: error: no member named 'MatImport' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
  mat2_ptr->MatImport(&arr2[0]);
            ^
/autograder/bustub/test/primer/starter_test.cpp:40:44: error: no member named 'GetElem' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
      EXPECT_EQ(arr2[i * 3 + j], mat2_ptr->GetElem(i, j));
                                           ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1840:69: note: expanded from macro 'EXPECT_EQ'
  EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
                                                                    ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:144:40: note: expanded from macro 'EXPECT_PRED_FORMAT2'
  GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
                                       ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:43: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
                                          ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTEST_ASSERT_'
  if (const ::testing::AssertionResult gtest_ar = (expression)) \
                                                   ^
/autograder/bustub/test/primer/starter_test.cpp:45:71: error: no member named 'AddMatrices' in 'bustub::RowMatrixOperations<int>' [clang-diagnostic-error]
  std::unique_ptr<RowMatrix<int>> sum_ptr = RowMatrixOperations<int>::AddMatrices(move(mat1_ptr), move(mat2_ptr));
                                                                      ^
/autograder/bustub/test/primer/starter_test.cpp:57:13: error: no member named 'MatImport' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
  mat1_ptr->MatImport(&arr1[0]);
            ^
/autograder/bustub/test/primer/starter_test.cpp:60:44: error: no member named 'GetElem' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
      EXPECT_EQ(arr1[i * 3 + j], mat1_ptr->GetElem(i, j));
                                           ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1840:69: note: expanded from macro 'EXPECT_EQ'
  EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
                                                                    ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:144:40: note: expanded from macro 'EXPECT_PRED_FORMAT2'
  GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
                                       ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:43: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
                                          ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTEST_ASSERT_'
  if (const ::testing::AssertionResult gtest_ar = (expression)) \
                                                   ^
/autograder/bustub/test/primer/starter_test.cpp:66:13: error: no member named 'MatImport' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
  mat2_ptr->MatImport(&arr2[0]);
            ^
/autograder/bustub/test/primer/starter_test.cpp:69:44: error: no member named 'GetElem' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
      EXPECT_EQ(arr2[i * 2 + j], mat2_ptr->GetElem(i, j));
                                           ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1840:69: note: expanded from macro 'EXPECT_EQ'
  EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
                                                                    ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:144:40: note: expanded from macro 'EXPECT_PRED_FORMAT2'
  GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
                                       ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:43: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
                                          ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTEST_ASSERT_'
  if (const ::testing::AssertionResult gtest_ar = (expression)) \
                                                   ^
/autograder/bustub/test/primer/starter_test.cpp:75:33: error: no member named 'MultiplyMatrices' in 'bustub::RowMatrixOperations<int>' [clang-diagnostic-error]
      RowMatrixOperations<int>::MultiplyMatrices(move(mat1_ptr), move(mat2_ptr));
                                ^
/autograder/bustub/test/primer/starter_test.cpp:87:13: error: no member named 'MatImport' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
  mat1_ptr->MatImport(&arr1[0]);
            ^
/autograder/bustub/test/primer/starter_test.cpp:90:44: error: no member named 'GetElem' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
      EXPECT_EQ(arr1[i * 3 + j], mat1_ptr->GetElem(i, j));
                                           ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1840:69: note: expanded from macro 'EXPECT_EQ'
  EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
                                                                    ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:144:40: note: expanded from macro 'EXPECT_PRED_FORMAT2'
  GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
                                       ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:43: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
                                          ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTEST_ASSERT_'
  if (const ::testing::AssertionResult gtest_ar = (expression)) \
                                                   ^
/autograder/bustub/test/primer/starter_test.cpp:96:13: error: no member named 'MatImport' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
  mat2_ptr->MatImport(&arr2[0]);
            ^
/autograder/bustub/test/primer/starter_test.cpp:99:44: error: no member named 'GetElem' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
      EXPECT_EQ(arr2[i * 2 + j], mat2_ptr->GetElem(i, j));
                                           ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:1840:69: note: expanded from macro 'EXPECT_EQ'
  EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
                                                                    ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:144:40: note: expanded from macro 'EXPECT_PRED_FORMAT2'
  GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
                                       ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:134:43: note: expanded from macro 'GTEST_PRED_FORMAT2_'
  GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
                                          ^
/autograder/bustub/build/googletest-src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: expanded from macro 'GTEST_ASSERT_'
  if (const ::testing::AssertionResult gtest_ar = (expression)) \
                                                   ^
/autograder/bustub/test/primer/starter_test.cpp:105:13: error: no member named 'MatImport' in 'bustub::RowMatrix<int>' [clang-diagnostic-error]
  mat3_ptr->MatImport(&arr3[0]);
            ^
/autograder/bustub/test/primer/starter_test.cpp:109:33: error: no member named 'GemmMatrices' in 'bustub::RowMatrixOperations<int>' [clang-diagnostic-error]
      RowMatrixOperations<int>::GemmMatrices(move(mat1_ptr), move(mat2_ptr), move(mat3_ptr));
                                ^

 Checking: /autograder/bustub/test/table/tuple_test.cppThe files that failed were:
[u'/autograder/bustub/test/primer/starter_test.cpp']
Note that a failing .h file will fail all the .cpp files that include it.

CMakeFiles/check-clang-tidy.dir/build.make:57: recipe for target 'CMakeFiles/check-clang-tidy' failed
make[3]: *** [CMakeFiles/check-clang-tidy] Error 1
CMakeFiles/Makefile2:164: recipe for target 'CMakeFiles/check-clang-tidy.dir/all' failed
make[2]: *** [CMakeFiles/check-clang-tidy.dir/all] Error 2
CMakeFiles/Makefile2:171: recipe for target 'CMakeFiles/check-clang-tidy.dir/rule' failed
make[1]: *** [CMakeFiles/check-clang-tidy.dir/rule] Error 2
Makefile:214: recipe for target 'check-clang-tidy' failed
make: *** [check-clang-tidy] Error 2

Called process exited with 2
[  2%] Built target thirdparty_murmur3
[  5%] Built target gtest
[  8%] Built target gmock
[ 10%] Built target gmock_main
[ 62%] Built target bustub_shared
Scanning dependencies of target tuple_test
[ 63%] Building CXX object test/CMakeFiles/tuple_test.dir/table/tuple_test.cpp.o
[ 64%] Linking CXX executable tuple_test
[ 64%] Built target tuple_test
Scanning dependencies of target buffer_pool_manager_test
[ 66%] Building CXX object test/CMakeFiles/buffer_pool_manager_test.dir/buffer/buffer_pool_manager_test.cpp.o
[ 67%] Linking CXX executable buffer_pool_manager_test
[ 67%] Built target buffer_pool_manager_test
Scanning dependencies of target lock_manager_test
[ 68%] Building CXX object test/CMakeFiles/lock_manager_test.dir/concurrency/lock_manager_test.cpp.o
[ 70%] Linking CXX executable lock_manager_test
[ 70%] Built target lock_manager_test
Scanning dependencies of target catalog_test
[ 71%] Building CXX object test/CMakeFiles/catalog_test.dir/catalog/catalog_test.cpp.o
[ 72%] Linking CXX executable catalog_test
[ 72%] Built target catalog_test
Scanning dependencies of target clock_replacer_test
[ 74%] Building CXX object test/CMakeFiles/clock_replacer_test.dir/buffer/clock_replacer_test.cpp.o
[ 75%] Linking CXX executable clock_replacer_test
[ 75%] Built target clock_replacer_test
Scanning dependencies of target disk_manager_test
[ 77%] Building CXX object test/CMakeFiles/disk_manager_test.dir/storage/disk_manager_test.cpp.o
[ 78%] Linking CXX executable disk_manager_test
[ 78%] Built target disk_manager_test
Scanning dependencies of target hash_table_test
[ 79%] Building CXX object test/CMakeFiles/hash_table_test.dir/container/hash_table_test.cpp.o
[ 81%] Linking CXX executable hash_table_test
[ 81%] Built target hash_table_test
Scanning dependencies of target hash_table_page_test
[ 82%] Building CXX object test/CMakeFiles/hash_table_page_test.dir/container/hash_table_page_test.cpp.o
[ 83%] Linking CXX executable hash_table_page_test
[ 83%] Built target hash_table_page_test
Scanning dependencies of target type_test
[ 85%] Building CXX object test/CMakeFiles/type_test.dir/type/type_test.cpp.o
[ 86%] Linking CXX executable type_test
[ 86%] Built target type_test
Scanning dependencies of target executor_test
[ 87%] Building CXX object test/CMakeFiles/executor_test.dir/execution/executor_test.cpp.o
[ 89%] Linking CXX executable executor_test
[ 89%] Built target executor_test
Scanning dependencies of target starter_test
[ 90%] Building CXX object test/CMakeFiles/starter_test.dir/primer/starter_test.cpp.o
/autograder/bustub/test/primer/starter_test.cpp: In member function ‘virtual void bustub::StarterTest_AddMatricesTest_Test::TestBody()’:
/autograder/bustub/test/primer/starter_test.cpp:28:13: error: ‘class bustub::RowMatrix<int>’ has no member named ‘MatImport’
   mat1_ptr->MatImport(&arr1[0]);
             ^~~~~~~~~
In file included from /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:67:0,
                 from /autograder/bustub/test/primer/starter_test.cpp:15:
/autograder/bustub/test/primer/starter_test.cpp:31:44: error: ‘class bustub::RowMatrix<int>’ has no member named ‘GetElem’; did you mean ‘GetElement’?
       EXPECT_EQ(arr1[i * 3 + j], mat1_ptr->GetElem(i, j));
                                            ^
/autograder/bustub/test/primer/starter_test.cpp:37:13: error: ‘class bustub::RowMatrix<int>’ has no member named ‘MatImport’
   mat2_ptr->MatImport(&arr2[0]);
             ^~~~~~~~~
In file included from /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:67:0,
                 from /autograder/bustub/test/primer/starter_test.cpp:15:
/autograder/bustub/test/primer/starter_test.cpp:40:44: error: ‘class bustub::RowMatrix<int>’ has no member named ‘GetElem’; did you mean ‘GetElement’?
       EXPECT_EQ(arr2[i * 3 + j], mat2_ptr->GetElem(i, j));
                                            ^
/autograder/bustub/test/primer/starter_test.cpp:45:71: error: ‘AddMatrices’ is not a member of ‘bustub::RowMatrixOperations<int>’
   std::unique_ptr<RowMatrix<int>> sum_ptr = RowMatrixOperations<int>::AddMatrices(move(mat1_ptr), move(mat2_ptr));
                                                                       ^~~~~~~~~~~
In file included from /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:67:0,
                 from /autograder/bustub/test/primer/starter_test.cpp:15:
/autograder/bustub/test/primer/starter_test.cpp:48:43: error: ‘class bustub::RowMatrix<int>’ has no member named ‘GetElem’; did you mean ‘GetElement’?
       EXPECT_EQ(arr3[i * 3 + j], sum_ptr->GetElem(i, j));
                                           ^
/autograder/bustub/test/primer/starter_test.cpp: In member function ‘virtual void bustub::StarterTest_MultiplyMatricesTest_Test::TestBody()’:
/autograder/bustub/test/primer/starter_test.cpp:57:13: error: ‘class bustub::RowMatrix<int>’ has no member named ‘MatImport’
   mat1_ptr->MatImport(&arr1[0]);
             ^~~~~~~~~
In file included from /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:67:0,
                 from /autograder/bustub/test/primer/starter_test.cpp:15:
/autograder/bustub/test/primer/starter_test.cpp:60:44: error: ‘class bustub::RowMatrix<int>’ has no member named ‘GetElem’; did you mean ‘GetElement’?
       EXPECT_EQ(arr1[i * 3 + j], mat1_ptr->GetElem(i, j));
                                            ^
/autograder/bustub/test/primer/starter_test.cpp:66:13: error: ‘class bustub::RowMatrix<int>’ has no member named ‘MatImport’
   mat2_ptr->MatImport(&arr2[0]);
             ^~~~~~~~~
In file included from /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:67:0,
                 from /autograder/bustub/test/primer/starter_test.cpp:15:
/autograder/bustub/test/primer/starter_test.cpp:69:44: error: ‘class bustub::RowMatrix<int>’ has no member named ‘GetElem’; did you mean ‘GetElement’?
       EXPECT_EQ(arr2[i * 2 + j], mat2_ptr->GetElem(i, j));
                                            ^
/autograder/bustub/test/primer/starter_test.cpp:75:33: error: ‘MultiplyMatrices’ is not a member of ‘bustub::RowMatrixOperations<int>’
       RowMatrixOperations<int>::MultiplyMatrices(move(mat1_ptr), move(mat2_ptr));
                                 ^~~~~~~~~~~~~~~~
In file included from /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:67:0,
                 from /autograder/bustub/test/primer/starter_test.cpp:15:
/autograder/bustub/test/primer/starter_test.cpp:78:47: error: ‘class bustub::RowMatrix<int>’ has no member named ‘GetElem’; did you mean ‘GetElement’?
       EXPECT_EQ(arr3[i * 2 + j], product_ptr->GetElem(i, j));
                                               ^
/autograder/bustub/test/primer/starter_test.cpp: In member function ‘virtual void bustub::StarterTest_GEMMTest_Test::TestBody()’:
/autograder/bustub/test/primer/starter_test.cpp:87:13: error: ‘class bustub::RowMatrix<int>’ has no member named ‘MatImport’
   mat1_ptr->MatImport(&arr1[0]);
             ^~~~~~~~~
In file included from /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:67:0,
                 from /autograder/bustub/test/primer/starter_test.cpp:15:
/autograder/bustub/test/primer/starter_test.cpp:90:44: error: ‘class bustub::RowMatrix<int>’ has no member named ‘GetElem’; did you mean ‘GetElement’?
       EXPECT_EQ(arr1[i * 3 + j], mat1_ptr->GetElem(i, j));
                                            ^
/autograder/bustub/test/primer/starter_test.cpp:96:13: error: ‘class bustub::RowMatrix<int>’ has no member named ‘MatImport’
   mat2_ptr->MatImport(&arr2[0]);
             ^~~~~~~~~
In file included from /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:67:0,
                 from /autograder/bustub/test/primer/starter_test.cpp:15:
/autograder/bustub/test/primer/starter_test.cpp:99:44: error: ‘class bustub::RowMatrix<int>’ has no member named ‘GetElem’; did you mean ‘GetElement’?
       EXPECT_EQ(arr2[i * 2 + j], mat2_ptr->GetElem(i, j));
                                            ^
/autograder/bustub/test/primer/starter_test.cpp:105:13: error: ‘class bustub::RowMatrix<int>’ has no member named ‘MatImport’
   mat3_ptr->MatImport(&arr3[0]);
             ^~~~~~~~~
/autograder/bustub/test/primer/starter_test.cpp:109:33: error: ‘GemmMatrices’ is not a member of ‘bustub::RowMatrixOperations<int>’
       RowMatrixOperations<int>::GemmMatrices(move(mat1_ptr), move(mat2_ptr), move(mat3_ptr));
                                 ^~~~~~~~~~~~
In file included from /autograder/bustub/build/googletest-src/googletest/include/gtest/gtest.h:67:0,
                 from /autograder/bustub/test/primer/starter_test.cpp:15:
/autograder/bustub/test/primer/starter_test.cpp:112:46: error: ‘class bustub::RowMatrix<int>’ has no member named ‘GetElem’; did you mean ‘GetElement’?
       EXPECT_EQ(arr4[i * 2 + j], linear_ptr->GetElem(i, j));
                                              ^
test/CMakeFiles/starter_test.dir/build.make:62: recipe for target 'test/CMakeFiles/starter_test.dir/primer/starter_test.cpp.o' failed
make[3]: *** [test/CMakeFiles/starter_test.dir/primer/starter_test.cpp.o] Error 1
CMakeFiles/Makefile2:950: recipe for target 'test/CMakeFiles/starter_test.dir/all' failed
make[2]: *** [test/CMakeFiles/starter_test.dir/all] Error 2
CMakeFiles/Makefile2:732: recipe for target 'test/CMakeFiles/build-tests.dir/rule' failed
make[1]: *** [test/CMakeFiles/build-tests.dir/rule] Error 2
Makefile:370: recipe for target 'build-tests' failed
make: *** [build-tests] Error 2

Called process exited with 2
Test Failed: Build errored.
changweidalaifu commented 2 years ago

Just add the /src/include/storage/page/tmp_tuple_page.h in your submission。the file will overwrite the original file.And the #225 will be fixed.

I tried but I can't find grading_tmp_tuple_page_test.cpp in my repo. Is there any other workaround?

fengbear commented 2 years ago

@Liuheng22 Gradescope works again after I submit that file and gtest_CMakeLists.txt.in (20fall all labs). Thanks very much for your help.

I have a similar problem, and what I do is also in 2020, can you tell me how to solve it in detail?

xinjiempolde commented 2 years ago

@Liuheng22 Gradescope works again after I submit that file and gtest_CMakeLists.txt.in (20fall all labs). Thanks very much for your help.

I have a similar problem, and what I do is also in 2020, can you tell me how to solve it in detail?

you can modify file bustub/build_support/gtest_CMakeLists.txt.in changing GIT_TAG master to GIT_TAG main. You should also modify tmp_tuple_page.h as #225 said. Then, submit all need files. For project0 in fall2020, zip project0.zip src/include/primer/p0_starter.h src/include/storage/page/tmp_tuple_page.h build_support/gtest_CMakeLists.txt.in and submit project0.zip to gradescope.

WhianGaulin commented 2 years ago

@Liuheng22 Gradescope works again after I submit that file and gtest_CMakeLists.txt.in (20fall all labs). Thanks very much for your help.

I have a similar problem, and what I do is also in 2020, can you tell me how to solve it in detail?

you can modify file bustub/build_support/gtest_CMakeLists.txt.in changing GIT_TAG master to GIT_TAG main. You should also modify tmp_tuple_page.h as #225 said. Then, submit all need files. For project0 in fall2020, zip project0.zip src/include/primer/p0_starter.h src/include/storage/page/tmp_tuple_page.h build_support/gtest_CMakeLists.txt.in and submit project0.zip to gradescope.

thank you very much, it seems that gtest_CMakeLists.txt.in is not needed. The autograde works fine although there is CMake error in googletest

skyzh commented 2 years ago

The old gradescope course is not maintained any more. We will publish a new one soon. We're also working on making bustub "compile anytime, run anywhere", e.g., by https://github.com/cmu-db/bustub/issues/270. Thanks for your understanding, and I'd close this issue.