DEBUG: Executing shell function do_install
COMPILE rust-native install
Building bootstrap
running: TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/rust-snapshot/bin/cargo build --jobs=default --manifest-path TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/sources/rustc-1.93.0-src/src/bootstrap/Cargo.toml -Zroot-dir=TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/sources/rustc-1.93.0-src --frozen
   Compiling lzma-sys v0.1.20
   Compiling clap v4.5.20
   Compiling build_helper v0.1.0 (TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/sources/rustc-1.93.0-src/src/build_helper)
    Building [======================>    ] 71/80: lzma-sys, build_helper, clap
error[E0463]: can't find crate for `clap_derive`
  --> /usr/src/debug/rust-native/1.93.0/sources/rustc-1.93.0-src/vendor/clap-4.5.20/src/lib.rs:91:9
   |
91 | pub use clap_derive::{self, Args, Parser, Subcommand, ValueEnum};
   |         ^^^^^^^^^^^ can't find crate

For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `serde_derive`
 --> src/build_helper/src/metrics.rs:3:5
  |
3 | use serde_derive::{Deserialize, Serialize};
  |     ^^^^^^^^^^^^ can't find crate

   Compiling xz2 v0.1.7
    Building [======================>    ] 71/80: lzma-sys, build_helper, cla…
error: could not compile `clap` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
    Building [=======================>   ] 72/80: lzma-sys, build_helper, xz2 
error: cannot find attribute `serde` in this scope
 --> src/build_helper/src/metrics.rs:6:3
  |
6 | #[serde(rename_all = "snake_case")]
  |   ^^^^^
  |
  = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
 --> src/build_helper/src/metrics.rs:8:7
  |
8 |     #[serde(default)] // For version 0 the field was not present.
  |       ^^^^^
  |
  = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
  --> src/build_helper/src/metrics.rs:12:7
   |
12 |     #[serde(default)]
   |       ^^^^^
   |
   = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
  --> src/build_helper/src/metrics.rs:28:3
   |
28 | #[serde(rename_all = "snake_case")]
   |   ^^^^^
   |
   = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
  --> src/build_helper/src/metrics.rs:36:7
   |
36 |     #[serde(deserialize_with = "null_as_f64_nan")]
   |       ^^^^^
   |
   = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
  --> src/build_helper/src/metrics.rs:42:3
   |
42 | #[serde(tag = "kind", rename_all = "snake_case")]
   |   ^^^^^
   |
   = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
  --> src/build_helper/src/metrics.rs:45:11
   |
45 |         #[serde(rename = "type")]
   |           ^^^^^
   |
   = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
  --> src/build_helper/src/metrics.rs:49:11
   |
49 |         #[serde(deserialize_with = "null_as_f64_nan")]
   |           ^^^^^
   |
   = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
  --> src/build_helper/src/metrics.rs:65:3
   |
65 | #[serde(tag = "kind", rename_all = "snake_case")]
   |   ^^^^^
   |
   = note: `serde` is in scope, but it is a crate, not an attribute

    Building [=======================>   ] 73/80: build_helper, xz2           
error: cannot find attribute `serde` in this scope
  --> src/build_helper/src/metrics.rs:86:7
   |
86 |     #[serde(flatten)]
   |       ^^^^^
   |
   = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
  --> src/build_helper/src/metrics.rs:91:3
   |
91 | #[serde(tag = "outcome", rename_all = "snake_case")]
   |   ^^^^^
   |
   = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
  --> src/build_helper/src/metrics.rs:99:3
   |
99 | #[serde(rename_all = "snake_case")]
   |   ^^^^^
   |
   = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
   --> src/build_helper/src/metrics.rs:108:3
    |
108 | #[serde(rename_all = "snake_case")]
    |   ^^^^^
    |
    = note: `serde` is in scope, but it is a crate, not an attribute

error: cannot find attribute `serde` in this scope
   --> src/build_helper/src/metrics.rs:110:7
    |
110 |     #[serde(deserialize_with = "null_as_f64_nan")]
    |       ^^^^^
    |
    = note: `serde` is in scope, but it is a crate, not an attribute

error: could not compile `build_helper` (lib) due to 15 previous errors
    Building [=======================>   ] 74/80: xz2                         
Traceback (most recent call last):
  File "TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/sources/rustc-1.93.0-src/src/bootstrap/bootstrap.py", line 1431, in <module>
    main()
    ~~~~^^
  File "TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/sources/rustc-1.93.0-src/src/bootstrap/bootstrap.py", line 1410, in main
    bootstrap(args)
    ~~~~~~~~~^^^^^^
  File "TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/sources/rustc-1.93.0-src/src/bootstrap/bootstrap.py", line 1362, in bootstrap
    build.build_bootstrap()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File "TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/sources/rustc-1.93.0-src/src/bootstrap/bootstrap.py", line 1029, in build_bootstrap
    run(args, env=env, verbose=self.verbose, cwd=self.rust_root)
    ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/sources/rustc-1.93.0-src/src/bootstrap/bootstrap.py", line 237, in run
    raise RuntimeError(err)
RuntimeError: failed to run: TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/rust-snapshot/bin/cargo build --jobs=default --manifest-path TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/sources/rustc-1.93.0-src/src/bootstrap/Cargo.toml -Zroot-dir=TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/sources/rustc-1.93.0-src --frozen
WARNING: TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/temp/run.do_install.37785:180 exit 1 from 'python3 src/bootstrap/bootstrap.py -j 16 "$@" --verbose'
WARNING: Backtrace (BB generated script): 
	#1: rust_runx, TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/temp/run.do_install.37785, line 180
	#2: rust_do_install, TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/temp/run.do_install.37785, line 153
	#3: do_install, TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/temp/run.do_install.37785, line 148
	#4: main, TOPDIR/tmp/work/x86_64-linux/rust-native/1.93.0/temp/run.do_install.37785, line 203

Error details

Submitted on:
22/02/26 08:52
Error type:
Recipe
Task:
do_install
Recipe:
rust-native
Recipe version:
1.93.0-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
opensuseleap-15.5/opensuseleap-15.5
Branch:
mathieu/master-next
Commit:
5561afc48885ae923fc4c73e167a83b81d692147
Build:
#228048
Submitter:
yp-ab-opensuse155-vk-2.yocto.io
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/26/builds/3200
Similar errors:
0
Open a bug