[INFO] fetching crate xcsp3-rust 0.1.0... [INFO] testing xcsp3-rust-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate xcsp3-rust 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate xcsp3-rust 0.1.0 [INFO] finished tweaking crates.io crate xcsp3-rust 0.1.0 [INFO] tweaked toml for crates.io crate xcsp3-rust 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xcsp3-rust 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding quick-xml v0.29.0 (available: v0.38.3) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 64184b16adb2166c61b52e25d3d8339b614609f561b983990e27e3b0aa9cfd0a [INFO] running `Command { std: "docker" "start" "-a" "64184b16adb2166c61b52e25d3d8339b614609f561b983990e27e3b0aa9cfd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64184b16adb2166c61b52e25d3d8339b614609f561b983990e27e3b0aa9cfd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64184b16adb2166c61b52e25d3d8339b614609f561b983990e27e3b0aa9cfd0a", kill_on_drop: false }` [INFO] [stdout] 64184b16adb2166c61b52e25d3d8339b614609f561b983990e27e3b0aa9cfd0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 10d25547613484e19c0e02e986cc141d353f4d409676df0c05d8c43ecc74863a [INFO] running `Command { std: "docker" "start" "-a" "10d25547613484e19c0e02e986cc141d353f4d409676df0c05d8c43ecc74863a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling quick-xml v0.29.0 [INFO] [stderr] Compiling xcsp3-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `note`, and `type` are never read [INFO] [stdout] --> src/xcsp_xml/constraint_block.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ConstraintBlock { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 71 | #[serde(rename = "@id", default)] [INFO] [stdout] 72 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | #[serde(rename = "@note", default)] [INFO] [stdout] 74 | pub note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | #[serde(rename = "@class", default)] [INFO] [stdout] 76 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstraintBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `id` are never read [INFO] [stdout] --> src/xcsp_xml/constraint_group.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ConstraintGroup { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 65 | #[serde(rename = "@class", default)] [INFO] [stdout] 66 | pub class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | #[serde(rename = "@id", default)] [INFO] [stdout] 68 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstraintGroup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vars` is never read [INFO] [stdout] --> src/xcsp_xml/constraint_type.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 204 | Circuit { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 205 | #[serde(rename = "$value")] [INFO] [stdout] 206 | vars: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstraintType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/xcsp_xml/objective.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct MaximizeMinimize { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 78 | #[serde(rename = "id", default)] [INFO] [stdout] 79 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaximizeMinimize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `start_index`, and `note` are never read [INFO] [stdout] --> src/xcsp_xml/variable_array.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct VariableArray { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 91 | #[serde(rename = "@startIndex", default)] [INFO] [stdout] 92 | pub start_index: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | #[serde(rename = "@note", default)] [INFO] [stdout] 94 | pub note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableArray` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/constraints/xconstraint_set.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn iter(&self) -> Iter<'_, XConstraintType> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | pub fn iter(&self) -> Iter<'_, XConstraintType<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data_structs/expression_tree.rs:307:33 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn first_order_iter(&self) -> ExpressionFirstOrderIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 307 | pub fn first_order_iter(&self) -> ExpressionFirstOrderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objectives/xobjectives_set.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter(&self) -> Iter<'_, XObjectivesType> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter(&self) -> Iter<'_, XObjectivesType<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/variables/xdomain.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn iter(&self) -> XDomainIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 428 | pub fn iter(&self) -> XDomainIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.65s [INFO] running `Command { std: "docker" "inspect" "10d25547613484e19c0e02e986cc141d353f4d409676df0c05d8c43ecc74863a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d25547613484e19c0e02e986cc141d353f4d409676df0c05d8c43ecc74863a", kill_on_drop: false }` [INFO] [stdout] 10d25547613484e19c0e02e986cc141d353f4d409676df0c05d8c43ecc74863a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0a878113440f5cc70a4f212708c3e411a28e55c4caad693a415aa4c2b67aa6e2 [INFO] running `Command { std: "docker" "start" "-a" "0a878113440f5cc70a4f212708c3e411a28e55c4caad693a415aa4c2b67aa6e2", kill_on_drop: false }` [INFO] [stdout] warning: fields `id`, `note`, and `type` are never read [INFO] [stdout] --> src/xcsp_xml/constraint_block.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ConstraintBlock { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 71 | #[serde(rename = "@id", default)] [INFO] [stdout] 72 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | #[serde(rename = "@note", default)] [INFO] [stdout] 74 | pub note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | #[serde(rename = "@class", default)] [INFO] [stdout] 76 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstraintBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `id` are never read [INFO] [stdout] --> src/xcsp_xml/constraint_group.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ConstraintGroup { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 65 | #[serde(rename = "@class", default)] [INFO] [stdout] 66 | pub class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | #[serde(rename = "@id", default)] [INFO] [stdout] 68 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstraintGroup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vars` is never read [INFO] [stdout] --> src/xcsp_xml/constraint_type.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 204 | Circuit { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 205 | #[serde(rename = "$value")] [INFO] [stdout] 206 | vars: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstraintType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/xcsp_xml/objective.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct MaximizeMinimize { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 78 | #[serde(rename = "id", default)] [INFO] [stdout] 79 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaximizeMinimize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `start_index`, and `note` are never read [INFO] [stdout] --> src/xcsp_xml/variable_array.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct VariableArray { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 91 | #[serde(rename = "@startIndex", default)] [INFO] [stdout] 92 | pub start_index: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | #[serde(rename = "@note", default)] [INFO] [stdout] 94 | pub note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableArray` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/constraints/xconstraint_set.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn iter(&self) -> Iter<'_, XConstraintType> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | pub fn iter(&self) -> Iter<'_, XConstraintType<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data_structs/expression_tree.rs:307:33 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn first_order_iter(&self) -> ExpressionFirstOrderIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 307 | pub fn first_order_iter(&self) -> ExpressionFirstOrderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objectives/xobjectives_set.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter(&self) -> Iter<'_, XObjectivesType> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter(&self) -> Iter<'_, XObjectivesType<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/variables/xdomain.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn iter(&self) -> XDomainIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 428 | pub fn iter(&self) -> XDomainIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xcsp3-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `note`, and `type` are never read [INFO] [stdout] --> src/xcsp_xml/constraint_block.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ConstraintBlock { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 71 | #[serde(rename = "@id", default)] [INFO] [stdout] 72 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | #[serde(rename = "@note", default)] [INFO] [stdout] 74 | pub note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | #[serde(rename = "@class", default)] [INFO] [stdout] 76 | pub r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstraintBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `class` and `id` are never read [INFO] [stdout] --> src/xcsp_xml/constraint_group.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ConstraintGroup { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 65 | #[serde(rename = "@class", default)] [INFO] [stdout] 66 | pub class: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 67 | #[serde(rename = "@id", default)] [INFO] [stdout] 68 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstraintGroup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vars` is never read [INFO] [stdout] --> src/xcsp_xml/constraint_type.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 204 | Circuit { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 205 | #[serde(rename = "$value")] [INFO] [stdout] 206 | vars: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstraintType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/xcsp_xml/objective.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct MaximizeMinimize { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 78 | #[serde(rename = "id", default)] [INFO] [stdout] 79 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaximizeMinimize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `start_index`, and `note` are never read [INFO] [stdout] --> src/xcsp_xml/variable_array.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct VariableArray { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 91 | #[serde(rename = "@startIndex", default)] [INFO] [stdout] 92 | pub start_index: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | #[serde(rename = "@note", default)] [INFO] [stdout] 94 | pub note: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableArray` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/constraints/xconstraint_set.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn iter(&self) -> Iter<'_, XConstraintType> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | pub fn iter(&self) -> Iter<'_, XConstraintType<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data_structs/expression_tree.rs:307:33 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn first_order_iter(&self) -> ExpressionFirstOrderIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 307 | pub fn first_order_iter(&self) -> ExpressionFirstOrderIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objectives/xobjectives_set.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter(&self) -> Iter<'_, XObjectivesType> { [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter(&self) -> Iter<'_, XObjectivesType<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/variables/xdomain.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn iter(&self) -> XDomainIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 428 | pub fn iter(&self) -> XDomainIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "0a878113440f5cc70a4f212708c3e411a28e55c4caad693a415aa4c2b67aa6e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a878113440f5cc70a4f212708c3e411a28e55c4caad693a415aa4c2b67aa6e2", kill_on_drop: false }` [INFO] [stdout] 0a878113440f5cc70a4f212708c3e411a28e55c4caad693a415aa4c2b67aa6e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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", kill_on_drop: false }` [INFO] [stdout] 197792801d66d1bb04f7067e0b8437f38bb5a24fe10b3dfa1c055e0dd6d6a0db [INFO] running `Command { std: "docker" "start" "-a" "197792801d66d1bb04f7067e0b8437f38bb5a24fe10b3dfa1c055e0dd6d6a0db", kill_on_drop: false }` [INFO] [stderr] warning: fields `id`, `note`, and `type` are never read [INFO] [stderr] --> src/xcsp_xml/constraint_block.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 70 | pub struct ConstraintBlock { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 71 | #[serde(rename = "@id", default)] [INFO] [stderr] 72 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 73 | #[serde(rename = "@note", default)] [INFO] [stderr] 74 | pub note: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 75 | #[serde(rename = "@class", default)] [INFO] [stderr] 76 | pub r#type: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConstraintBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `class` and `id` are never read [INFO] [stderr] --> src/xcsp_xml/constraint_group.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct ConstraintGroup { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 65 | #[serde(rename = "@class", default)] [INFO] [stderr] 66 | pub class: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 67 | #[serde(rename = "@id", default)] [INFO] [stderr] 68 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConstraintGroup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `vars` is never read [INFO] [stderr] --> src/xcsp_xml/constraint_type.rs:206:13 [INFO] [stderr] | [INFO] [stderr] 204 | Circuit { [INFO] [stderr] | ------- field in this variant [INFO] [stderr] 205 | #[serde(rename = "$value")] [INFO] [stderr] 206 | vars: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConstraintType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/xcsp_xml/objective.rs:79:13 [INFO] [stderr] | [INFO] [stderr] 77 | pub struct MaximizeMinimize { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 78 | #[serde(rename = "id", default)] [INFO] [stderr] 79 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `MaximizeMinimize` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `type_`, `start_index`, and `note` are never read [INFO] [stderr] --> src/xcsp_xml/variable_array.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 86 | pub struct VariableArray { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 90 | pub type_: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 91 | #[serde(rename = "@startIndex", default)] [INFO] [stderr] 92 | pub start_index: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 93 | #[serde(rename = "@note", default)] [INFO] [stderr] 94 | pub note: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VariableArray` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/constraints/xconstraint_set.rs:220:21 [INFO] [stderr] | [INFO] [stderr] 220 | pub fn iter(&self) -> Iter<'_, XConstraintType> { [INFO] [stderr] | ^^^^^ ^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 220 | pub fn iter(&self) -> Iter<'_, XConstraintType<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/data_structs/expression_tree.rs:307:33 [INFO] [stderr] | [INFO] [stderr] 307 | pub fn first_order_iter(&self) -> ExpressionFirstOrderIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 307 | pub fn first_order_iter(&self) -> ExpressionFirstOrderIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/objectives/xobjectives_set.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn iter(&self) -> Iter<'_, XObjectivesType> { [INFO] [stderr] | ^^^^^ ^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 119 | pub fn iter(&self) -> Iter<'_, XObjectivesType<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/variables/xdomain.rs:428:21 [INFO] [stderr] | [INFO] [stderr] 428 | pub fn iter(&self) -> XDomainIter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 428 | pub fn iter(&self) -> XDomainIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `xcsp3-rust` (lib) generated 9 warnings (run `cargo fix --lib -p xcsp3-rust` to apply 4 suggestions) [INFO] [stderr] warning: `xcsp3-rust` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xcsp3_rust-45efc2a2d63e9765) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests xcsp3_rust [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/xcsp_xml/constraint_type.rs - xcsp_xml::constraint_type::xcsp3_xml::ConstraintType::Group (line 51) ... FAILED [INFO] [stdout] test src/xcsp_xml/variable_array.rs - xcsp_xml::variable_array::xcsp3_xml::VariableArray (line 45) ... FAILED [INFO] [stdout] test src/xcsp_xml/constraint_type.rs - xcsp_xml::constraint_type::xcsp3_xml::ConstraintType::Group (line 59) ... FAILED [INFO] [stdout] test src/lib.rs - (line 58) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/xcsp_xml/constraint_type.rs - xcsp_xml::constraint_type::xcsp3_xml::ConstraintType::Group (line 51) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/constraint_type.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 2 | ```xml [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 2 - ```xml [INFO] [stdout] 2 + '''xml [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `.` [INFO] [stdout] --> src/xcsp_xml/constraint_type.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 1 | syntax. [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/xcsp_xml/variable_array.rs - xcsp_xml::variable_array::xcsp3_xml::VariableArray (line 45) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/variable_array.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 2 | ```xml [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 2 - ```xml [INFO] [stdout] 2 + '''xml [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/variable_array.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 6 | ``` [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 6 - ``` [INFO] [stdout] 6 + ''' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/variable_array.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 9 | ```xml [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 9 - ```xml [INFO] [stdout] 9 + '''xml [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/variable_array.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 12 | ``` [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 12 - ``` [INFO] [stdout] 12 + ''' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/variable_array.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 16 | ```xml [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 16 - ```xml [INFO] [stdout] 16 + '''xml [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/variable_array.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 21 | ``` [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 21 - ``` [INFO] [stdout] 21 + ''' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/variable_array.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 24 | ```xml [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 24 - ```xml [INFO] [stdout] 24 + '''xml [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `.` [INFO] [stdout] --> src/xcsp_xml/variable_array.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 1 | syntax. [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/xcsp_xml/constraint_type.rs - xcsp_xml::constraint_type::xcsp3_xml::ConstraintType::Group (line 59) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/constraint_type.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 2 | ```xml [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 2 - ```xml [INFO] [stdout] 2 + '''xml [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/constraint_type.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 9 | ``` [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 9 - ``` [INFO] [stdout] 9 + ''' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/constraint_type.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 12 | ```xml [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 12 - ```xml [INFO] [stdout] 12 + '''xml [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/xcsp_xml/constraint_type.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 24 | ``` [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 24 - ``` [INFO] [stdout] 24 + ''' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `.` [INFO] [stdout] --> src/xcsp_xml/constraint_type.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 1 | eg. [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 58) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XcspXmlModel` [INFO] [stdout] --> src/lib.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 5 | let model = XcspXmlModel::from_path(xml_file).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `XcspXmlModel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::xcsp_xml::xcsp_xml_model::xcsp3_xml::XcspXmlModel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XVariableType` [INFO] [stdout] --> src/lib.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 11 | XVariableType::XVariableNone(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `XVariableType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::variables::xvariable_type::xcsp3_core::XVariableType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XVariableType` [INFO] [stdout] --> src/lib.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 12 | XVariableType::XVariableArray(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `XVariableType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::variables::xvariable_type::xcsp3_core::XVariableType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XVariableType` [INFO] [stdout] --> src/lib.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 13 | XVariableType::XVariableInt(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `XVariableType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::variables::xvariable_type::xcsp3_core::XVariableType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XVariableType` [INFO] [stdout] --> src/lib.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 14 | XVariableType::XVariableTree(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `XVariableType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::variables::xvariable_type::xcsp3_core::XVariableType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 21 | XConstraintType::XConstraintNone(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 22 | XConstraintType::XExtension(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 23 | XConstraintType::XAllDifferent(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 24 | XConstraintType::XAllDifferentExcept(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 25 | XConstraintType::XInstantiation(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 26 | XConstraintType::XAllEqual(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 27 | XConstraintType::XOrdered(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 28 | XConstraintType::XRegular(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 29 | XConstraintType::XMdd(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 30 | XConstraintType::XIntention(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 31 | XConstraintType::XGroup(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 32 | XConstraintType::XSum(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 33 | XConstraintType::XMaximum(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 34 | XConstraintType::XMinimum(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 35 | XConstraintType::XElement(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 36 | XConstraintType::XSlide(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 37 | XConstraintType::XCount(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 38 | XConstraintType::XNValues(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 39 | XConstraintType::XCardinality(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 40 | XConstraintType::XChannel(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 41 | XConstraintType::XCumulative(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 42 | XConstraintType::XNoOverlap(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XConstraintType` [INFO] [stdout] --> src/lib.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 43 | XConstraintType::XStretch(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XConstraintType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::constraints::xconstraint_type::xcsp3_core::XConstraintType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XObjectivesType` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 50 | XObjectivesType::XObjectiveNone(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XObjectivesType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::objectives::xobjectives_type::xcsp3_core::XObjectivesType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XObjectivesType` [INFO] [stdout] --> src/lib.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 51 | XObjectivesType::Minimize(e) => match e { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XObjectivesType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::objectives::xobjectives_type::xcsp3_core::XObjectivesType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XObjective` [INFO] [stdout] --> src/lib.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 52 | XObjective::XObjectiveElement(_) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `XObjective` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::objectives::xobjectives_type::xcsp3_core::XObjective; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XObjective` [INFO] [stdout] --> src/lib.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 53 | XObjective::XObjectiveExpression(_) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `XObjective` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::objectives::xobjectives_type::xcsp3_core::XObjective; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XObjectivesType` [INFO] [stdout] --> src/lib.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 55 | XObjectivesType::Maximize(e) => match e { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `XObjectivesType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::objectives::xobjectives_type::xcsp3_core::XObjectivesType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XObjective` [INFO] [stdout] --> src/lib.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 56 | XObjective::XObjectiveElement(_) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `XObjective` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::objectives::xobjectives_type::xcsp3_core::XObjective; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `XObjective` [INFO] [stdout] --> src/lib.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 57 | XObjective::XObjectiveExpression(_) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `XObjective` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use xcsp3_rust::objectives::xobjectives_type::xcsp3_core::XObjective; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 58) [INFO] [stdout] src/xcsp_xml/constraint_type.rs - xcsp_xml::constraint_type::xcsp3_xml::ConstraintType::Group (line 51) [INFO] [stdout] src/xcsp_xml/constraint_type.rs - xcsp_xml::constraint_type::xcsp3_xml::ConstraintType::Group (line 59) [INFO] [stdout] src/xcsp_xml/variable_array.rs - xcsp_xml::variable_array::xcsp3_xml::VariableArray (line 45) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "197792801d66d1bb04f7067e0b8437f38bb5a24fe10b3dfa1c055e0dd6d6a0db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "197792801d66d1bb04f7067e0b8437f38bb5a24fe10b3dfa1c055e0dd6d6a0db", kill_on_drop: false }` [INFO] [stdout] 197792801d66d1bb04f7067e0b8437f38bb5a24fe10b3dfa1c055e0dd6d6a0db