[INFO] cloning repository https://github.com/lucas-cauhe/Ludo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucas-cauhe/Ludo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-cauhe%2FLudo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-cauhe%2FLudo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 617b9225d9803a543bb914a51ecd657c88d80cd1 [INFO] testing lucas-cauhe/Ludo against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-cauhe%2FLudo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lucas-cauhe/Ludo [INFO] finished tweaking git repo https://github.com/lucas-cauhe/Ludo [INFO] tweaked toml for git repo https://github.com/lucas-cauhe/Ludo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucas-cauhe/Ludo on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucas-cauhe/Ludo 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-deque v0.8.1 [INFO] [stderr] Downloaded quote v1.0.16 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded num-rational v0.4.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.2 [INFO] [stderr] Downloaded wide v0.7.4 [INFO] [stderr] Downloaded simba v0.7.1 [INFO] [stderr] Downloaded rust_tokenizers v7.0.1 [INFO] [stderr] Downloaded safe_arch v0.6.0 [INFO] [stderr] Downloaded protobuf v2.25.2 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded bytemuck v1.8.0 [INFO] [stderr] Downloaded syn v1.0.89 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] [stderr] Downloaded libc v0.2.121 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df9924c50ea830e3115e85bc17d1d0e914142aaffb276e7760ab2e9f8a6b5763 [INFO] running `Command { std: "docker" "start" "-a" "df9924c50ea830e3115e85bc17d1d0e914142aaffb276e7760ab2e9f8a6b5763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df9924c50ea830e3115e85bc17d1d0e914142aaffb276e7760ab2e9f8a6b5763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df9924c50ea830e3115e85bc17d1d0e914142aaffb276e7760ab2e9f8a6b5763", kill_on_drop: false }` [INFO] [stdout] df9924c50ea830e3115e85bc17d1d0e914142aaffb276e7760ab2e9f8a6b5763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1375ba2d007271a524783fe132b565d83cf276a652ce06ad332421d968dc5b21 [INFO] running `Command { std: "docker" "start" "-a" "1375ba2d007271a524783fe132b565d83cf276a652ce06ad332421d968dc5b21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling protobuf v2.25.2 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rust_tokenizers v7.0.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling simba v0.7.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling Ludo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ops::Mul` [INFO] [stdout] --> src/lr/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io, ops::Mul}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/tokenization/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/tokenization/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/tokenization/main.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_json::{ Value }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/tokenization/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Algorithm` and `Stemmer` [INFO] [stdout] --> src/main.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | use rust_stemmers::{Algorithm, Stemmer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lr/main.rs:114:68 [INFO] [stdout] | [INFO] [stdout] 114 | fn derive_cost(&self, outputs: &Vec, pred: &DVector, i: &DVector) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dictionary_path` is never read [INFO] [stdout] --> src/lr/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LogisticRegression<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 13 | pub inputs: Vec<&'a str>, [INFO] [stdout] 14 | pub dictionary_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenization` is never used [INFO] [stdout] --> src/tokenization/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn tokenization(input: &str) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lr/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn input_model(&mut self, inputs: &Vec<&'a str>, dict_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn input_model(&mut self, inputs: &Vec<&'a str>, dict_path: &str) -> Result, io::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lr/main.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | fn init_model(&self, inputs: &Vec<&'a str>, dict: &str, freq_arrays: &Vec>) -> LogisticRegression { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn init_model(&self, inputs: &Vec<&'a str>, dict: &str, freq_arrays: &Vec>) -> LogisticRegression<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "1375ba2d007271a524783fe132b565d83cf276a652ce06ad332421d968dc5b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1375ba2d007271a524783fe132b565d83cf276a652ce06ad332421d968dc5b21", kill_on_drop: false }` [INFO] [stdout] 1375ba2d007271a524783fe132b565d83cf276a652ce06ad332421d968dc5b21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f55e3d4d57f714a42d88b780f6689f1154862063e02cdc39148193435ae8d0a0 [INFO] running `Command { std: "docker" "start" "-a" "f55e3d4d57f714a42d88b780f6689f1154862063e02cdc39148193435ae8d0a0", kill_on_drop: false }` [INFO] [stderr] Compiling Ludo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ops::Mul` [INFO] [stdout] --> src/lr/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io, ops::Mul}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/tokenization/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/tokenization/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/tokenization/main.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_json::{ Value }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/tokenization/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Algorithm` and `Stemmer` [INFO] [stdout] --> src/main.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | use rust_stemmers::{Algorithm, Stemmer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lr/main.rs:114:68 [INFO] [stdout] | [INFO] [stdout] 114 | fn derive_cost(&self, outputs: &Vec, pred: &DVector, i: &DVector) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dictionary_path` is never read [INFO] [stdout] --> src/lr/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct LogisticRegression<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 13 | pub inputs: Vec<&'a str>, [INFO] [stdout] 14 | pub dictionary_path: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenization` is never used [INFO] [stdout] --> src/tokenization/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn tokenization(input: &str) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lr/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn input_model(&mut self, inputs: &Vec<&'a str>, dict_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn input_model(&mut self, inputs: &Vec<&'a str>, dict_path: &str) -> Result, io::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lr/main.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | fn init_model(&self, inputs: &Vec<&'a str>, dict: &str, freq_arrays: &Vec>) -> LogisticRegression { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn init_model(&self, inputs: &Vec<&'a str>, dict: &str, freq_arrays: &Vec>) -> LogisticRegression<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "f55e3d4d57f714a42d88b780f6689f1154862063e02cdc39148193435ae8d0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f55e3d4d57f714a42d88b780f6689f1154862063e02cdc39148193435ae8d0a0", kill_on_drop: false }` [INFO] [stdout] f55e3d4d57f714a42d88b780f6689f1154862063e02cdc39148193435ae8d0a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca90d3959d8b43b406df73bcbd6b80cac5e2a92bd6498b30de0b239c1197ba2c [INFO] running `Command { std: "docker" "start" "-a" "ca90d3959d8b43b406df73bcbd6b80cac5e2a92bd6498b30de0b239c1197ba2c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ops::Mul` [INFO] [stderr] --> src/lr/main.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{io, ops::Mul}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/tokenization/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/tokenization/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Value` [INFO] [stderr] --> src/tokenization/main.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | use serde_json::{ Value }; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/tokenization/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Algorithm` and `Stemmer` [INFO] [stderr] --> src/main.rs:16:21 [INFO] [stderr] | [INFO] [stderr] 16 | use rust_stemmers::{Algorithm, Stemmer}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/lr/main.rs:114:68 [INFO] [stderr] | [INFO] [stderr] 114 | fn derive_cost(&self, outputs: &Vec, pred: &DVector, i: &DVector) -> f64 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `dictionary_path` is never read [INFO] [stderr] --> src/lr/main.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct LogisticRegression<'a> { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 13 | pub inputs: Vec<&'a str>, [INFO] [stderr] 14 | pub dictionary_path: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `tokenization` is never used [INFO] [stderr] --> src/tokenization/main.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn tokenization(input: &str) -> Result, io::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lr/main.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn input_model(&mut self, inputs: &Vec<&'a str>, dict_path: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 21 | pub fn input_model(&mut self, inputs: &Vec<&'a str>, dict_path: &str) -> Result, io::Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lr/main.rs:38:19 [INFO] [stderr] | [INFO] [stderr] 38 | fn init_model(&self, inputs: &Vec<&'a str>, dict: &str, freq_arrays: &Vec>) -> LogisticRegression { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------------ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 38 | fn init_model(&self, inputs: &Vec<&'a str>, dict: &str, freq_arrays: &Vec>) -> LogisticRegression<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `Ludo` (bin "Ludo" test) generated 11 warnings (run `cargo fix --bin "Ludo" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Ludo-413009085294219a) [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" "ca90d3959d8b43b406df73bcbd6b80cac5e2a92bd6498b30de0b239c1197ba2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca90d3959d8b43b406df73bcbd6b80cac5e2a92bd6498b30de0b239c1197ba2c", kill_on_drop: false }` [INFO] [stdout] ca90d3959d8b43b406df73bcbd6b80cac5e2a92bd6498b30de0b239c1197ba2c