Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hphp/util/trace.h:377:44: error: '... str() ...' is not a member of 'folly::Formatter<...>' #8984

Open
Atry opened this issue Feb 4, 2022 · 2 comments

Comments

@Atry
Copy link
Contributor

Atry commented Feb 4, 2022

Describe the bug

hphp does not compile with cmake -DCMAKE_BUILD_TYPE=Debug

Standalone code, or other way to reproduce the problem

Steps to reproduce the behavior:

  1. Checkout the codebase
  2. cmake -DCMAKE_BUILD_TYPE=Debug -DMYSQL_UNIX_SOCK_ADDR=/var/run/mysqld/mysqld.sock .
  3. make

Expected behavior

No error

Actual behavior

[  1%] Built target bundled_boost
[  2%] Built target bundled_jemalloc
[  2%] Built target bundled_fmt
[  3%] Built target bundled_double-conversion
[  3%] Built target bundled_brotli
[  4%] Built target bundled_zstd
[  5%] Built target bundled_folly
[ 11%] Built target hphp_util
[ 12%] Built target bundled_fizz
[ 13%] Built target bundled_wangle
[ 14%] Built target bundled_lz4
[ 14%] Built target bundled_libzip
[ 14%] Built target eaw_table
[ 21%] Built target mbfl
[ 21%] Built target bundled_timelib
[ 21%] Built target afdt
[ 21%] Built target fastlz
[ 21%] Built target bundled_rust
[ 21%] Built target hhvm_types_cxx
[ 21%] Built target hhvm_types_ffi
[ 21%] Built target hhbc_ast_cbindgen
[ 21%] Built target parser_cxx
[ 21%] Built target parser_ffi
[ 21%] Built target compiler_cxx
[ 21%] Built target compiler_ffi
[ 21%] Built target jit_sort
[ 22%] Built target hfsort
[ 22%] Built target version
[ 23%] Built target bundled_proxygen
[ 23%] Built target hphp_parser
[ 23%] Built target hphp_system
[ 24%] Built target hphp_analysis
[ 25%] Built target opamDownload
[ 25%] Built target opam_setup
/bin/sh: 11: /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/build/hphp/hack/dev_env_common.sh: DEB_VERSION_UPSTREAM: not found
/bin/sh: 12: /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/build/hphp/hack/dev_env_common.sh: DEB_VERSION_UPSTREAM: not found
[WARNING] Running as root is not recommended
[WARNING] Running as root is not recommended
[ 25%] Built target hack_dune
[ 25%] Built target hack
[ 27%] Built target hphp_hhbbc
[ 27%] Built target neo
[ 28%] Built target hphp_zend
[ 28%] Built target bundled_fbmysqlclient
[ 29%] Built target bundled_squangle
[ 30%] Built target bundled_thrift
[ 34%] Built target ragel
[ 34%] Built target bundled_mcrouter
[ 34%] Built target bundled_watchman
[ 35%] Built target vixl
[ 35%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/array-provenance.cpp.o
In file included from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/vm/class.h:32:0,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/object-data.h:27,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/type-object.h:19,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/tv-conversions.h:23,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/type-variant.h:20,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/apc-handle.h:25,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/apc-handle-defs.h:19,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/apc-array.h:19,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:19:
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/vm/preclass.h:185:31: warning: 'HPHP::PreClass::Const::m_invariance' is too small to hold all values of 'enum class HPHP::PreClass::Const::Invariance'
     Invariance m_invariance : 2;
                               ^
In file included from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/memory-manager.h:34:0,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-data-inl.h:18,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-data.h:806,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/type-array.h:19,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/exceptions.h:28,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/string-data.h:28,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/static-string-table.h:23,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.h:20,
                 from /tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:17:
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp: In instantiation of 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_fast(HPHP::ArrayData*, HPHP::ArrayData*, State&, bool, uint32_t) [with Array = HPHP::VanillaVec; State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]':
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:145:43:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_to_array(HPHP::ArrayData*, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:178:33:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation(HPHP::TypedValue, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:214:38:   required from here
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:377:44: error: 'folly::BaseFormatter<Derived, containerMode, Args>::str() const [with Derived = folly::Formatter<false, unsigned int&, const char*&, HPHP::ArrayData*&>; bool containerMode = false; Args = {unsigned int&, const char*&, HPHP::ArrayData*&}; std::__cxx11::string = std::__cxx11::basic_string<char>]' is not a member of 'folly::Formatter<false, unsigned int&, const char*, HPHP::ArrayData*&>'
              folly::format(__VA_ARGS__).str().c_str()))
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:369:5: note: in definition of macro 'ONTRACE_MOD'
     x;                                          \
     ^
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:376:3: note: in expansion of macro 'ONTRACE'
   ONTRACE(n, HPHP::Trace::trace("%s",                         \
   ^~~~~~~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:97:3: note: in expansion of macro 'FTRACE'
   FTRACE(1, "Depth {}: {} {}\n", depth,
   ^
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp: In instantiation of 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_fast(HPHP::ArrayData*, HPHP::ArrayData*, State&, bool, uint32_t) [with Array = HPHP::VanillaDict; State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]':
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:147:44:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_to_array(HPHP::ArrayData*, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:178:33:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation(HPHP::TypedValue, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:214:38:   required from here
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:377:44: error: 'folly::BaseFormatter<Derived, containerMode, Args>::str() const [with Derived = folly::Formatter<false, unsigned int&, const char*&, HPHP::ArrayData*&>; bool containerMode = false; Args = {unsigned int&, const char*&, HPHP::ArrayData*&}; std::__cxx11::string = std::__cxx11::basic_string<char>]' is not a member of 'folly::Formatter<false, unsigned int&, const char*, HPHP::ArrayData*&>'
              folly::format(__VA_ARGS__).str().c_str()))
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:369:5: note: in definition of macro 'ONTRACE_MOD'
     x;                                          \
     ^
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:376:3: note: in expansion of macro 'ONTRACE'
   ONTRACE(n, HPHP::Trace::trace("%s",                         \
   ^~~~~~~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:97:3: note: in expansion of macro 'FTRACE'
   FTRACE(1, "Depth {}: {} {}\n", depth,
   ^
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp: In instantiation of 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_slow(HPHP::ArrayData*, HPHP::ArrayData*, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]':
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:149:29:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_to_array(HPHP::ArrayData*, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:178:33:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation(HPHP::TypedValue, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:214:38:   required from here
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:377:44: error: 'folly::BaseFormatter<Derived, containerMode, Args>::str() const [with Derived = folly::Formatter<false, unsigned int&, const char*&, HPHP::ArrayData*&>; bool containerMode = false; Args = {unsigned int&, const char*&, HPHP::ArrayData*&}; std::__cxx11::string = std::__cxx11::basic_string<char>]' is not a member of 'folly::Formatter<false, unsigned int&, const char*, HPHP::ArrayData*&>'
              folly::format(__VA_ARGS__).str().c_str()))
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:369:5: note: in definition of macro 'ONTRACE_MOD'
     x;                                          \
     ^
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:376:3: note: in expansion of macro 'ONTRACE'
   ONTRACE(n, HPHP::Trace::trace("%s",                         \
   ^~~~~~~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:124:3: note: in expansion of macro 'FTRACE'
   FTRACE(1, "Depth {}: {} {}\n", depth,
   ^
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp: In instantiation of 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_fast(HPHP::ArrayData*, HPHP::ArrayData*, State&, bool, uint32_t) [with Array = HPHP::VanillaVec; State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]':
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:145:43:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_to_array(HPHP::ArrayData*, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:178:33:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation(HPHP::TypedValue, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:218:38:   required from here
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:377:44: error: 'folly::BaseFormatter<Derived, containerMode, Args>::str() const [with Derived = folly::Formatter<false, unsigned int&, const char*&, HPHP::ArrayData*&>; bool containerMode = false; Args = {unsigned int&, const char*&, HPHP::ArrayData*&}; std::__cxx11::string = std::__cxx11::basic_string<char>]' is not a member of 'folly::Formatter<false, unsigned int&, const char*, HPHP::ArrayData*&>'
              folly::format(__VA_ARGS__).str().c_str()))
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:369:5: note: in definition of macro 'ONTRACE_MOD'
     x;                                          \
     ^
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:376:3: note: in expansion of macro 'ONTRACE'
   ONTRACE(n, HPHP::Trace::trace("%s",                         \
   ^~~~~~~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:97:3: note: in expansion of macro 'FTRACE'
   FTRACE(1, "Depth {}: {} {}\n", depth,
   ^
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp: In instantiation of 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_fast(HPHP::ArrayData*, HPHP::ArrayData*, State&, bool, uint32_t) [with Array = HPHP::VanillaDict; State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]':
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:147:44:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_to_array(HPHP::ArrayData*, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:178:33:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation(HPHP::TypedValue, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:218:38:   required from here
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:377:44: error: 'folly::BaseFormatter<Derived, containerMode, Args>::str() const [with Derived = folly::Formatter<false, unsigned int&, const char*&, HPHP::ArrayData*&>; bool containerMode = false; Args = {unsigned int&, const char*&, HPHP::ArrayData*&}; std::__cxx11::string = std::__cxx11::basic_string<char>]' is not a member of 'folly::Formatter<false, unsigned int&, const char*, HPHP::ArrayData*&>'
              folly::format(__VA_ARGS__).str().c_str()))
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:369:5: note: in definition of macro 'ONTRACE_MOD'
     x;                                          \
     ^
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:376:3: note: in expansion of macro 'ONTRACE'
   ONTRACE(n, HPHP::Trace::trace("%s",                         \
   ^~~~~~~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:97:3: note: in expansion of macro 'FTRACE'
   FTRACE(1, "Depth {}: {} {}\n", depth,
   ^
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp: In instantiation of 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_slow(HPHP::ArrayData*, HPHP::ArrayData*, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]':
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:149:29:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation_to_array(HPHP::ArrayData*, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:178:33:   required from 'HPHP::ArrayData* HPHP::arrprov::{anonymous}::apply_mutation(HPHP::TypedValue, State&, bool, uint32_t) [with State = HPHP::arrprov::{anonymous}::MutationState<const HPHP::arrprov::{anonymous}::markTvImpl(HPHP::TypedValue, bool, uint32_t)::<lambda(HPHP::ArrayData*, bool)> >; uint32_t = unsigned int]'
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:218:38:   required from here
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:377:44: error: 'folly::BaseFormatter<Derived, containerMode, Args>::str() const [with Derived = folly::Formatter<false, unsigned int&, const char*&, HPHP::ArrayData*&>; bool containerMode = false; Args = {unsigned int&, const char*&, HPHP::ArrayData*&}; std::__cxx11::string = std::__cxx11::basic_string<char>]' is not a member of 'folly::Formatter<false, unsigned int&, const char*, HPHP::ArrayData*&>'
              folly::format(__VA_ARGS__).str().c_str()))
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:369:5: note: in definition of macro 'ONTRACE_MOD'
     x;                                          \
     ^
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/util/trace.h:376:3: note: in expansion of macro 'ONTRACE'
   ONTRACE(n, HPHP::Trace::trace("%s",                         \
   ^~~~~~~
/tmp/hhvmpkg.JZWFprXq/hhvm-nightly-2022.02.03/hphp/runtime/base/array-provenance.cpp:124:3: note: in expansion of macro 'FTRACE'
   FTRACE(1, "Depth {}: {} {}\n", depth,
   ^
hphp/runtime/CMakeFiles/hphp_runtime_static.dir/build.make:428: recipe for target 'hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/array-provenance.cpp.o' failed
make[2]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/array-provenance.cpp.o] Error 1
CMakeFiles/Makefile2:2746: recipe for target 'hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all' failed
make[1]: *** [hphp/runtime/CMakeFiles/hphp_runtime_static.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Environment

  • Operating system
    'Ubuntu 18.04'
  • Installation method
    built from source
  • HHVM Version
    nightly-2022.02.03

Additional context

@Atry Atry changed the title hphp/util/trace.h:377:44: error: 'folly::BaseFormatter<Derived, containerMode, Args>::str() const [with Derived = folly::Formatter<false, unsigned int&, const char*&, HPHP::ArrayData*&>; bool containerMode = false; Args = {unsigned int&, const char*&, HPHP::ArrayData*&}; std::__cxx11::string = std::__cxx11::basic_string<char>]' is not a member of 'folly::Formatter<false, unsigned int&, const char*, HPHP::ArrayData*&>' hphp/util/trace.h:377:44: error: 'folly::BaseFormatter<...>::str() const [with ...]' is not a member of 'folly::Formatter<...>' Feb 4, 2022
@Atry Atry changed the title hphp/util/trace.h:377:44: error: 'folly::BaseFormatter<...>::str() const [with ...]' is not a member of 'folly::Formatter<...>' hphp/util/trace.h:377:44: error: '...::str() const [with ...]' is not a member of 'folly::Formatter<...>' Feb 4, 2022
@Atry Atry changed the title hphp/util/trace.h:377:44: error: '...::str() const [with ...]' is not a member of 'folly::Formatter<...>' hphp/util/trace.h:377:44: error: '... ::str() ...' is not a member of 'folly::Formatter<...>' Feb 4, 2022
@Atry Atry changed the title hphp/util/trace.h:377:44: error: '... ::str() ...' is not a member of 'folly::Formatter<...>' hphp/util/trace.h:377:44: error: '... str() ...' is not a member of 'folly::Formatter<...>' Feb 4, 2022
@lexidor
Copy link
Collaborator

lexidor commented Sep 16, 2022

@Atry is this issue fixed?

@Atry
Copy link
Contributor Author

Atry commented Sep 16, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants