+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/rust-1.68.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/rust-1.68.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for rust-1.68.2
Building rustbuild
running: /home/pbulk/build/lang/rust/work/rust-1.66.0-x86_64-unknown-illumos/bin/cargo build --manifest-path /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/src/bootstrap/Cargo.toml --frozen
   Compiling libc v0.2.137
   Compiling memchr v2.5.0
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.46
   Compiling unicode-ident v1.0.0
   Compiling version_check v0.9.4
   Compiling typenum v1.15.0
   Compiling syn v1.0.102
   Compiling serde_derive v1.0.137
   Compiling cc v1.0.73
   Compiling generic-array v0.14.5
   Compiling pkg-config v0.3.25
   Compiling serde v1.0.137
   Compiling log v0.4.17
   Compiling quote v1.0.18
   Compiling io-lifetimes v1.0.1
   Compiling aho-corasick v0.7.18
   Compiling regex-syntax v0.6.26
   Compiling lzma-sys v0.1.17
   Compiling rustix v0.36.3
   Compiling crossbeam-utils v0.8.14
   Compiling errno v0.2.8
   Compiling bstr v0.2.17
   Compiling bitflags v1.3.2
   Compiling same-file v1.0.6
   Compiling once_cell v1.12.0
   Compiling fnv v1.0.7
   Compiling crypto-common v0.1.3
   Compiling block-buffer v0.10.2
   Compiling serde_json v1.0.81
   Compiling digest v0.10.3
   Compiling thread_local v1.1.4
   Compiling walkdir v2.3.2
   Compiling filetime v0.2.16
   Compiling regex v1.5.6
   Compiling xattr v0.2.3
   Compiling cpufeatures v0.2.5
   Compiling lazy_static v1.4.0
   Compiling unicode-width v0.1.9
   Compiling itoa v1.0.2
   Compiling bootstrap v0.0.0 (/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/src/bootstrap)
   Compiling ryu v1.0.10
   Compiling fd-lock v3.0.8
   Compiling getopts v0.2.21
   Compiling tar v0.4.38
   Compiling sha2 v0.10.2
   Compiling object v0.29.0
   Compiling globset v0.4.8
   Compiling cmake v0.1.48
   Compiling build_helper v0.1.0 (/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/src/tools/build_helper)
   Compiling ignore v0.4.18
   Compiling opener v0.5.0
   Compiling hex v0.4.3
   Compiling xz2 v0.1.6
   Compiling toml v0.5.9
    Finished dev [unoptimized] target(s) in 1m 06s
