[INFO] cloning repository https://github.com/matthew-mcallister/pbqp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthew-mcallister/pbqp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthew-mcallister%2Fpbqp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthew-mcallister%2Fpbqp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2eba08931ba94be5cc3db3d0562984f3c5a5f6e3 [INFO] testing matthew-mcallister/pbqp against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthew-mcallister%2Fpbqp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matthew-mcallister/pbqp [INFO] finished tweaking git repo https://github.com/matthew-mcallister/pbqp [INFO] tweaked toml for git repo https://github.com/matthew-mcallister/pbqp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matthew-mcallister/pbqp 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] crate git repo https://github.com/matthew-mcallister/pbqp 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] eedd473fbc137647f4c6a1ecb59fea44945afd3bf9ff6a6f0d67ac8e2f16504f [INFO] running `Command { std: "docker" "start" "-a" "eedd473fbc137647f4c6a1ecb59fea44945afd3bf9ff6a6f0d67ac8e2f16504f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eedd473fbc137647f4c6a1ecb59fea44945afd3bf9ff6a6f0d67ac8e2f16504f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eedd473fbc137647f4c6a1ecb59fea44945afd3bf9ff6a6f0d67ac8e2f16504f", kill_on_drop: false }` [INFO] [stdout] eedd473fbc137647f4c6a1ecb59fea44945afd3bf9ff6a6f0d67ac8e2f16504f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 48a60d66de596d9bd1c528c7ebe48e5b796c95744155417ab333312ef6c0ee9a [INFO] running `Command { std: "docker" "start" "-a" "48a60d66de596d9bd1c528c7ebe48e5b796c95744155417ab333312ef6c0ee9a", kill_on_drop: false }` [INFO] [stderr] Compiling pbqp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/arena.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Id { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 8 | fn new(index: u32, generation: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `put` is never used [INFO] [stdout] --> src/arena.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Entry { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | fn put(&mut self, value: T) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `len` and `free_head` are never read [INFO] [stdout] --> src/arena.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Arena { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 103 | // Number of elements/occupied entries [INFO] [stdout] 104 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | free_head: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `is_empty`, `insert`, `remove`, and `clear` are never used [INFO] [stdout] --> src/arena.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Arena { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 128 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn insert(&mut self, value: T) -> Id { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove(&mut self, id: Id) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lower_bound`, `index`, `color`, and `skiplist` are never read [INFO] [stdout] --> src/solver.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 237 | struct Instance { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 238 | // Lower bound on solving the subproblem [INFO] [stdout] 239 | lower_bound: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 240 | // Index of node that was visited (i.e. the parent index + 1) [INFO] [stdout] 241 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 242 | // Color that was chosen [INFO] [stdout] 243 | color: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | skiplist: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instance` 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 `instances` is never read [INFO] [stdout] --> src/solver.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | struct SearchTree { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 252 | instances: Arena, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_ancestor` and `insert` are never used [INFO] [stdout] --> src/solver.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 255 | impl SearchTree { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 258 | fn find_ancestor(&self, instance_id: Id, target_index: u32) -> Id { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn insert(&mut self, mut instance: Instance, parent: Id) -> Id { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `problem`, `global_lower_bound`, `best_solution`, `solution_lower_bound`, and `search_tree` are never read [INFO] [stdout] --> src/solver.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct Solver { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 294 | problem: Problem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 295 | global_lower_bound: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | best_solution: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 297 | solution_lower_bound: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 298 | search_tree: SearchTree, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Solver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "48a60d66de596d9bd1c528c7ebe48e5b796c95744155417ab333312ef6c0ee9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a60d66de596d9bd1c528c7ebe48e5b796c95744155417ab333312ef6c0ee9a", kill_on_drop: false }` [INFO] [stdout] 48a60d66de596d9bd1c528c7ebe48e5b796c95744155417ab333312ef6c0ee9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9cbec4777a7dd728f0f1dc7a73600bc8d3a45655928b0cff620c18256390c547 [INFO] running `Command { std: "docker" "start" "-a" "9cbec4777a7dd728f0f1dc7a73600bc8d3a45655928b0cff620c18256390c547", kill_on_drop: false }` [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/arena.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Id { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 8 | fn new(index: u32, generation: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `put` is never used [INFO] [stdout] --> src/arena.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Entry { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | fn put(&mut self, value: T) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `len` and `free_head` are never read [INFO] [stdout] --> src/arena.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Arena { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 103 | // Number of elements/occupied entries [INFO] [stdout] 104 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | free_head: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `is_empty`, `insert`, `remove`, and `clear` are never used [INFO] [stdout] --> src/arena.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Arena { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 128 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn insert(&mut self, value: T) -> Id { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn remove(&mut self, id: Id) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lower_bound`, `index`, `color`, and `skiplist` are never read [INFO] [stdout] --> src/solver.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 237 | struct Instance { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 238 | // Lower bound on solving the subproblem [INFO] [stdout] 239 | lower_bound: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 240 | // Index of node that was visited (i.e. the parent index + 1) [INFO] [stdout] 241 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 242 | // Color that was chosen [INFO] [stdout] 243 | color: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | skiplist: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instance` 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 `instances` is never read [INFO] [stdout] --> src/solver.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | struct SearchTree { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 252 | instances: Arena, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_ancestor` and `insert` are never used [INFO] [stdout] --> src/solver.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 255 | impl SearchTree { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 258 | fn find_ancestor(&self, instance_id: Id, target_index: u32) -> Id { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn insert(&mut self, mut instance: Instance, parent: Id) -> Id { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `problem`, `global_lower_bound`, `best_solution`, `solution_lower_bound`, and `search_tree` are never read [INFO] [stdout] --> src/solver.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct Solver { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 294 | problem: Problem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 295 | global_lower_bound: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | best_solution: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 297 | solution_lower_bound: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 298 | search_tree: SearchTree, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Solver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pbqp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new` and `is_empty` are never used [INFO] [stdout] --> src/arena.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Arena { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 128 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lower_bound`, `index`, `color`, and `skiplist` are never read [INFO] [stdout] --> src/solver.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 237 | struct Instance { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 238 | // Lower bound on solving the subproblem [INFO] [stdout] 239 | lower_bound: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 240 | // Index of node that was visited (i.e. the parent index + 1) [INFO] [stdout] 241 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 242 | // Color that was chosen [INFO] [stdout] 243 | color: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | skiplist: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instance` 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 `instances` is never read [INFO] [stdout] --> src/solver.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | struct SearchTree { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 252 | instances: Arena, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SearchTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_ancestor` and `insert` are never used [INFO] [stdout] --> src/solver.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 255 | impl SearchTree { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 258 | fn find_ancestor(&self, instance_id: Id, target_index: u32) -> Id { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | fn insert(&mut self, mut instance: Instance, parent: Id) -> Id { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `problem`, `global_lower_bound`, `best_solution`, `solution_lower_bound`, and `search_tree` are never read [INFO] [stdout] --> src/solver.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct Solver { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 294 | problem: Problem, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 295 | global_lower_bound: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | best_solution: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 297 | solution_lower_bound: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 298 | search_tree: SearchTree, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Solver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "9cbec4777a7dd728f0f1dc7a73600bc8d3a45655928b0cff620c18256390c547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cbec4777a7dd728f0f1dc7a73600bc8d3a45655928b0cff620c18256390c547", kill_on_drop: false }` [INFO] [stdout] 9cbec4777a7dd728f0f1dc7a73600bc8d3a45655928b0cff620c18256390c547 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0fa3fe721f78953f0538b49d68e87cc154d48126142527d4967d18f7d3d391c3 [INFO] running `Command { std: "docker" "start" "-a" "0fa3fe721f78953f0538b49d68e87cc154d48126142527d4967d18f7d3d391c3", kill_on_drop: false }` [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/arena.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 7 | impl Id { [INFO] [stderr] | ------- associated function in this implementation [INFO] [stderr] 8 | fn new(index: u32, generation: u32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `put` is never used [INFO] [stderr] --> src/arena.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 44 | impl Entry { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 83 | fn put(&mut self, value: T) -> u32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `len` and `free_head` are never read [INFO] [stderr] --> src/arena.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 102 | pub struct Arena { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 103 | // Number of elements/occupied entries [INFO] [stderr] 104 | len: usize, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | free_head: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `len`, `is_empty`, `insert`, `remove`, and `clear` are never used [INFO] [stderr] --> src/arena.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 127 | impl Arena { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 128 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 132 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 140 | pub fn insert(&mut self, value: T) -> Id { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 161 | pub fn remove(&mut self, id: Id) -> Option { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 194 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `lower_bound`, `index`, `color`, and `skiplist` are never read [INFO] [stderr] --> src/solver.rs:239:5 [INFO] [stderr] | [INFO] [stderr] 237 | struct Instance { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 238 | // Lower bound on solving the subproblem [INFO] [stderr] 239 | lower_bound: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 240 | // Index of node that was visited (i.e. the parent index + 1) [INFO] [stderr] 241 | index: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 242 | // Color that was chosen [INFO] [stderr] 243 | color: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 247 | skiplist: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Instance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `instances` is never read [INFO] [stderr] --> src/solver.rs:252:5 [INFO] [stderr] | [INFO] [stderr] 251 | struct SearchTree { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 252 | instances: Arena, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SearchTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `find_ancestor` and `insert` are never used [INFO] [stderr] --> src/solver.rs:258:8 [INFO] [stderr] | [INFO] [stderr] 255 | impl SearchTree { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 258 | fn find_ancestor(&self, instance_id: Id, target_index: u32) -> Id { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 277 | fn insert(&mut self, mut instance: Instance, parent: Id) -> Id { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `problem`, `global_lower_bound`, `best_solution`, `solution_lower_bound`, and `search_tree` are never read [INFO] [stderr] --> src/solver.rs:294:5 [INFO] [stderr] | [INFO] [stderr] 293 | pub struct Solver { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 294 | problem: Problem, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 295 | global_lower_bound: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 296 | best_solution: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 297 | solution_lower_bound: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 298 | search_tree: SearchTree, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Solver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `pbqp` (lib) generated 8 warnings [INFO] [stderr] warning: associated items `new` and `is_empty` are never used [INFO] [stderr] --> src/arena.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 127 | impl Arena { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 128 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `pbqp` (lib test) generated 5 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pbqp-71f29f7fce1549a1) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test arena::tests::test_insert_get_delete ... ok [INFO] [stdout] test solver::tests::test_greedy_solution ... ok [INFO] [stdout] test arena::tests::test_iteration ... ok [INFO] [stdout] test arena::tests::test_destructor ... ok [INFO] [stdout] test arena::tests::test_clear ... ok [INFO] [stdout] test arena::tests::test_invalid_index_panics - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests pbqp [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] running `Command { std: "docker" "inspect" "0fa3fe721f78953f0538b49d68e87cc154d48126142527d4967d18f7d3d391c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fa3fe721f78953f0538b49d68e87cc154d48126142527d4967d18f7d3d391c3", kill_on_drop: false }` [INFO] [stdout] 0fa3fe721f78953f0538b49d68e87cc154d48126142527d4967d18f7d3d391c3