[INFO] cloning repository https://github.com/CloneRob/iron_woods [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CloneRob/iron_woods" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloneRob%2Firon_woods", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloneRob%2Firon_woods'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d892a15c6b4292bb45efb6a830c8b6afd5fe4ea3 [INFO] testing CloneRob/iron_woods against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloneRob%2Firon_woods" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CloneRob/iron_woods [INFO] finished tweaking git repo https://github.com/CloneRob/iron_woods [INFO] tweaked toml for git repo https://github.com/CloneRob/iron_woods written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CloneRob/iron_woods on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CloneRob/iron_woods 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fef65340a608499bfa51ccd66074e8ca1a3e4e52536ed43c5d01ca1236b5d15a [INFO] running `Command { std: "docker" "start" "-a" "fef65340a608499bfa51ccd66074e8ca1a3e4e52536ed43c5d01ca1236b5d15a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fef65340a608499bfa51ccd66074e8ca1a3e4e52536ed43c5d01ca1236b5d15a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef65340a608499bfa51ccd66074e8ca1a3e4e52536ed43c5d01ca1236b5d15a", kill_on_drop: false }` [INFO] [stdout] fef65340a608499bfa51ccd66074e8ca1a3e4e52536ed43c5d01ca1236b5d15a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d9ec895b0e3a6a508cafab22542ff59bbc85fb5878ed5f9d258d91bb614b561a [INFO] running `Command { std: "docker" "start" "-a" "d9ec895b0e3a6a508cafab22542ff59bbc85fb5878ed5f9d258d91bb614b561a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling iron_woods v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/feature/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/feature/mod.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/feature/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Index`, `RangeFrom`, and `RangeTo` [INFO] [stdout] --> src/feature/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Index, RangeTo, RangeFrom}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/feature/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_index` [INFO] [stdout] --> src/decision_tree/mod.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | for (value_index, value) in feature.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/decision_tree/mod.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | fn build_tree(&mut self, dataset: &Dataset, depth: usize) -> DecisionTree { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/decision_tree/mod.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | fn argmin_cost(data: D) -> (f32, usize, Value) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root`, `min_split`, `min_impurity`, `max_depth`, `cost_fn`, and `leaf_fn` are never read [INFO] [stdout] --> src/decision_tree/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DecisionTree { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | root: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | min_split: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | min_impurity: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | max_depth: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | cost_fn: fn(&[f32]) -> f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | leaf_fn: fn() -> f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `build_tree` and `argmin_cost` are never used [INFO] [stdout] --> src/decision_tree/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl DecisionTree { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 30 | fn build_tree(&mut self, dataset: &Dataset, depth: usize) -> DecisionTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn argmin_cost(data: D) -> (f32, usize, Value) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | fn split_at_index(&self, index: usize) -> (Subset, Subset); [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 7 | fn split_at_index(&self, index: usize) -> (Subset<'_>, Subset<'_>); [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset, Subset); [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset<'_>, Subset<'_>); [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn split_at_index(&self, index: usize) -> (Subset, Subset) { [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | fn split_at_index(&self, index: usize) -> (Subset<'_>, Subset<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset, Subset) { [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset<'_>, Subset<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | fn split_at_index(&self, index: usize) -> (Subset, Subset) { [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 102 | fn split_at_index(&self, index: usize) -> (Subset<'_>, Subset<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset, Subset) { [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 132 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset<'_>, Subset<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "d9ec895b0e3a6a508cafab22542ff59bbc85fb5878ed5f9d258d91bb614b561a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ec895b0e3a6a508cafab22542ff59bbc85fb5878ed5f9d258d91bb614b561a", kill_on_drop: false }` [INFO] [stdout] d9ec895b0e3a6a508cafab22542ff59bbc85fb5878ed5f9d258d91bb614b561a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 506b23c6fcbee4bea68b2d791459f33e9a2617780935655aab93e5ce369d7ca8 [INFO] running `Command { std: "docker" "start" "-a" "506b23c6fcbee4bea68b2d791459f33e9a2617780935655aab93e5ce369d7ca8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling iron_woods v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/feature/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/feature/mod.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/feature/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Index`, `RangeFrom`, and `RangeTo` [INFO] [stdout] --> src/feature/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Index, RangeTo, RangeFrom}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/feature/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_index` [INFO] [stdout] --> src/decision_tree/mod.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | for (value_index, value) in feature.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/decision_tree/mod.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | fn build_tree(&mut self, dataset: &Dataset, depth: usize) -> DecisionTree { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/decision_tree/mod.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | fn argmin_cost(data: D) -> (f32, usize, Value) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root`, `min_split`, `min_impurity`, `max_depth`, `cost_fn`, and `leaf_fn` are never read [INFO] [stdout] --> src/decision_tree/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DecisionTree { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | root: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | min_split: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | min_impurity: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | max_depth: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | cost_fn: fn(&[f32]) -> f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | leaf_fn: fn() -> f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `build_tree` and `argmin_cost` are never used [INFO] [stdout] --> src/decision_tree/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl DecisionTree { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 30 | fn build_tree(&mut self, dataset: &Dataset, depth: usize) -> DecisionTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn argmin_cost(data: D) -> (f32, usize, Value) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | fn split_at_index(&self, index: usize) -> (Subset, Subset); [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 7 | fn split_at_index(&self, index: usize) -> (Subset<'_>, Subset<'_>); [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset, Subset); [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset<'_>, Subset<'_>); [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn split_at_index(&self, index: usize) -> (Subset, Subset) { [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | fn split_at_index(&self, index: usize) -> (Subset<'_>, Subset<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset, Subset) { [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset<'_>, Subset<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | fn split_at_index(&self, index: usize) -> (Subset, Subset) { [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 102 | fn split_at_index(&self, index: usize) -> (Subset<'_>, Subset<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data/mod.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset, Subset) { [INFO] [stdout] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 132 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset<'_>, Subset<'_>) { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "506b23c6fcbee4bea68b2d791459f33e9a2617780935655aab93e5ce369d7ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "506b23c6fcbee4bea68b2d791459f33e9a2617780935655aab93e5ce369d7ca8", kill_on_drop: false }` [INFO] [stdout] 506b23c6fcbee4bea68b2d791459f33e9a2617780935655aab93e5ce369d7ca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0a2054e3b51daceba9e64a114e1914dee05f920432fa6597c8020ba4f9b92289 [INFO] running `Command { std: "docker" "start" "-a" "0a2054e3b51daceba9e64a114e1914dee05f920432fa6597c8020ba4f9b92289", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp` [INFO] [stderr] --> src/feature/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Hasher` [INFO] [stderr] --> src/feature/mod.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use std::hash::{Hash, Hasher}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter::FromIterator` [INFO] [stderr] --> src/feature/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::iter::FromIterator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Index`, `RangeFrom`, and `RangeTo` [INFO] [stderr] --> src/feature/mod.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | use std::ops::{Index, RangeTo, RangeFrom}; [INFO] [stderr] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> src/feature/mod.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::{HashSet, HashMap}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value_index` [INFO] [stderr] --> src/decision_tree/mod.rs:33:18 [INFO] [stderr] | [INFO] [stderr] 33 | for (value_index, value) in feature.iter().enumerate() { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_index` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth` [INFO] [stderr] --> src/decision_tree/mod.rs:30:49 [INFO] [stderr] | [INFO] [stderr] 30 | fn build_tree(&mut self, dataset: &Dataset, depth: usize) -> DecisionTree { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/decision_tree/mod.rs:51:34 [INFO] [stderr] | [INFO] [stderr] 51 | fn argmin_cost(data: D) -> (f32, usize, Value) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: fields `root`, `min_split`, `min_impurity`, `max_depth`, `cost_fn`, and `leaf_fn` are never read [INFO] [stderr] --> src/decision_tree/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct DecisionTree { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 7 | root: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | min_split: usize, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 9 | min_impurity: f32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 10 | max_depth: usize, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 11 | cost_fn: fn(&[f32]) -> f32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 12 | leaf_fn: fn() -> f32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `build_tree` and `argmin_cost` are never used [INFO] [stderr] --> src/decision_tree/mod.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 29 | impl DecisionTree { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 30 | fn build_tree(&mut self, dataset: &Dataset, depth: usize) -> DecisionTree { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | fn argmin_cost(data: D) -> (f32, usize, Value) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/data/mod.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | fn split_at_index(&self, index: usize) -> (Subset, Subset); [INFO] [stderr] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 7 | fn split_at_index(&self, index: usize) -> (Subset<'_>, Subset<'_>); [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/data/mod.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset, Subset); [INFO] [stderr] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 8 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset<'_>, Subset<'_>); [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/data/mod.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 18 | fn split_at_index(&self, index: usize) -> (Subset, Subset) { [INFO] [stderr] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 18 | fn split_at_index(&self, index: usize) -> (Subset<'_>, Subset<'_>) { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/data/mod.rs:47:27 [INFO] [stderr] | [INFO] [stderr] 47 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset, Subset) { [INFO] [stderr] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 47 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset<'_>, Subset<'_>) { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/data/mod.rs:102:23 [INFO] [stderr] | [INFO] [stderr] 102 | fn split_at_index(&self, index: usize) -> (Subset, Subset) { [INFO] [stderr] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 102 | fn split_at_index(&self, index: usize) -> (Subset<'_>, Subset<'_>) { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/data/mod.rs:132:27 [INFO] [stderr] | [INFO] [stderr] 132 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset, Subset) { [INFO] [stderr] | ^^^^^ ------ ------ the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 132 | fn split_at_threshold(&self, target_feature: usize, threshold: Value) -> (Subset<'_>, Subset<'_>) { [INFO] [stderr] | ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: `iron_woods` (bin "iron_woods" test) generated 17 warnings (run `cargo fix --bin "iron_woods" --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/iron_woods-25f5ff9bf987c500) [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" "0a2054e3b51daceba9e64a114e1914dee05f920432fa6597c8020ba4f9b92289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a2054e3b51daceba9e64a114e1914dee05f920432fa6597c8020ba4f9b92289", kill_on_drop: false }` [INFO] [stdout] 0a2054e3b51daceba9e64a114e1914dee05f920432fa6597c8020ba4f9b92289