running: /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/bootstrap/debug/bootstrap -v build --stage 2 -j 8
finding compilers
CC_x86_64-unknown-illumos = "gcc"
CFLAGS_x86_64-unknown-illumos = ["-O2", "-ffunction-sections", "-fdata-sections", "-fPIC", "-m64", "-pipe", "-O2", "-msave-args", "-fno-aggressive-loop-optimizations", "-D_POSIX_PTHREAD_SEMANTICS", "-D_FORTIFY_SOURCE=2", "-I/opt/pkg/include", "-I/usr/include", "-I/opt/pkg/include/python3.10"]
CXX_x86_64-unknown-illumos = "g++"
CXXFLAGS_x86_64-unknown-illumos = ["-O2", "-ffunction-sections", "-fdata-sections", "-fPIC", "-m64", "-pipe", "-O2", "-msave-args", "-fno-aggressive-loop-optimizations", "-D_POSIX_PTHREAD_SEMANTICS", "-D_FORTIFY_SOURCE=2", "-I/opt/pkg/include", "-I/usr/include", "-I/opt/pkg/include/python3.10"]
AR_x86_64-unknown-illumos = "gar"
running sanity check
learning about cargo
Dirty - /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std
Building stage0 library artifacts (x86_64-unknown-illumos -> x86_64-unknown-illumos)
running: "/home/pbulk/build/lang/rust/work/rust-1.66.0-x86_64-unknown-illumos/bin/cargo" "build" "--target" "x86_64-unknown-illumos" "--release" "-Zcheck-cfg=names,values,output" "-Zbinary-dep-depinfo" "-j" "8" "-v" "--frozen" "--features" " panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/library/test/Cargo.toml" "--message-format" "json-render-diagnostics"
   Compiling cc v1.0.77
   Compiling core v0.0.0 (/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/library/core)
   Compiling libc v0.2.138
   Compiling memchr v2.5.0
   Compiling std v0.0.0 (/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/library/std)
     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/bootstrap/debug/rustc --crate-name build_script_build --edition=2018 /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/vendor/memchr/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=0 -C debug-assertions=off --cfg 'feature="compiler_builtins"' --cfg 'feature="core"' --cfg 'feature="rustc-dep-of-std"' -Zunstable-options --check-cfg 'names()' --check-cfg 'values()' -C metadata=94fe081498c62315 -C extra-filename=-94fe081498c62315 --out-dir /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/build/memchr-94fe081498c62315 -L dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps --cap-lints allow -Z binary-dep-depinfo`
     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/bootstrap/debug/rustc --crate-name core --edition=2021 library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=0 -Zunstable-options --check-cfg 'names()' --check-cfg 'values()' -C metadata=9a5a29dfbb958acf -C extra-filename=-9a5a29dfbb958acf --out-dir /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/x86_64-unknown-illumos/release/deps --target x86_64-unknown-illumos -L dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/x86_64-unknown-illumos/release/deps -L dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps --cfg=bootstrap -Csymbol-mangling-version=legacy -Zunstable-options -Zunstable-options '--check-cfg=values(bootstrap)' '--check-cfg=values(stdarch_intel_sde)' '--check-cfg=values(no_fp_fmt_parse)' '--check-cfg=values(no_global_oom_handling)' '--check-cfg=values(no_rc)' '--check-cfg=values(no_sync)' '--check-cfg=values(freebsd12)' '--check-cfg=values(backtrace_in_libstd)' '--check-cfg=values(target_env,"libnx")' '--check-cfg=values(target_os,"watchos")' '--check-cfg=values(target_arch,"asmjs","spirv","nvptx","nvptx64","le32","xtensa")' '--check-cfg=values(dont_compile_me)' '--check-cfg=values(rustix_use_libc)' -Zmacro-backtrace -Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,/opt/pkg/lib -Zunstable-options -Csplit-debuginfo=off -Cprefer-dynamic '-Zcrate-attr=doc(html_root_url="https://doc.rust-lang.org/1.68.2/")' -Z binary-dep-depinfo`
     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/bootstrap/debug/rustc --crate-name cc --edition=2018 /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/vendor/cc/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=0 -C debug-assertions=off -Zunstable-options --check-cfg 'names()' --check-cfg 'values()' -C metadata=865dca5850e25231 -C extra-filename=-865dca5850e25231 --out-dir /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps -L dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps --cap-lints allow -Z binary-dep-depinfo`
     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/bootstrap/debug/rustc --crate-name build_script_build /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/vendor/libc/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=0 -C debug-assertions=off --cfg 'feature="align"' --cfg 'feature="rustc-dep-of-std"' --cfg 'feature="rustc-std-workspace-core"' -Zunstable-options --check-cfg 'names()' --check-cfg 'values()' -C metadata=09322c681c78055d -C extra-filename=-09322c681c78055d --out-dir /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/build/libc-09322c681c78055d -L dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps --cap-lints allow -Z binary-dep-depinfo`
     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/bootstrap/debug/rustc --crate-name build_script_build --edition=2021 library/std/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=0 -C debug-assertions=off --cfg 'feature="addr2line"' --cfg 'feature="backtrace"' --cfg 'feature="compiler-builtins-c"' --cfg 'feature="gimli-symbolize"' --cfg 'feature="miniz_oxide"' --cfg 'feature="object"' --cfg 'feature="panic_unwind"' --cfg 'feature="std_detect_dlsym_getauxval"' --cfg 'feature="std_detect_file_io"' -Zunstable-options --check-cfg 'names()' --check-cfg 'values()' -C metadata=e2be6d2e98384200 -C extra-filename=-e2be6d2e98384200 --out-dir /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/build/std-e2be6d2e98384200 -L dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps -Z binary-dep-depinfo`
     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/build/libc-09322c681c78055d/build-script-build`
