[INFO] cloning repository https://github.com/sjrsjz/Simple-Constraint-System [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sjrsjz/Simple-Constraint-System" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjrsjz%2FSimple-Constraint-System", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjrsjz%2FSimple-Constraint-System'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09821b77cd1f08b5d711403f7cdf003fa07e2ad2 [INFO] checking sjrsjz/Simple-Constraint-System against try#579169d0e78824dc60934e5eb74cd3841f2b33e8 for pr-149328 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjrsjz%2FSimple-Constraint-System" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sjrsjz/Simple-Constraint-System [INFO] finished tweaking git repo https://github.com/sjrsjz/Simple-Constraint-System [INFO] tweaked toml for git repo https://github.com/sjrsjz/Simple-Constraint-System written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sjrsjz/Simple-Constraint-System on toolchain 579169d0e78824dc60934e5eb74cd3841f2b33e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sjrsjz/Simple-Constraint-System already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dda08c24e439f9e1342a329cd3a1b06676d68b1ff9a9c46b2ad7dc3cd5780845 [INFO] running `Command { std: "docker" "start" "-a" "dda08c24e439f9e1342a329cd3a1b06676d68b1ff9a9c46b2ad7dc3cd5780845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dda08c24e439f9e1342a329cd3a1b06676d68b1ff9a9c46b2ad7dc3cd5780845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dda08c24e439f9e1342a329cd3a1b06676d68b1ff9a9c46b2ad7dc3cd5780845", kill_on_drop: false }` [INFO] [stdout] dda08c24e439f9e1342a329cd3a1b06676d68b1ff9a9c46b2ad7dc3cd5780845 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+579169d0e78824dc60934e5eb74cd3841f2b33e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 886b4d696b353ac89a259803b85173c790ebafffc2303b359e446f338abdcf97 [INFO] running `Command { std: "docker" "start" "-a" "886b4d696b353ac89a259803b85173c790ebafffc2303b359e446f338abdcf97", kill_on_drop: false }` [INFO] [stderr] Checking constraint-system v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `AtomicConstraint` is never used [INFO] [stdout] --> src/constraint.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AtomicConstraint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConstraintNode` is never used [INFO] [stdout] --> src/constraint.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum ConstraintNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constraint` is never constructed [INFO] [stdout] --> src/constraint.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Constraint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_node`, `get_node`, and `entry` are never used [INFO] [stdout] --> src/constraint.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Constraint { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 86 | pub fn new(entry: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn add_node(&mut self, name: String, node: ConstraintNode) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_node(&self, name: &str) -> Option<&ConstraintNode> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn entry(&self) -> &String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `super_of`, `refine`, `check_subsumption`, and `check_subsumption_inner` are never used [INFO] [stdout] --> src/constraint.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Constraint { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 114 | pub fn super_of(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn refine(&self, v: &Self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn check_subsumption( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn check_subsumption_inner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrettyFormatter` is never constructed [INFO] [stdout] --> src/constraint.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | struct PrettyFormatter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `format_node` are never used [INFO] [stdout] --> src/constraint.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 304 | impl<'a> PrettyFormatter<'a> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 305 | fn new(constraint: &'a Constraint) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | fn format_node(&mut self, f: &mut fmt::Formatter<'_>, node: &ConstraintNode) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F` is never constructed [INFO] [stdout] --> src/constraint.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum ConstraintNode { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 35 | T, // 顶点约束,表示任意值 [INFO] [stdout] 36 | F, // 假约束,表示不可能的值 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `ConstraintNode` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `refine` is never used [INFO] [stdout] --> src/constraint.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Constraint { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn refine(&self, v: &Self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "886b4d696b353ac89a259803b85173c790ebafffc2303b359e446f338abdcf97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "886b4d696b353ac89a259803b85173c790ebafffc2303b359e446f338abdcf97", kill_on_drop: false }` [INFO] [stdout] 886b4d696b353ac89a259803b85173c790ebafffc2303b359e446f338abdcf97