* Package: dev-lang/mrustc-0.11.2:0 * Repository: local * Maintainer: Kangie@gentoo.org rust@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mrustc-0.11.2.tar.gz to /var/tmp/portage/dev-lang/mrustc-0.11.2/work >>> Unpacking rustc-1.74.1-src.tar.xz to /var/tmp/portage/dev-lang/mrustc-0.11.2/work >>> Source unpacked in /var/tmp/portage/dev-lang/mrustc-0.11.2/work >>> Preparing source in /var/tmp/portage/dev-lang/mrustc-0.11.2/work/mrustc-0.11.2 ... * Applying mrustc-0.11.0-default-to-rust-1_74.patch ... [ ok ] * Applying mrustc-0.11.0-RUSTC_SRC_PROVIDED.patch ... [ ok ] * Applying mrustc-0.10.1-git-be-gone.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-lang/mrustc-0.11.2/work/mrustc-0.11.2 ... /var/tmp/portage/dev-lang/mrustc-0.11.2/temp/environment: line 730: append-cflags: command not found >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-lang/mrustc-0.11.2/work/mrustc-0.11.2 ... make -j8 all [CXX] -o .obj/main.o [CXX] -o .obj/debug.o [CXX] -o .obj/rc_string.o [CXX] -o .obj/ident.o [CXX] -o .obj/span.o [CXX] -o .obj/ast/ast.o [CXX] -o .obj/ast/types.o [CXX] -o .obj/ast/crate.o In file included from src/ast/types.hpp:17, from src/ast/types.cpp:10: src/ast/lifetime_ref.hpp:17:22: error: ‘uint16_t’ does not name a type 17 | static const uint16_t BINDING_STATIC = 0xFFFF; // 'static | ^~~~~~~~ src/ast/lifetime_ref.hpp:11:1: note: ‘uint16_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 10 | #include "ident.hpp" +++ |+#include 11 | src/ast/lifetime_ref.hpp:18:22: error: ‘uint16_t’ does not name a type 18 | static const uint16_t BINDING_UNSPECIFIED = 0xFFFE; // | ^~~~~~~~ src/ast/lifetime_ref.hpp:18:22: note: ‘uint16_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/ast/lifetime_ref.hpp:19:22: error: ‘uint16_t’ does not name a type 19 | static const uint16_t BINDING_INFER = 0xFFFD; // '_ | ^~~~~~~~ src/ast/lifetime_ref.hpp:19:22: note: ‘uint16_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/ast/lifetime_ref.hpp:20:22: error: ‘uint16_t’ does not name a type 20 | static const uint16_t BINDING_UNBOUND = 0xFFFC; | ^~~~~~~~ src/ast/lifetime_ref.hpp:20:22: note: ‘uint16_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/ast/lifetime_ref.hpp:24:9: error: ‘uint16_t’ does not name a type 24 | uint16_t m_binding; | ^~~~~~~~ src/ast/lifetime_ref.hpp:24:9: note: ‘uint16_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/ast/lifetime_ref.hpp:26:33: error: ‘uint32_t’ has not been declared 26 | LifetimeRef(Ident name, uint32_t binding): | ^~~~~~~~ src/ast/lifetime_ref.hpp:26:33: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/ast/lifetime_ref.hpp:47:26: error: ‘uint16_t’ has not been declared 47 | void set_binding(uint16_t b) { assert(m_binding == BINDING_UNBOUND); m_binding = b; } | ^~~~~~~~ src/ast/lifetime_ref.hpp:47:26: note: ‘uint16_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/ast/lifetime_ref.hpp:52:9: error: ‘uint16_t’ does not name a type 52 | uint16_t binding() const { return m_binding; } | ^~~~~~~~ src/ast/lifetime_ref.hpp:52:9: note: ‘uint16_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/ast/lifetime_ref.hpp: In constructor ‘AST::LifetimeRef::LifetimeRef(Ident, int)’: src/ast/lifetime_ref.hpp:28:13: error: class ‘AST::LifetimeRef’ does not have any field named ‘m_binding’ 28 | m_binding( binding ) | ^~~~~~~~~ src/ast/lifetime_ref.hpp: In constructor ‘AST::LifetimeRef::LifetimeRef()’: src/ast/lifetime_ref.hpp:33:29: error: ‘BINDING_UNSPECIFIED’ was not declared in this scope 33 | LifetimeRef("", BINDING_UNSPECIFIED) | ^~~~~~~~~~~~~~~~~~~ src/ast/lifetime_ref.hpp: In constructor ‘AST::LifetimeRef::LifetimeRef(Ident)’: src/ast/lifetime_ref.hpp:37:44: error: ‘BINDING_UNBOUND’ was not declared in this scope 37 | LifetimeRef(::std::move(name), BINDING_UNBOUND) | ^~~~~~~~~~~~~~~ src/ast/lifetime_ref.hpp: In static member function ‘static AST::LifetimeRef AST::LifetimeRef::new_static()’: src/ast/lifetime_ref.hpp:41:42: error: ‘BINDING_STATIC’ was not declared in this scope 41 | return LifetimeRef("static", BINDING_STATIC); | ^~~~~~~~~~~~~~ src/ast/lifetime_ref.hpp: In static member function ‘static AST::LifetimeRef AST::LifetimeRef::new_infer()’: src/ast/lifetime_ref.hpp:44:37: error: ‘BINDING_INFER’ was not declared in this scope 44 | return LifetimeRef("_", BINDING_INFER); | ^~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/cassert:46, from src/ast/../include/debug.hpp:12, from src/ast/../common.hpp:29, from src/ast/types.hpp:13: src/ast/lifetime_ref.hpp: In member function ‘void AST::LifetimeRef::set_binding(int)’: src/ast/lifetime_ref.hpp:47:47: error: ‘m_binding’ was not declared in this scope; did you mean ‘set_binding’? 47 | void set_binding(uint16_t b) { assert(m_binding == BINDING_UNBOUND); m_binding = b; } | ^~~~~~~~~ src/ast/lifetime_ref.hpp:47:60: error: ‘BINDING_UNBOUND’ was not declared in this scope 47 | void set_binding(uint16_t b) { assert(m_binding == BINDING_UNBOUND); m_binding = b; } | ^~~~~~~~~~~~~~~ src/ast/lifetime_ref.hpp: In member function ‘bool AST::LifetimeRef::is_unbound() const’: src/ast/lifetime_ref.hpp:48:42: error: ‘m_binding’ was not declared in this scope; did you mean ‘set_binding’? 48 | bool is_unbound() const { return m_binding == BINDING_UNBOUND; } | ^~~~~~~~~ | set_binding src/ast/lifetime_ref.hpp:48:55: error: ‘BINDING_UNBOUND’ was not declared in this scope 48 | bool is_unbound() const { return m_binding == BINDING_UNBOUND; } | ^~~~~~~~~~~~~~~ src/ast/lifetime_ref.hpp: In member function ‘bool AST::LifetimeRef::is_infer() const’: src/ast/lifetime_ref.hpp:49:40: error: ‘m_binding’ was not declared in this scope; did you mean ‘set_binding’? 49 | bool is_infer() const { return m_binding == BINDING_INFER; } | ^~~~~~~~~ | set_binding src/ast/lifetime_ref.hpp:49:53: error: ‘BINDING_INFER’ was not declared in this scope 49 | bool is_infer() const { return m_binding == BINDING_INFER; } | ^~~~~~~~~~~~~ src/debug.cpp: In function ‘std::ostream& operator<<(std::ostream&, const FmtEscaped&)’: src/debug.cpp:163:13: error: ‘uint8_t’ was not declared in this scope 163 | uint8_t v = *s; | ^~~~~~~ src/debug.cpp:15:1: note: ‘uint8_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 14 | #include // strchr +++ |+#include 15 | src/debug.cpp:164:17: error: ‘v’ was not declared in this scope 164 | if( v < 0x80 ) | ^ src/debug.cpp:175:17: error: ‘uint32_t’ was not declared in this scope 175 | uint32_t val = (uint32_t)(v & 0x1F) << 6; | ^~~~~~~~ src/debug.cpp:175:17: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/debug.cpp:176:81: error: ‘val’ was not declared in this scope 176 | v = (uint8_t)*++s; if( (v & 0xC0) != 0x80 ) { s--; continue ; } val |= (uint32_t)(v & 0x3F) << 0; | ^~~ src/debug.cpp:181:17: error: ‘uint32_t’ was not declared in this scope 181 | uint32_t val = (uint32_t)(v & 0x0F) << 12; | ^~~~~~~~ src/debug.cpp:181:17: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/debug.cpp:182:81: error: ‘val’ was not declared in this scope 182 | v = (uint8_t)*++s; if( (v & 0xC0) != 0x80 ) { s--; continue ; } val |= (uint32_t)(v & 0x3F) << 6; | ^~~ src/debug.cpp:188:17: error: ‘uint32_t’ was not declared in this scope 188 | uint32_t val = (uint32_t)(v & 0x07) << 18; | ^~~~~~~~ src/debug.cpp:188:17: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ src/debug.cpp:189:81: error: ‘val’ was not declared in this scope 189 | v = (uint8_t)*++s; if( (v & 0xC0) != 0x80 ) { s--; continue ; } val |= (uint32_t)(v & 0x3F) << 12; | ^~~ make: *** [Makefile:185: .obj/debug.o] Error 1 make: *** Waiting for unfinished jobs.... src/ast/types.cpp: In function ‘std::ostream& AST::operator<<(std::ostream&, const LifetimeRef&)’: src/ast/types.cpp:394:15: error: ‘const class AST::LifetimeRef’ has no member named ‘m_binding’; did you mean ‘set_binding’? 394 | if( x.m_binding == LifetimeRef::BINDING_STATIC ) { | ^~~~~~~~~ | set_binding src/ast/types.cpp:394:41: error: ‘BINDING_STATIC’ is not a member of ‘AST::LifetimeRef’ 394 | if( x.m_binding == LifetimeRef::BINDING_STATIC ) { | ^~~~~~~~~~~~~~ src/ast/types.cpp:397:20: error: ‘const class AST::LifetimeRef’ has no member named ‘m_binding’; did you mean ‘set_binding’? 397 | else if( x.m_binding == LifetimeRef::BINDING_INFER ) { | ^~~~~~~~~ | set_binding src/ast/types.cpp:397:46: error: ‘BINDING_INFER’ is not a member of ‘AST::LifetimeRef’ 397 | else if( x.m_binding == LifetimeRef::BINDING_INFER ) { | ^~~~~~~~~~~~~ src/ast/types.cpp:402:19: error: ‘const class AST::LifetimeRef’ has no member named ‘m_binding’; did you mean ‘set_binding’? 402 | if( x.m_binding != LifetimeRef::BINDING_UNBOUND ) { | ^~~~~~~~~ | set_binding src/ast/types.cpp:402:45: error: ‘BINDING_UNBOUND’ is not a member of ‘AST::LifetimeRef’ 402 | if( x.m_binding != LifetimeRef::BINDING_UNBOUND ) { | ^~~~~~~~~~~~~~~ src/ast/types.cpp:403:33: error: ‘const class AST::LifetimeRef’ has no member named ‘m_binding’; did you mean ‘set_binding’? 403 | os << "/*" << x.m_binding << "*/"; | ^~~~~~~~~ | set_binding make: *** [Makefile:183: .obj/ast/types.o] Error 1 * ERROR: dev-lang/mrustc-0.11.2::local failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-lang/mrustc-0.11.2::local'`, * the complete build log and the output of `emerge -pqv '=dev-lang/mrustc-0.11.2::local'`. * The complete build log is located at '/var/tmp/portage/dev-lang/mrustc-0.11.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/mrustc-0.11.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/mrustc-0.11.2/work/mrustc-0.11.2' * S: '/var/tmp/portage/dev-lang/mrustc-0.11.2/work/mrustc-0.11.2'