error: cannot find a built-in macro with name `derive_const`
    --> library/core/src/macros/mod.rs:1483:5
     |
1483 | /     pub macro derive_const($item:item) {
1484 | |         /* compiler built-in */
1485 | |     }
     | |_____^

error: cannot find a built-in macro with name `alloc_error_handler`
    --> library/core/src/macros/mod.rs:1540:5
     |
1540 | /     pub macro alloc_error_handler($item:item) {
1541 | |         /* compiler built-in */
1542 | |     }
     | |_____^

error: cannot find a built-in macro with name `type_ascribe`
    --> library/core/src/macros/mod.rs:1573:5
     |
1573 | /     pub macro type_ascribe($expr:expr, $ty:ty) {
1574 | |         /* compiler built-in */
1575 | |     }
     | |_____^

   Compiling compiler_builtins v0.1.85
   Compiling unwind v0.0.0 (/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/library/unwind)
     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/bootstrap/debug/rustc --crate-name build_script_build --edition=2021 library/unwind/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=0 -C debug-assertions=off -Zunstable-options --check-cfg 'names()' --check-cfg 'values()' -C metadata=30b6ad60b8d46b40 -C extra-filename=-30b6ad60b8d46b40 --out-dir /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/build/unwind-30b6ad60b8d46b40 -L dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps --extern cc=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps/libcc-865dca5850e25231.rlib -Z binary-dep-depinfo`
     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/bootstrap/debug/rustc --crate-name build_script_build /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/vendor/compiler_builtins/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C codegen-units=10000 -C debuginfo=0 -C debug-assertions=off --cfg 'feature="c"' --cfg 'feature="cc"' --cfg 'feature="compiler-builtins"' --cfg 'feature="core"' --cfg 'feature="default"' --cfg 'feature="rustc-dep-of-std"' -Zunstable-options --check-cfg 'names()' --check-cfg 'values()' -C metadata=553d36e69284750c -C extra-filename=-553d36e69284750c --out-dir /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/build/compiler_builtins-553d36e69284750c -L dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps --extern cc=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps/libcc-865dca5850e25231.rlib --cap-lints allow -Z binary-dep-depinfo`
     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/build/compiler_builtins-553d36e69284750c/build-script-build`
error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
  --> library/core/src/ptr/metadata.rs:53:3
   |
53 | #[rustc_deny_explicit_impl]
   |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
  --> library/core/src/marker.rs:99:3
   |
99 | #[rustc_deny_explicit_impl]
   |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
   --> library/core/src/marker.rs:131:3
    |
131 | #[rustc_deny_explicit_impl]
    |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
   --> library/core/src/marker.rs:704:3
    |
704 | #[rustc_deny_explicit_impl]
    |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
   --> library/core/src/marker.rs:805:3
    |
805 | #[rustc_deny_explicit_impl]
    |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
   --> library/core/src/marker.rs:815:3
    |
815 | #[rustc_deny_explicit_impl]
    |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `derive_const` in this scope
  --> library/core/src/ptr/alignment.rs:13:3
   |
13 | #[derive_const(PartialEq)]
   |   ^^^^^^^^^^^^
   |
note: `derive_const` is imported here, but it is a function-like macro
  --> library/core/src/prelude/v1.rs:84:9
   |
84 | pub use crate::macros::builtin::derive_const;
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `derive_const` in this scope
   --> library/core/src/ptr/alignment.rs:205:3
    |
205 | #[derive_const(PartialEq)]
    |   ^^^^^^^^^^^^
    |
note: `derive_const` is imported here, but it is a function-like macro
   --> library/core/src/prelude/v1.rs:84:9
    |
84  | pub use crate::macros::builtin::derive_const;
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `derive_const` in this scope
   --> library/core/src/ptr/alignment.rs:227:3
    |
227 | #[derive_const(PartialEq)]
    |   ^^^^^^^^^^^^
    |
note: `derive_const` is imported here, but it is a function-like macro
   --> library/core/src/prelude/v1.rs:84:9
    |
84  | pub use crate::macros::builtin::derive_const;
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `derive_const` in this scope
   --> library/core/src/ptr/alignment.rs:265:3
    |
265 | #[derive_const(PartialEq)]
    |   ^^^^^^^^^^^^
    |
note: `derive_const` is imported here, but it is a function-like macro
   --> library/core/src/prelude/v1.rs:84:9
    |
84  | pub use crate::macros::builtin::derive_const;
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `rustc_deny_explicit_impl` in this scope
  --> library/core/src/ptr/metadata.rs:53:3
   |
53 | #[rustc_deny_explicit_impl]
   |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `derive_const` in this scope
   --> library/core/src/cmp.rs:334:3
    |
334 | #[derive_const(PartialOrd, Ord, PartialEq)]
    |   ^^^^^^^^^^^^
    |
note: `derive_const` is imported here, but it is a function-like macro
   --> library/core/src/prelude/v1.rs:84:9
    |
84  | pub use crate::macros::builtin::derive_const;
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `rustc_deny_explicit_impl` in this scope
  --> library/core/src/marker.rs:99:3
   |
99 | #[rustc_deny_explicit_impl]
   |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `rustc_deny_explicit_impl` in this scope
   --> library/core/src/marker.rs:131:3
    |
131 | #[rustc_deny_explicit_impl]
    |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `rustc_deny_explicit_impl` in this scope
   --> library/core/src/marker.rs:704:3
    |
704 | #[rustc_deny_explicit_impl]
    |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `rustc_deny_explicit_impl` in this scope
   --> library/core/src/marker.rs:805:3
    |
805 | #[rustc_deny_explicit_impl]
    |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `rustc_deny_explicit_impl` in this scope
   --> library/core/src/marker.rs:815:3
    |
815 | #[rustc_deny_explicit_impl]
    |   ^^^^^^^^^^^^^^^^^^^^^^^^

error: cannot find attribute `derive_const` in this scope
   --> library/core/src/any.rs:666:3
    |
666 | #[derive_const(PartialEq, PartialOrd, Ord)]
    |   ^^^^^^^^^^^^
    |
note: `derive_const` is imported here, but it is a function-like macro
   --> library/core/src/prelude/v1.rs:84:9
    |
84  | pub use crate::macros::builtin::derive_const;
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/build/memchr-94fe081498c62315/build-script-build`
     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/build/std-e2be6d2e98384200/build-script-build`
     Running `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/build/unwind-30b6ad60b8d46b40/build-script-build`
error[E0522]: definition of an unknown language item: `pointer_sized`
   --> library/core/src/marker.rs:820:1
    |
820 | #[lang = "pointer_sized"]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `pointer_sized`

error[E0522]: definition of an unknown language item: `ResumeTy`
  --> library/core/src/future/mod.rs:47:1
   |
47 | #[lang = "ResumeTy"]
   | ^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `ResumeTy`

error[E0522]: definition of an unknown language item: `identity_future`
   --> library/core/src/future/mod.rs:122:1
    |
122 | #[lang = "identity_future"]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `identity_future`

error[E0522]: definition of an unknown language item: `Poll`
  --> library/core/src/task/poll.rs:12:1
   |
12 | #[lang = "Poll"]
   | ^^^^^^^^^^^^^^^^ definition of unknown language item `Poll`

error[E0277]: can't compare `alignment::Alignment` with `alignment::Alignment`
   --> library/core/src/ptr/alignment.rs:12:23
    |
12  |   #[derive(Copy, Clone, Eq)]
    |                         ^^
    |                         |
    |                         no implementation for `alignment::Alignment == alignment::Alignment`
    |                         in this derive macro expansion
    |
   ::: library/core/src/cmp.rs:302:1
    |
302 | / pub macro Eq($item:item) {
303 | |     /* compiler built-in */
304 | | }
    | |_- in this expansion of `#[derive(Eq)]`
    |
    = help: the trait `cmp::PartialEq` is not implemented for `alignment::Alignment`
