[INFO] fetching crate xmlity 0.0.8... [INFO] testing xmlity-0.0.8 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate xmlity 0.0.8 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate xmlity 0.0.8 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate xmlity 0.0.8 [INFO] tweaked toml for crates.io crate xmlity 0.0.8 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xmlity 0.0.8 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xmlity 0.0.8 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fdb1ccef122fb82c877431f7a944ce85613ef48d69db5c3820a5ac83f45bb88 [INFO] running `Command { std: "docker" "start" "-a" "3fdb1ccef122fb82c877431f7a944ce85613ef48d69db5c3820a5ac83f45bb88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fdb1ccef122fb82c877431f7a944ce85613ef48d69db5c3820a5ac83f45bb88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fdb1ccef122fb82c877431f7a944ce85613ef48d69db5c3820a5ac83f45bb88", kill_on_drop: false }` [INFO] [stdout] 3fdb1ccef122fb82c877431f7a944ce85613ef48d69db5c3820a5ac83f45bb88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52403fc7fa891738895712a8c883dca5c65dabfb7237924c6808c17219f2370c [INFO] running `Command { std: "docker" "start" "-a" "52403fc7fa891738895712a8c883dca5c65dabfb7237924c6808c17219f2370c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling xmlity v0.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.81s [INFO] running `Command { std: "docker" "inspect" "52403fc7fa891738895712a8c883dca5c65dabfb7237924c6808c17219f2370c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52403fc7fa891738895712a8c883dca5c65dabfb7237924c6808c17219f2370c", kill_on_drop: false }` [INFO] [stdout] 52403fc7fa891738895712a8c883dca5c65dabfb7237924c6808c17219f2370c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95450f440459bd58e4a9eb3f6aa03c7fc6e1c4ea745c5390550b55f6800b3aee [INFO] running `Command { std: "docker" "start" "-a" "95450f440459bd58e4a9eb3f6aa03c7fc6e1c4ea745c5390550b55f6800b3aee", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling xmlity v0.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling xmlity-derive v0.0.8 [INFO] [stderr] Compiling rstest v0.25.0 [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/elements/element_with_value.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize, PartialEq, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/elements/element_with_value.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use xmlity::{Deserialize, Serialize, XmlValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use xmlity_derive::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/elements/element_with_value.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize, PartialEq, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/elements/element_with_value.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use xmlity::{Deserialize, Serialize, XmlValue}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use xmlity_derive::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `xelement` in this scope [INFO] [stdout] --> tests/elements/element_with_value.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[xelement( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `xvalue` in this scope [INFO] [stdout] --> tests/elements/element_with_value.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[xvalue(default)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/elements/element_with_value.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize, PartialEq, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/elements/element_with_value.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use xmlity::{Deserialize, Serialize, XmlValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use xmlity_derive::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/elements/element_with_value.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Serialize, Deserialize, PartialEq, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/elements/element_with_value.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use xmlity::{Deserialize, Serialize, XmlValue}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use xmlity_derive::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `xelement` in this scope [INFO] [stdout] --> tests/elements/element_with_value.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[xelement( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `xgroup` in this scope [INFO] [stdout] --> tests/elements/element_with_value.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[xgroup(children_order = "strict")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/value_struct.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/value_struct.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | use xmlity::{types::utils::CData, value::XmlSeq, Deserialize, Serialize, XmlValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use xmlity_derive::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `B` in the current scope [INFO] [stdout] --> tests/elements/element_with_value.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct B { [INFO] [stdout] | ------------ function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | let b = B::deserialize(&value).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `B` [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 `deserialize`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/value_struct.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/value_struct.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use xmlity::{types::utils::CData, value::XmlSeq, Deserialize, Serialize, XmlValue}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use xmlity_derive::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xmlity` (test "features") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `Test` in the current scope [INFO] [stdout] --> tests/value_struct.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Test(String, CData, String); [INFO] [stdout] | --------------- method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 24 | simple_value_struct().serialize(&mut &mut actual).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Test` [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 `serialize`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Serialize` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 24 | simple_value_struct().0.serialize(&mut &mut actual).unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] 24 | simple_value_struct().1.serialize(&mut &mut actual).unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] 24 | simple_value_struct().2.serialize(&mut &mut actual).unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `Test` in the current scope [INFO] [stdout] --> tests/value_struct.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Test(String, CData, String); [INFO] [stdout] | --------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | let actual = Test::deserialize(&source).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Test` [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 `deserialize`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xmlity` (test "value_struct") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "95450f440459bd58e4a9eb3f6aa03c7fc6e1c4ea745c5390550b55f6800b3aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95450f440459bd58e4a9eb3f6aa03c7fc6e1c4ea745c5390550b55f6800b3aee", kill_on_drop: false }` [INFO] [stdout] 95450f440459bd58e4a9eb3f6aa03c7fc6e1c4ea745c5390550b55f6800b3aee