[INFO] fetching crate xcsp3-rust 0.1.0... [INFO] checking xcsp3-rust-0.1.0 against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] extracting crate xcsp3-rust 0.1.0 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xcsp3-rust 0.1.0 on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "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" "+ca77504943887037504c7fc0b9bf06dab3910373" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding quick-xml v0.29.0 (available: v0.38.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e8e24ad61f8e9a015ed449846a72411361db44e5b29401ce22fd9c74bdcd97c [INFO] running `Command { std: "docker" "start" "-a" "1e8e24ad61f8e9a015ed449846a72411361db44e5b29401ce22fd9c74bdcd97c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e8e24ad61f8e9a015ed449846a72411361db44e5b29401ce22fd9c74bdcd97c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8e24ad61f8e9a015ed449846a72411361db44e5b29401ce22fd9c74bdcd97c", kill_on_drop: false }` [INFO] [stdout] 1e8e24ad61f8e9a015ed449846a72411361db44e5b29401ce22fd9c74bdcd97c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9081a64cc5a8508b4ca8a28754f0aa952b249b5de65679e780859d9bcd7eaba [INFO] running `Command { std: "docker" "start" "-a" "f9081a64cc5a8508b4ca8a28754f0aa952b249b5de65679e780859d9bcd7eaba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking quick-xml v0.29.0 [INFO] [stderr] Checking 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)]` 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] [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)]` 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 15.07s [INFO] running `Command { std: "docker" "inspect" "f9081a64cc5a8508b4ca8a28754f0aa952b249b5de65679e780859d9bcd7eaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9081a64cc5a8508b4ca8a28754f0aa952b249b5de65679e780859d9bcd7eaba", kill_on_drop: false }` [INFO] [stdout] f9081a64cc5a8508b4ca8a28754f0aa952b249b5de65679e780859d9bcd7eaba