[INFO] fetching crate edit-xml 0.1.0... [INFO] testing edit-xml-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate edit-xml 0.1.0 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate edit-xml 0.1.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 150 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 xml-rs v0.8.27 (available: v1.0.0) [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xmltree v0.11.0 [INFO] [stderr] Downloaded xml5ever v0.20.0 [INFO] [stderr] Downloaded minidom v0.16.0 [INFO] [stderr] Downloaded xml_dom v0.2.8 [INFO] [stderr] Downloaded rxml v0.11.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7239a38f3ffabf9ca522196734868004a0839ff69e6b7c3faf8d8fee7fc7b268 [INFO] running `Command { std: "docker" "start" "-a" "7239a38f3ffabf9ca522196734868004a0839ff69e6b7c3faf8d8fee7fc7b268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7239a38f3ffabf9ca522196734868004a0839ff69e6b7c3faf8d8fee7fc7b268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7239a38f3ffabf9ca522196734868004a0839ff69e6b7c3faf8d8fee7fc7b268", kill_on_drop: false }` [INFO] [stdout] 7239a38f3ffabf9ca522196734868004a0839ff69e6b7c3faf8d8fee7fc7b268 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f9f43e6085f5484d9dbb6c362d35a6049868dec1993d7a25765ae33c18b1822 [INFO] running `Command { std: "docker" "start" "-a" "8f9f43e6085f5484d9dbb6c362d35a6049868dec1993d7a25765ae33c18b1822", kill_on_drop: false }` [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling edit-xml v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "8f9f43e6085f5484d9dbb6c362d35a6049868dec1993d7a25765ae33c18b1822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f9f43e6085f5484d9dbb6c362d35a6049868dec1993d7a25765ae33c18b1822", kill_on_drop: false }` [INFO] [stdout] 8f9f43e6085f5484d9dbb6c362d35a6049868dec1993d7a25765ae33c18b1822 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6855cab972c91e79170edd8326e8dfe750f5d1dccfd20acf66ef884f5f548a2a [INFO] running `Command { std: "docker" "start" "-a" "6855cab972c91e79170edd8326e8dfe750f5d1dccfd20acf66ef884f5f548a2a", kill_on_drop: false }` [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling xmltree v0.11.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling xml_dom v0.2.8 [INFO] [stderr] Compiling edit-xml v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling rxml_validation v0.11.0 [INFO] [stderr] Compiling rxml v0.11.1 [INFO] [stderr] Compiling minidom v0.16.0 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling 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[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] help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 108 + #[derive(Deserialize, Serialize)] [INFO] [stdout] 109 | pub enum TestDocumentResult { [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] help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 108 + #[derive(Deserialize, Serialize)] [INFO] [stdout] 109 | pub enum TestDocumentResult { [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] help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 108 + #[derive(Deserialize, Serialize)] [INFO] [stdout] 109 | pub enum TestDocumentResult { [INFO] [stdout] | [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] help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 108 + #[derive(Deserialize, Serialize)] [INFO] [stdout] 109 | pub enum TestDocumentResult { [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `TestDocumentResult` [INFO] [stdout] --> tests/test_utils.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum 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::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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `TestDocumentResult` [INFO] [stdout] --> tests/test_utils.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum 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::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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `TestDocumentResult` [INFO] [stdout] --> tests/test_utils.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum 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::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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `TestDocumentResult` [INFO] [stdout] --> tests/test_utils.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum 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] | ---------------------------- ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `TestDocumentResult` [INFO] [stdout] --> tests/test_utils.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum TestDocumentResult { [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::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] | ---------------------------- ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `TestDocumentResult` [INFO] [stdout] --> tests/test_utils.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum TestDocumentResult { [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::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] | ---------------------------- ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `TestDocumentResult` [INFO] [stdout] --> tests/test_utils.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum TestDocumentResult { [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::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] | ---------------------------- ^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `TestDocumentResult` [INFO] [stdout] --> tests/test_utils.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub enum TestDocumentResult { [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[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 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: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: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 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:222:26 [INFO] [stdout] | [INFO] [stdout] 222 | let actual = 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] 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] For more information about an error, try `rustc --explain E0277`. [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: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] 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] [stderr] error: could not compile `edit-xml` (test "test_write") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] [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] 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" "6855cab972c91e79170edd8326e8dfe750f5d1dccfd20acf66ef884f5f548a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6855cab972c91e79170edd8326e8dfe750f5d1dccfd20acf66ef884f5f548a2a", kill_on_drop: false }` [INFO] [stdout] 6855cab972c91e79170edd8326e8dfe750f5d1dccfd20acf66ef884f5f548a2a