[INFO] cloning repository https://github.com/keeslinp/decision_tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keeslinp/decision_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeeslinp%2Fdecision_tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeeslinp%2Fdecision_tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b4d8633cf8d7560525c874ade61eb67b1e8e651 [INFO] checking keeslinp/decision_tree against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeeslinp%2Fdecision_tree" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/keeslinp/decision_tree [INFO] finished tweaking git repo https://github.com/keeslinp/decision_tree [INFO] tweaked toml for git repo https://github.com/keeslinp/decision_tree written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/keeslinp/decision_tree on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/keeslinp/decision_tree 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 797693b622e5805f66234a8ab739ee0b8dd78d7bcdc1c0577d72455615ff9bd6 [INFO] running `Command { std: "docker" "start" "-a" "797693b622e5805f66234a8ab739ee0b8dd78d7bcdc1c0577d72455615ff9bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "797693b622e5805f66234a8ab739ee0b8dd78d7bcdc1c0577d72455615ff9bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "797693b622e5805f66234a8ab739ee0b8dd78d7bcdc1c0577d72455615ff9bd6", kill_on_drop: false }` [INFO] [stdout] 797693b622e5805f66234a8ab739ee0b8dd78d7bcdc1c0577d72455615ff9bd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 852a6b3f5f9717660e6e3cfc332bd0b5c5e80af0593e8d77ee404ea737298e55 [INFO] running `Command { std: "docker" "start" "-a" "852a6b3f5f9717660e6e3cfc332bd0b5c5e80af0593e8d77ee404ea737298e55", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking either v1.5.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking decision_tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `test_accuracy` [INFO] [stdout] --> src/decision.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let test_accuracy = self.test_set(training); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_accuracy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_accuracy` [INFO] [stdout] --> src/decision.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let test_accuracy = self.test_set(training); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_accuracy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count_pruned_nodes` is never used [INFO] [stdout] --> src/decision.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl DecisionTree { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn count_pruned_nodes(&self) -> usize { [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 `count_pruned_nodes` is never used [INFO] [stdout] --> src/decision.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl DecisionTree { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn count_pruned_nodes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Arff::parse(&fs::read_to_string(file).expect("file not found")).expect("parse failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/arff.rs:25:61 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse(contents: &str) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 26 | | lazy_static! { [INFO] [stdout] 27 | | static ref ATTRIBUTE: Regex = RegexBuilder::new(r"^@attribute\s+(\S+).*") [INFO] [stdout] 28 | | .case_insensitive(true) [INFO] [stdout] ... | [INFO] [stdout] 107 | | }) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/arff.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / Ok(Self { [INFO] [stdout] 104 | | records, [INFO] [stdout] 105 | | labels, [INFO] [stdout] 106 | | classes, [INFO] [stdout] 107 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Arff::parse(&fs::read_to_string(file).expect("file not found")).expect("parse failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/arff.rs:25:61 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse(contents: &str) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 26 | | lazy_static! { [INFO] [stdout] 27 | | static ref ATTRIBUTE: Regex = RegexBuilder::new(r"^@attribute\s+(\S+).*") [INFO] [stdout] 28 | | .case_insensitive(true) [INFO] [stdout] ... | [INFO] [stdout] 107 | | }) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/arff.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / Ok(Self { [INFO] [stdout] 104 | | records, [INFO] [stdout] 105 | | labels, [INFO] [stdout] 106 | | classes, [INFO] [stdout] 107 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `decision_tree` (bin "decision_tree" test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `decision_tree` (bin "decision_tree") due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "852a6b3f5f9717660e6e3cfc332bd0b5c5e80af0593e8d77ee404ea737298e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "852a6b3f5f9717660e6e3cfc332bd0b5c5e80af0593e8d77ee404ea737298e55", kill_on_drop: false }` [INFO] [stdout] 852a6b3f5f9717660e6e3cfc332bd0b5c5e80af0593e8d77ee404ea737298e55