[INFO] fetching crate xmlity 0.0.7... [INFO] checking xmlity-0.0.7 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate xmlity 0.0.7 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate xmlity 0.0.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate xmlity 0.0.7 [INFO] tweaked toml for crates.io crate xmlity 0.0.7 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xmlity 0.0.7 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 xmlity 0.0.7 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 xmlity-derive v0.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0fcb0d1cd9ca03aa32e0e3e57e73ab5642f9a2983af0d4fe70562caf74006561 [INFO] running `Command { std: "docker" "start" "-a" "0fcb0d1cd9ca03aa32e0e3e57e73ab5642f9a2983af0d4fe70562caf74006561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fcb0d1cd9ca03aa32e0e3e57e73ab5642f9a2983af0d4fe70562caf74006561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fcb0d1cd9ca03aa32e0e3e57e73ab5642f9a2983af0d4fe70562caf74006561", kill_on_drop: false }` [INFO] [stdout] 0fcb0d1cd9ca03aa32e0e3e57e73ab5642f9a2983af0d4fe70562caf74006561 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ef4423db9c41092bfefe63121de269dc9e58e4d979addacf037f874a282fa2d9 [INFO] running `Command { std: "docker" "start" "-a" "ef4423db9c41092bfefe63121de269dc9e58e4d979addacf037f874a282fa2d9", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking xmlity v0.0.7 (/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.7 [INFO] [stderr] Checking rstest v0.25.0 [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: 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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ef4423db9c41092bfefe63121de269dc9e58e4d979addacf037f874a282fa2d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef4423db9c41092bfefe63121de269dc9e58e4d979addacf037f874a282fa2d9", kill_on_drop: false }` [INFO] [stdout] ef4423db9c41092bfefe63121de269dc9e58e4d979addacf037f874a282fa2d9