note: required by a bound in `cmp::Eq`
   --> library/core/src/cmp.rs:283:15
    |
283 | pub trait Eq: PartialEq<Self> {
    |               ^^^^^^^^^^^^^^^ required by this bound in `cmp::Eq`

error[E0277]: can't compare `alignment::Alignment` with `alignment::Alignment`
   --> library/core/src/ptr/alignment.rs:173:12
    |
173 | impl const cmp::Ord for Alignment {
    |            ^^^^^^^^ no implementation for `alignment::Alignment == alignment::Alignment`
    |
    = help: the trait `cmp::PartialEq` is not implemented for `alignment::Alignment`
note: required by a bound in `cmp::Ord`
   --> library/core/src/cmp.rs:764:21
    |
764 | pub trait Ord: Eq + PartialOrd<Self> {
    |                     ^^^^^^^^^^^^^^^^ required by this bound in `cmp::Ord`

error[E0277]: can't compare `alignment::Alignment` with `alignment::Alignment`
    --> library/core/src/ptr/alignment.rs:182:12
     |
182  | impl const cmp::PartialOrd for Alignment {
     |            ^^^^^^^^^^^^^^^ no implementation for `alignment::Alignment == alignment::Alignment`
     |
     = help: the trait `cmp::PartialEq` is not implemented for `alignment::Alignment`
note: required by a bound in `cmp::PartialOrd`
    --> library/core/src/cmp.rs:1054:43
     |
1054 | pub trait PartialOrd<Rhs: ?Sized = Self>: PartialEq<Rhs> {
     |                                           ^^^^^^^^^^^^^^ required by this bound in `cmp::PartialOrd`

error[E0277]: can't compare `AlignmentEnum16` with `AlignmentEnum16`
   --> library/core/src/ptr/alignment.rs:204:23
    |
204 |   #[derive(Copy, Clone, Eq)]
    |                         ^^
    |                         |
    |                         no implementation for `AlignmentEnum16 == AlignmentEnum16`
    |                         in this derive macro expansion
    |
   ::: library/core/src/cmp.rs:302:1
    |
302 | / pub macro Eq($item:item) {
303 | |     /* compiler built-in */
304 | | }
    | |_- in this expansion of `#[derive(Eq)]`
    |
    = help: the trait `cmp::PartialEq` is not implemented for `AlignmentEnum16`
note: required by a bound in `cmp::Eq`
   --> library/core/src/cmp.rs:283:15
    |
283 | pub trait Eq: PartialEq<Self> {
    |               ^^^^^^^^^^^^^^^ required by this bound in `cmp::Eq`
help: consider annotating `AlignmentEnum16` with `#[derive(PartialEq)]`
    |
207 | #[derive(PartialEq)]
    |

error[E0277]: can't compare `AlignmentEnum32` with `AlignmentEnum32`
   --> library/core/src/ptr/alignment.rs:226:23
    |
226 |   #[derive(Copy, Clone, Eq)]
    |                         ^^
    |                         |
    |                         no implementation for `AlignmentEnum32 == AlignmentEnum32`
    |                         in this derive macro expansion
    |
   ::: library/core/src/cmp.rs:302:1
    |
302 | / pub macro Eq($item:item) {
303 | |     /* compiler built-in */
304 | | }
    | |_- in this expansion of `#[derive(Eq)]`
    |
    = help: the trait `cmp::PartialEq` is not implemented for `AlignmentEnum32`
note: required by a bound in `cmp::Eq`
   --> library/core/src/cmp.rs:283:15
    |
283 | pub trait Eq: PartialEq<Self> {
    |               ^^^^^^^^^^^^^^^ required by this bound in `cmp::Eq`
help: consider annotating `AlignmentEnum32` with `#[derive(PartialEq)]`
    |
229 | #[derive(PartialEq)]
    |

error[E0277]: can't compare `AlignmentEnum64` with `AlignmentEnum64`
   --> library/core/src/ptr/alignment.rs:264:23
    |
264 |   #[derive(Copy, Clone, Eq)]
    |                         ^^
    |                         |
    |                         no implementation for `AlignmentEnum64 == AlignmentEnum64`
    |                         in this derive macro expansion
    |
   ::: library/core/src/cmp.rs:302:1
    |
302 | / pub macro Eq($item:item) {
303 | |     /* compiler built-in */
304 | | }
    | |_- in this expansion of `#[derive(Eq)]`
    |
    = help: the trait `cmp::PartialEq` is not implemented for `AlignmentEnum64`
note: required by a bound in `cmp::Eq`
   --> library/core/src/cmp.rs:283:15
    |
283 | pub trait Eq: PartialEq<Self> {
    |               ^^^^^^^^^^^^^^^ required by this bound in `cmp::Eq`
help: consider annotating `AlignmentEnum64` with `#[derive(PartialEq)]`
    |
267 | #[derive(PartialEq)]
    |

error[E0277]: can't compare `cmp::Ordering` with `cmp::Ordering`
   --> library/core/src/cmp.rs:333:23
    |
302 | / pub macro Eq($item:item) {
303 | |     /* compiler built-in */
304 | | }
    | |_- in this expansion of `#[derive(Eq)]`
...
333 |   #[derive(Clone, Copy, Eq, Debug, Hash)]
    |                         ^^
    |                         |
    |                         no implementation for `cmp::Ordering == cmp::Ordering`
    |                         in this derive macro expansion
    |
    = help: the trait `cmp::PartialEq` is not implemented for `cmp::Ordering`
note: required by a bound in `cmp::Eq`
   --> library/core/src/cmp.rs:283:15
    |
283 | pub trait Eq: PartialEq<Self> {
    |               ^^^^^^^^^^^^^^^ required by this bound in `cmp::Eq`
help: consider annotating `cmp::Ordering` with `#[derive(PartialEq)]`
    |
337 | #[derive(PartialEq)]
    |

error[E0277]: can't compare `TypeId` with `TypeId`
   --> library/core/src/any.rs:665:36
    |
665 |   #[derive(Clone, Copy, Debug, Hash, Eq)]
    |                                      ^^
    |                                      |
    |                                      no implementation for `TypeId == TypeId`
    |                                      in this derive macro expansion
    |
   ::: library/core/src/cmp.rs:302:1
    |
302 | / pub macro Eq($item:item) {
303 | |     /* compiler built-in */
304 | | }
    | |_- in this expansion of `#[derive(Eq)]`
    |
    = help: the trait `cmp::PartialEq` is not implemented for `TypeId`
note: required by a bound in `cmp::Eq`
   --> library/core/src/cmp.rs:283:15
    |
283 | pub trait Eq: PartialEq<Self> {
    |               ^^^^^^^^^^^^^^^ required by this bound in `cmp::Eq`
help: consider annotating `TypeId` with `#[derive(PartialEq)]`
    |
668 | #[derive(PartialEq)]
    |

Some errors have detailed explanations: E0277, E0522.
For more information about an error, try `rustc --explain E0277`.

Did not run successfully: exit status: 1
"/home/pbulk/build/lang/rust/work/rust-1.66.0-x86_64-unknown-illumos/bin/rustc" "--crate-name" "core" "--edition=2021" "library/core/src/lib.rs" "--error-format=json" "--json=diagnostic-rendered-ansi,artifacts,future-incompat" "--crate-type" "lib" "--emit=dep-info,metadata,link" "-C" "opt-level=3" "-C" "embed-bitcode=no" "-C" "debuginfo=0" "-Zunstable-options" "--check-cfg" "names()" "--check-cfg" "values()" "-C" "metadata=9a5a29dfbb958acf" "-C" "extra-filename=-9a5a29dfbb958acf" "--out-dir" "/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/x86_64-unknown-illumos/release/deps" "--target" "x86_64-unknown-illumos" "-L" "dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/x86_64-unknown-illumos/release/deps" "-L" "dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps" "--cfg=bootstrap" "-Csymbol-mangling-version=legacy" "-Zunstable-options" "-Zunstable-options" "--check-cfg=values(bootstrap)" "--check-cfg=values(stdarch_intel_sde)" "--check-cfg=values(no_fp_fmt_parse)" "--check-cfg=values(no_global_oom_handling)" "--check-cfg=values(no_rc)" "--check-cfg=values(no_sync)" "--check-cfg=values(freebsd12)" "--check-cfg=values(backtrace_in_libstd)" "--check-cfg=values(target_env,\"libnx\")" "--check-cfg=values(target_os,\"watchos\")" "--check-cfg=values(target_arch,\"asmjs\",\"spirv\",\"nvptx\",\"nvptx64\",\"le32\",\"xtensa\")" "--check-cfg=values(dont_compile_me)" "--check-cfg=values(rustix_use_libc)" "-Zmacro-backtrace" "-Clink-args=-Wl,-z,origin" "-Clink-args=-Wl,-rpath,/opt/pkg/lib" "-Zunstable-options" "-Csplit-debuginfo=off" "-Cprefer-dynamic" "-Zcrate-attr=doc(html_root_url=\"https://doc.rust-lang.org/1.68.2/\")" "-Z" "binary-dep-depinfo" "-Wrust_2018_idioms" "-Wunused_lifetimes" "-Wsemicolon_in_expressions_from_macros" "-Dwarnings" "--sysroot" "/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-sysroot" "-Z" "force-unstable-if-unmarked"
-------------
error: could not compile `core` due to 33 previous errors

Caused by:
  process didn't exit successfully: `/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/bootstrap/debug/rustc --crate-name core --edition=2021 library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=0 -Zunstable-options --check-cfg 'names()' --check-cfg 'values()' -C metadata=9a5a29dfbb958acf -C extra-filename=-9a5a29dfbb958acf --out-dir /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/x86_64-unknown-illumos/release/deps --target x86_64-unknown-illumos -L dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/x86_64-unknown-illumos/release/deps -L dependency=/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/x86_64-unknown-illumos/stage0-std/release/deps --cfg=bootstrap -Csymbol-mangling-version=legacy -Zunstable-options -Zunstable-options '--check-cfg=values(bootstrap)' '--check-cfg=values(stdarch_intel_sde)' '--check-cfg=values(no_fp_fmt_parse)' '--check-cfg=values(no_global_oom_handling)' '--check-cfg=values(no_rc)' '--check-cfg=values(no_sync)' '--check-cfg=values(freebsd12)' '--check-cfg=values(backtrace_in_libstd)' '--check-cfg=values(target_env,"libnx")' '--check-cfg=values(target_os,"watchos")' '--check-cfg=values(target_arch,"asmjs","spirv","nvptx","nvptx64","le32","xtensa")' '--check-cfg=values(dont_compile_me)' '--check-cfg=values(rustix_use_libc)' -Zmacro-backtrace -Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,/opt/pkg/lib -Zunstable-options -Csplit-debuginfo=off -Cprefer-dynamic '-Zcrate-attr=doc(html_root_url="https://doc.rust-lang.org/1.68.2/")' -Z binary-dep-depinfo` (exit status: 1)
command did not execute successfully: "/home/pbulk/build/lang/rust/work/rust-1.66.0-x86_64-unknown-illumos/bin/cargo" "build" "--target" "x86_64-unknown-illumos" "--release" "-Zcheck-cfg=names,values,output" "-Zbinary-dep-depinfo" "-j" "8" "-v" "--frozen" "--features" " panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/library/test/Cargo.toml" "--message-format" "json-render-diagnostics"
expected success, got: exit status: 101
Traceback (most recent call last):
  File "/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/./x.py", line 28, in <module>
    bootstrap.main()
  File "/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/src/bootstrap/bootstrap.py", line 952, in main
    bootstrap(help_triggered)
  File "/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/src/bootstrap/bootstrap.py", line 938, in bootstrap
    run(args, env=env, verbose=build.verbose, is_bootstrap=True)
  File "/home/pbulk/build/lang/rust/work/rustc-1.68.2-src/src/bootstrap/bootstrap.py", line 166, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /home/pbulk/build/lang/rust/work/rustc-1.68.2-src/build/bootstrap/debug/bootstrap -v build --stage 2 -j 8
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/rust
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/rust