[INFO] fetching crate edit-xml 0.1.0... [INFO] checking edit-xml-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate edit-xml 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate edit-xml 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate edit-xml 0.1.0 [INFO] tweaked toml for crates.io crate edit-xml 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate edit-xml 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 155 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding itertools v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding markup5ever v0.14.1 (available: v0.35.0) [INFO] [stderr] Adding quick-xml v0.36.2 (available: v0.38.3) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding xml5ever v0.20.0 (available: v0.35.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6df6ee0533c2c969e02714f130f5010661b85b4facc646d007641b1c99266938 [INFO] running `Command { std: "docker" "start" "-a" "6df6ee0533c2c969e02714f130f5010661b85b4facc646d007641b1c99266938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6df6ee0533c2c969e02714f130f5010661b85b4facc646d007641b1c99266938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6df6ee0533c2c969e02714f130f5010661b85b4facc646d007641b1c99266938", kill_on_drop: false }` [INFO] [stdout] 6df6ee0533c2c969e02714f130f5010661b85b4facc646d007641b1c99266938 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b2c0e1d43f49f672e88f8d218cc2c32b10afdb442784b74554abd6a11ac073e [INFO] running `Command { std: "docker" "start" "-a" "8b2c0e1d43f49f672e88f8d218cc2c32b10afdb442784b74554abd6a11ac073e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking quick-xml v0.36.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking rxml_validation v0.11.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking rxml v0.11.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking xml-rs v0.8.27 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking minidom v0.16.0 [INFO] [stderr] Checking xmltree v0.11.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking xml_dom v0.2.8 [INFO] [stderr] Checking edit-xml v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking xml5ever v0.20.0 [INFO] [stdout] error[E0432]: unresolved imports `edit_xml::DocumentBreakdown`, `edit_xml::NodeBreakdown` [INFO] [stdout] --> tests/test_utils.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | use edit_xml::{Document, DocumentBreakdown, EditXMLError, NodeBreakdown, ReadOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `NodeBreakdown` in the root [INFO] [stdout] | | [INFO] [stdout] | no `DocumentBreakdown` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/test_utils.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/test_utils.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `edit_xml::DocumentBreakdown`, `edit_xml::NodeBreakdown` [INFO] [stdout] --> tests/test_utils.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | use edit_xml::{Document, DocumentBreakdown, EditXMLError, NodeBreakdown, ReadOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `NodeBreakdown` in the root [INFO] [stdout] | | [INFO] [stdout] | no `DocumentBreakdown` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/test_utils.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/test_utils.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestDocumentResult: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test_utils.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | let expected = serde_json::from_str(&file)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `TestDocumentResult` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `TestDocumentResult` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] `&'a Path` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `&'a [u8]` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `&'a str` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `()` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T,)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] and 157 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestDocumentResult: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/test_utils.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | serde_json::to_writer_pretty(file, self)?; [INFO] [stdout] | ---------------------------- ^^^^ the trait `serde::ser::Serialize` is not implemented for `TestDocumentResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `TestDocumentResult` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 150 others [INFO] [stdout] note: required by a bound in `to_writer_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/ser.rs:2200:17 [INFO] [stdout] | [INFO] [stdout] 2197 | pub fn to_writer_pretty(writer: W, value: &T) -> Result<()> [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 2200 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_writer_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for reference `&Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:145:58 [INFO] [stdout] | [INFO] [stdout] 145 | let result = TestDocumentResult::Success(doc.breakdown()); [INFO] [stdout] | ^^^^^^^^^ method not found in `&Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestDocumentResult: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test_utils.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | let expected = serde_json::from_str(&file)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `TestDocumentResult` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `TestDocumentResult` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] `&'a Path` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `&'a [u8]` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `&'a str` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `()` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T,)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] and 157 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestDocumentResult: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/test_utils.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | serde_json::to_writer_pretty(file, self)?; [INFO] [stdout] | ---------------------------- ^^^^ the trait `serde::ser::Serialize` is not implemented for `TestDocumentResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `TestDocumentResult` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 150 others [INFO] [stdout] note: required by a bound in `to_writer_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/ser.rs:2200:17 [INFO] [stdout] | [INFO] [stdout] 2197 | pub fn to_writer_pretty(writer: W, value: &T) -> Result<()> [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 2200 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_writer_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for reference `&Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:222:26 [INFO] [stdout] | [INFO] [stdout] 222 | let actual = doc.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for reference `&Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:145:58 [INFO] [stdout] | [INFO] [stdout] 145 | let result = TestDocumentResult::Success(doc.breakdown()); [INFO] [stdout] | ^^^^^^^^^ method not found in `&Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `edit_xml::DocumentBreakdown`, `edit_xml::NodeBreakdown` [INFO] [stdout] --> tests/test_utils.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | use edit_xml::{Document, DocumentBreakdown, EditXMLError, NodeBreakdown, ReadOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `NodeBreakdown` in the root [INFO] [stdout] | | [INFO] [stdout] | no `DocumentBreakdown` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/test_utils.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for reference `&Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:222:26 [INFO] [stdout] | [INFO] [stdout] 222 | let actual = doc.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for struct `Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:283:41 [INFO] [stdout] | [INFO] [stdout] 283 | let expected_breakdowns = input.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/test_utils.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `edit_xml::DocumentBreakdown`, `edit_xml::NodeBreakdown` [INFO] [stdout] --> tests/test_utils.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | use edit_xml::{Document, DocumentBreakdown, EditXMLError, NodeBreakdown, ReadOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `NodeBreakdown` in the root [INFO] [stdout] | | [INFO] [stdout] | no `DocumentBreakdown` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/test_utils.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for struct `Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:283:41 [INFO] [stdout] | [INFO] [stdout] 283 | let expected_breakdowns = input.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/test_utils.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for struct `Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:289:37 [INFO] [stdout] | [INFO] [stdout] 289 | let actual_breakdowns = doc.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for struct `Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:289:37 [INFO] [stdout] | [INFO] [stdout] 289 | let actual_breakdowns = doc.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `edit-xml` (test "test_utils") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `edit-xml` (test "test_write") due to 9 previous errors [INFO] [stdout] error[E0277]: the trait bound `TestDocumentResult: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test_utils.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | let expected = serde_json::from_str(&file)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `TestDocumentResult` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `TestDocumentResult` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] `&'a Path` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `&'a [u8]` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `&'a str` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `()` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T,)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] and 157 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestDocumentResult: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/test_utils.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | serde_json::to_writer_pretty(file, self)?; [INFO] [stdout] | ---------------------------- ^^^^ the trait `serde::ser::Serialize` is not implemented for `TestDocumentResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `TestDocumentResult` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 150 others [INFO] [stdout] note: required by a bound in `to_writer_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/ser.rs:2200:17 [INFO] [stdout] | [INFO] [stdout] 2197 | pub fn to_writer_pretty(writer: W, value: &T) -> Result<()> [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 2200 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_writer_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestDocumentResult: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test_utils.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | let expected = serde_json::from_str(&file)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `TestDocumentResult` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `TestDocumentResult` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] `&'a Path` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `&'a [u8]` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `&'a str` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `()` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T,)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `serde::de::Deserialize<'de>` [INFO] [stdout] and 157 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for reference `&Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:145:58 [INFO] [stdout] | [INFO] [stdout] 145 | let result = TestDocumentResult::Success(doc.breakdown()); [INFO] [stdout] | ^^^^^^^^^ method not found in `&Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestDocumentResult: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/test_utils.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | serde_json::to_writer_pretty(file, self)?; [INFO] [stdout] | ---------------------------- ^^^^ the trait `serde::ser::Serialize` is not implemented for `TestDocumentResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `TestDocumentResult` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 150 others [INFO] [stdout] note: required by a bound in `to_writer_pretty` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/ser.rs:2200:17 [INFO] [stdout] | [INFO] [stdout] 2197 | pub fn to_writer_pretty(writer: W, value: &T) -> Result<()> [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 2200 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_writer_pretty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for reference `&Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:222:26 [INFO] [stdout] | [INFO] [stdout] 222 | let actual = doc.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for reference `&Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:145:58 [INFO] [stdout] | [INFO] [stdout] 145 | let result = TestDocumentResult::Success(doc.breakdown()); [INFO] [stdout] | ^^^^^^^^^ method not found in `&Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for struct `Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:283:41 [INFO] [stdout] | [INFO] [stdout] 283 | let expected_breakdowns = input.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for reference `&Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:222:26 [INFO] [stdout] | [INFO] [stdout] 222 | let actual = doc.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `&Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for struct `Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:289:37 [INFO] [stdout] | [INFO] [stdout] 289 | let actual_breakdowns = doc.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for struct `Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:283:41 [INFO] [stdout] | [INFO] [stdout] 283 | let expected_breakdowns = input.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `breakdown` found for struct `Document` in the current scope [INFO] [stdout] --> tests/test_utils.rs:289:37 [INFO] [stdout] | [INFO] [stdout] 289 | let actual_breakdowns = doc.breakdown(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `edit-xml` (test "test_documents") due to 9 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `edit-xml` (test "test_parse") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "8b2c0e1d43f49f672e88f8d218cc2c32b10afdb442784b74554abd6a11ac073e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b2c0e1d43f49f672e88f8d218cc2c32b10afdb442784b74554abd6a11ac073e", kill_on_drop: false }` [INFO] [stdout] 8b2c0e1d43f49f672e88f8d218cc2c32b10afdb442784b74554abd6a11ac073e