[INFO] cloning repository https://github.com/dzharikhin/ml_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dzharikhin/ml_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzharikhin%2Fml_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzharikhin%2Fml_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85bfec1529dce86c9792da08cd1216ae7b68168a [INFO] checking dzharikhin/ml_example against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzharikhin%2Fml_example" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dzharikhin/ml_example on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dzharikhin/ml_example [INFO] finished tweaking git repo https://github.com/dzharikhin/ml_example [INFO] tweaked toml for git repo https://github.com/dzharikhin/ml_example written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/dzharikhin/ml_example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca275c288373beebba7f0a6ea35a498383d2536a03057434ec79284a402acc3b [INFO] running `Command { std: "docker" "start" "-a" "ca275c288373beebba7f0a6ea35a498383d2536a03057434ec79284a402acc3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca275c288373beebba7f0a6ea35a498383d2536a03057434ec79284a402acc3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca275c288373beebba7f0a6ea35a498383d2536a03057434ec79284a402acc3b", kill_on_drop: false }` [INFO] [stdout] ca275c288373beebba7f0a6ea35a498383d2536a03057434ec79284a402acc3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09f0a4ce9aa1c026adaaf02ef0fa5f20b383a611db80cb5f9c6cf91b7e167391 [INFO] running `Command { std: "docker" "start" "-a" "09f0a4ce9aa1c026adaaf02ef0fa5f20b383a611db80cb5f9c6cf91b7e167391", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking itertools v0.6.1 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking ml-example v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/neural/main.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn generate_data(func: &Fn(f64, f64, f64) -> f64, amount: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64, f64) -> f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | providers: &'r HashMap i8>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Object) -> i8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | route_map: HashMap> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Node + 'r` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | let mut providers:HashMap i8>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Object) -> i8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:68:78 [INFO] [stdout] | [INFO] [stdout] 68 | fn build_tree<'a>(data: Vec, providers: &'a HashMap i8>>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Object) -> i8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:68:106 [INFO] [stdout] | [INFO] [stdout] 68 | fn build_tree<'a>(data: Vec, providers: &'a HashMap i8>>) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Node + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/neural/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | (((val >= 0.0) as i8) as f64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/neural/main.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | fn generate_data(func: &Fn(f64, f64, f64) -> f64, amount: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(f64, f64, f64) -> f64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/neural/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | (((val >= 0.0) as i8) as f64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:118:46 [INFO] [stdout] | [INFO] [stdout] 118 | fn calculate_gini_for_feature(provider: &Box i8>, data: &[TrainObject], classes: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Object) -> i8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | providers: &'r HashMap i8>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Object) -> i8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | route_map: HashMap> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Node + 'r` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | let mut providers:HashMap i8>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Object) -> i8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:68:78 [INFO] [stdout] | [INFO] [stdout] 68 | fn build_tree<'a>(data: Vec, providers: &'a HashMap i8>>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Object) -> i8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:68:106 [INFO] [stdout] | [INFO] [stdout] 68 | fn build_tree<'a>(data: Vec, providers: &'a HashMap i8>>) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Node + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree/main.rs:118:46 [INFO] [stdout] | [INFO] [stdout] 118 | fn calculate_gini_for_feature(provider: &Box i8>, data: &[TrainObject], classes: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Object) -> i8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gate` [INFO] [stdout] --> src/neural/main.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn gate(val: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sigmoid_derivative` [INFO] [stdout] --> src/neural/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn sigmoid_derivative(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gate` [INFO] [stdout] --> src/neural/main.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn gate(val: f64) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sigmoid_derivative` [INFO] [stdout] --> src/neural/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn sigmoid_derivative(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.74s [INFO] running `Command { std: "docker" "inspect" "09f0a4ce9aa1c026adaaf02ef0fa5f20b383a611db80cb5f9c6cf91b7e167391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f0a4ce9aa1c026adaaf02ef0fa5f20b383a611db80cb5f9c6cf91b7e167391", kill_on_drop: false }` [INFO] [stdout] 09f0a4ce9aa1c026adaaf02ef0fa5f20b383a611db80cb5f9c6cf91b7e167391