[INFO] fetching crate xcfg-rs 0.3.3... [INFO] checking xcfg-rs-0.3.3 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate xcfg-rs 0.3.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate xcfg-rs 0.3.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate xcfg-rs 0.3.3 [INFO] tweaked toml for crates.io crate xcfg-rs 0.3.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xcfg-rs 0.3.3 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xcfg-rs 0.3.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xcfg-derive v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b59ecfe998184501d945721c9100c22f3c76a8959ce78146ec7eeb9dccccb85b [INFO] running `Command { std: "docker" "start" "-a" "b59ecfe998184501d945721c9100c22f3c76a8959ce78146ec7eeb9dccccb85b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b59ecfe998184501d945721c9100c22f3c76a8959ce78146ec7eeb9dccccb85b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b59ecfe998184501d945721c9100c22f3c76a8959ce78146ec7eeb9dccccb85b", kill_on_drop: false }` [INFO] [stdout] b59ecfe998184501d945721c9100c22f3c76a8959ce78146ec7eeb9dccccb85b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6216829fed31ff053eba394f6317600602a902145daacc042c5edded11c35f2 [INFO] running `Command { std: "docker" "start" "-a" "f6216829fed31ff053eba394f6317600602a902145daacc042c5edded11c35f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde_yml v0.0.12 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking libyml v0.0.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking xcfg-rs v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `XCfg` in this scope [INFO] [stdout] --> tests/common/mod.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(XCfg, Default, Serialize, Deserialize, PartialEq, Debug, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `XCfg` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/common/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use xcfg::XCfg; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `common::Test` in the current scope [INFO] [stdout] --> tests/toml_test.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | test.save(path).unwrap(); [INFO] [stdout] | ^^^^ method not found in `common::Test` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Test { [INFO] [stdout] | --------------- method `save` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `save`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `XCfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `common::Test` in the current scope [INFO] [stdout] --> tests/toml_test.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | Test::load(path) [INFO] [stdout] | ^^^^ function or associated item not found in `common::Test` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Test { [INFO] [stdout] | --------------- function or associated item `load` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `common::Test`, consider using `common::Test::new` which returns `common::Test` [INFO] [stdout] --> tests/common/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(a: i32, b: Vec, sub: SubTest) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `XCfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `common::Test` in the current scope [INFO] [stdout] --> tests/toml_test.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | Test::load(path) [INFO] [stdout] | ^^^^ function or associated item not found in `common::Test` [INFO] [stdout] | [INFO] [stdout] ::: tests/common/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Test { [INFO] [stdout] | --------------- function or associated item `load` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `common::Test`, consider using `common::Test::new` which returns `common::Test` [INFO] [stdout] --> tests/common/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(a: i32, b: Vec, sub: SubTest) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `XCfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xcfg-rs` (test "toml-test") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "f6216829fed31ff053eba394f6317600602a902145daacc042c5edded11c35f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6216829fed31ff053eba394f6317600602a902145daacc042c5edded11c35f2", kill_on_drop: false }` [INFO] [stdout] f6216829fed31ff053eba394f6317600602a902145daacc042c5edded11c35f2