[INFO] fetching crate quarkrs 0.1.1... [INFO] testing quarkrs-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate quarkrs 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate quarkrs 0.1.1 [INFO] finished tweaking crates.io crate quarkrs 0.1.1 [INFO] tweaked toml for crates.io crate quarkrs 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate quarkrs 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e0e5eff1f9d38cd33f7c6f488cdd400a17b6a69d8879f4575bc141779f2f668 [INFO] running `Command { std: "docker" "start" "-a" "1e0e5eff1f9d38cd33f7c6f488cdd400a17b6a69d8879f4575bc141779f2f668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e0e5eff1f9d38cd33f7c6f488cdd400a17b6a69d8879f4575bc141779f2f668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0e5eff1f9d38cd33f7c6f488cdd400a17b6a69d8879f4575bc141779f2f668", kill_on_drop: false }` [INFO] [stdout] 1e0e5eff1f9d38cd33f7c6f488cdd400a17b6a69d8879f4575bc141779f2f668 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9f2754e769154a4d547ed0ee32e0d1fc4c8181960e11e1fac84935d13b6bd71 [INFO] running `Command { std: "docker" "start" "-a" "b9f2754e769154a4d547ed0ee32e0d1fc4c8181960e11e1fac84935d13b6bd71", kill_on_drop: false }` [INFO] [stderr] Compiling quarkrs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/structures/graph.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_node(&self, val: T){todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/structures/graph.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insert(&mut self, value: T, parent: T) {todo!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/structures/graph.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insert(&mut self, value: T, parent: T) {todo!()} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link_a` [INFO] [stdout] --> src/structures/graph.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn add_undirected_arc(&self, link_a: T, link_b: T) {todo!()} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_link_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link_b` [INFO] [stdout] --> src/structures/graph.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn add_undirected_arc(&self, link_a: T, link_b: T) {todo!()} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_link_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/structures/graph.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn add_directed_arc(&self, from: T, to: T) {todo!()} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/structures/graph.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn add_directed_arc(&self, from: T, to: T) {todo!()} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/structures/graph.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn contains(&self, value: T) -> bool {todo!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/structures/graph.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn remove(&self, value: T) -> bool {todo!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old` [INFO] [stdout] --> src/structures/graph.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn update(&self, old: T, new: T) -> bool {todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new` [INFO] [stdout] --> src/structures/graph.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn update(&self, old: T, new: T) -> bool {todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `arcs` are never read [INFO] [stdout] --> src/structures/graph.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct GraphNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 4 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | arcs: Vec>> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_struct`, `add_arc`, and `get_node` are never used [INFO] [stdout] --> src/structures/graph.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl GraphNode { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(val: T) -> GraphNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn new_struct(val: T) -> ThreadData> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn add_arc(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_node(&self, val: T){todo!()} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/structures/graph.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UnweightedGraph { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 30 | entry: ThreadData>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_subtree` is never used [INFO] [stdout] --> src/structures/tree.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl TreeNode { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | fn add_subtree(&mut self, tree: TreeNode) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/structures/linked_list.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 9 | / impl ListNode [INFO] [stdout] 10 | | where T: Debug { [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | fn to_string(&self) -> String {format!("{:?}", self.value)} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "b9f2754e769154a4d547ed0ee32e0d1fc4c8181960e11e1fac84935d13b6bd71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9f2754e769154a4d547ed0ee32e0d1fc4c8181960e11e1fac84935d13b6bd71", kill_on_drop: false }` [INFO] [stdout] b9f2754e769154a4d547ed0ee32e0d1fc4c8181960e11e1fac84935d13b6bd71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1465309f25348e091f826c0224d325eabe52a380da506c651c90d1287f032b70 [INFO] running `Command { std: "docker" "start" "-a" "1465309f25348e091f826c0224d325eabe52a380da506c651c90d1287f032b70", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/structures/graph.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_node(&self, val: T){todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/structures/graph.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insert(&mut self, value: T, parent: T) {todo!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/structures/graph.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insert(&mut self, value: T, parent: T) {todo!()} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link_a` [INFO] [stdout] --> src/structures/graph.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn add_undirected_arc(&self, link_a: T, link_b: T) {todo!()} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_link_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link_b` [INFO] [stdout] --> src/structures/graph.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn add_undirected_arc(&self, link_a: T, link_b: T) {todo!()} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_link_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/structures/graph.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn add_directed_arc(&self, from: T, to: T) {todo!()} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/structures/graph.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn add_directed_arc(&self, from: T, to: T) {todo!()} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/structures/graph.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn contains(&self, value: T) -> bool {todo!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/structures/graph.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn remove(&self, value: T) -> bool {todo!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old` [INFO] [stdout] --> src/structures/graph.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn update(&self, old: T, new: T) -> bool {todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new` [INFO] [stdout] --> src/structures/graph.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn update(&self, old: T, new: T) -> bool {todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `arcs` are never read [INFO] [stdout] --> src/structures/graph.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct GraphNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 4 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | arcs: Vec>> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_struct`, `add_arc`, and `get_node` are never used [INFO] [stdout] --> src/structures/graph.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl GraphNode { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(val: T) -> GraphNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn new_struct(val: T) -> ThreadData> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn add_arc(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_node(&self, val: T){todo!()} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/structures/graph.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UnweightedGraph { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 30 | entry: ThreadData>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_subtree` is never used [INFO] [stdout] --> src/structures/tree.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl TreeNode { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | fn add_subtree(&mut self, tree: TreeNode) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/structures/linked_list.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 9 | / impl ListNode [INFO] [stdout] 10 | | where T: Debug { [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | fn to_string(&self) -> String {format!("{:?}", self.value)} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quarkrs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/structures/graph.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_node(&self, val: T){todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/structures/graph.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insert(&mut self, value: T, parent: T) {todo!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/structures/graph.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn insert(&mut self, value: T, parent: T) {todo!()} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link_a` [INFO] [stdout] --> src/structures/graph.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn add_undirected_arc(&self, link_a: T, link_b: T) {todo!()} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_link_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link_b` [INFO] [stdout] --> src/structures/graph.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn add_undirected_arc(&self, link_a: T, link_b: T) {todo!()} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_link_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/structures/graph.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn add_directed_arc(&self, from: T, to: T) {todo!()} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/structures/graph.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn add_directed_arc(&self, from: T, to: T) {todo!()} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/structures/graph.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn contains(&self, value: T) -> bool {todo!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/structures/graph.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn remove(&self, value: T) -> bool {todo!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old` [INFO] [stdout] --> src/structures/graph.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn update(&self, old: T, new: T) -> bool {todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new` [INFO] [stdout] --> src/structures/graph.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn update(&self, old: T, new: T) -> bool {todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `arcs` are never read [INFO] [stdout] --> src/structures/graph.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct GraphNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 4 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | arcs: Vec>> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_struct`, `add_arc`, and `get_node` are never used [INFO] [stdout] --> src/structures/graph.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl GraphNode { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(val: T) -> GraphNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn new_struct(val: T) -> ThreadData> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn add_arc(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_node(&self, val: T){todo!()} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/structures/graph.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UnweightedGraph { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 30 | entry: ThreadData>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_subtree` is never used [INFO] [stdout] --> src/structures/tree.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl TreeNode { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | fn add_subtree(&mut self, tree: TreeNode) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/structures/linked_list.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 9 | / impl ListNode [INFO] [stdout] 10 | | where T: Debug { [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | fn to_string(&self) -> String {format!("{:?}", self.value)} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "1465309f25348e091f826c0224d325eabe52a380da506c651c90d1287f032b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1465309f25348e091f826c0224d325eabe52a380da506c651c90d1287f032b70", kill_on_drop: false }` [INFO] [stdout] 1465309f25348e091f826c0224d325eabe52a380da506c651c90d1287f032b70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 257506f4dacc63b2153fdfa8c8130bcc7f3776a6a8926c5ddf53adb25d469b6f [INFO] running `Command { std: "docker" "start" "-a" "257506f4dacc63b2153fdfa8c8130bcc7f3776a6a8926c5ddf53adb25d469b6f", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/structures/graph.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn get_node(&self, val: T){todo!()} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/structures/graph.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn insert(&mut self, value: T, parent: T) {todo!()} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parent` [INFO] [stderr] --> src/structures/graph.rs:47:40 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn insert(&mut self, value: T, parent: T) {todo!()} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `link_a` [INFO] [stderr] --> src/structures/graph.rs:49:38 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn add_undirected_arc(&self, link_a: T, link_b: T) {todo!()} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_link_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `link_b` [INFO] [stderr] --> src/structures/graph.rs:49:49 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn add_undirected_arc(&self, link_a: T, link_b: T) {todo!()} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_link_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/structures/graph.rs:51:36 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn add_directed_arc(&self, from: T, to: T) {todo!()} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> src/structures/graph.rs:51:45 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn add_directed_arc(&self, from: T, to: T) {todo!()} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/structures/graph.rs:53:28 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn contains(&self, value: T) -> bool {todo!()} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/structures/graph.rs:55:26 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn remove(&self, value: T) -> bool {todo!()} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `old` [INFO] [stderr] --> src/structures/graph.rs:57:26 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn update(&self, old: T, new: T) -> bool {todo!()} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_old` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new` [INFO] [stderr] --> src/structures/graph.rs:57:34 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn update(&self, old: T, new: T) -> bool {todo!()} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stderr] [INFO] [stderr] warning: fields `value` and `arcs` are never read [INFO] [stderr] --> src/structures/graph.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 3 | struct GraphNode { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 4 | value: T, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 5 | arcs: Vec>> [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `new_struct`, `add_arc`, and `get_node` are never used [INFO] [stderr] --> src/structures/graph.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl GraphNode { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 9 | pub fn new(val: T) -> GraphNode { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | fn new_struct(val: T) -> ThreadData> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn add_arc(&mut self, val: T) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn get_node(&self, val: T){todo!()} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `entry` is never read [INFO] [stderr] --> src/structures/graph.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct UnweightedGraph { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 30 | entry: ThreadData>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `add_subtree` is never used [INFO] [stderr] --> src/structures/tree.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 19 | impl TreeNode { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | fn add_subtree(&mut self, tree: TreeNode) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `to_string` is never used [INFO] [stderr] --> src/structures/linked_list.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 9 | / impl ListNode [INFO] [stderr] 10 | | where T: Debug { [INFO] [stderr] | |__________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 35 | fn to_string(&self) -> String {format!("{:?}", self.value)} [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `quarkrs` (lib) generated 16 warnings [INFO] [stderr] warning: `quarkrs` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quarkrs-58036fef6ca40ca7) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test tests::linked_lists_tests::declaration ... ok [INFO] [stdout] test tests::linked_lists_tests::delete_index ... ok [INFO] [stdout] test tests::linked_lists_tests::insert_first ... ok [INFO] [stdout] test tests::linked_lists_tests::get_index ... ok [INFO] [stdout] test tests::linked_lists_tests::insert_last ... ok [INFO] [stdout] test tests::linked_lists_tests::delete_after ... ok [INFO] [stdout] test tests::linked_lists_tests::size ... ok [INFO] [stdout] test tests::search_tests::binary_search_find ... ok [INFO] [stdout] test tests::sort_tests::bubble_sort_ascending_test ... ok [INFO] [stdout] test tests::sort_tests::bubble_sort_decending_test ... ok [INFO] [stdout] test tests::search_tests::binary_search_fail ... ok [INFO] [stderr] Doc-tests quarkrs [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [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" "257506f4dacc63b2153fdfa8c8130bcc7f3776a6a8926c5ddf53adb25d469b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "257506f4dacc63b2153fdfa8c8130bcc7f3776a6a8926c5ddf53adb25d469b6f", kill_on_drop: false }` [INFO] [stdout] 257506f4dacc63b2153fdfa8c8130bcc7f3776a6a8926c5ddf53adb25d469b6f