[INFO] fetching crate forrust 0.2.4... [INFO] checking forrust-0.2.4 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate forrust 0.2.4 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate forrust 0.2.4 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate forrust 0.2.4 [INFO] finished tweaking crates.io crate forrust 0.2.4 [INFO] tweaked toml for crates.io crate forrust 0.2.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding svg v0.7.2 (latest: v0.16.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded svg v0.7.2 [INFO] [stderr] Downloaded plotlib v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 486bf006dc3948a1aa3d73c7b3673ab72327a2f79f962bfe73f122813384b615 [INFO] running `Command { std: "docker" "start" "-a" "486bf006dc3948a1aa3d73c7b3673ab72327a2f79f962bfe73f122813384b615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "486bf006dc3948a1aa3d73c7b3673ab72327a2f79f962bfe73f122813384b615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "486bf006dc3948a1aa3d73c7b3673ab72327a2f79f962bfe73f122813384b615", kill_on_drop: false }` [INFO] [stdout] 486bf006dc3948a1aa3d73c7b3673ab72327a2f79f962bfe73f122813384b615 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf3504099185cc3fe1922b2942d61d446fe4716a4a5e249546ee3e41029f4637 [INFO] running `Command { std: "docker" "start" "-a" "bf3504099185cc3fe1922b2942d61d446fe4716a4a5e249546ee3e41029f4637", kill_on_drop: false }` [INFO] [stderr] Checking svg v0.7.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking backtrace v0.3.71 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking plotlib v0.5.1 [INFO] [stderr] Checking forrust v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::convert::Into` [INFO] [stdout] --> src/time_series/moving_median.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CategoricalView` [INFO] [stdout] --> src/time_series/mod.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use plotlib::view::{View, CategoricalView, ContinuousView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CategoricalRepresentation` [INFO] [stdout] --> src/time_series/mod.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | use plotlib::repr::{Plot, CategoricalRepresentation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContinuousView` [INFO] [stdout] --> src/prediction/dumb.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use plotlib::view::{View, ContinuousView}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Into` [INFO] [stdout] --> src/time_series/moving_median.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CategoricalView` [INFO] [stdout] --> src/time_series/mod.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use plotlib::view::{View, CategoricalView, ContinuousView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CategoricalRepresentation` [INFO] [stdout] --> src/time_series/mod.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | use plotlib::repr::{Plot, CategoricalRepresentation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContinuousView` [INFO] [stdout] --> src/prediction/dumb.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use plotlib::view::{View, ContinuousView}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/prediction/dumb.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | /// get the distances between the exp smooth and linear reg of a month every year [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | let mut distances = Vec::new(); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/prediction/dumb.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | /// get the distances between the exp smooth and linear reg of a month every year [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | let mut distances = Vec::new(); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/time_series/moving_median.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let min = *ints.iter().min().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/time_series/moving_median.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let max = *ints.iter().max().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time_series/moving_median.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut plot = Plot::new(self.get_data()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/time_series/mod.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | self.data.iter().map(|(x, y)| *y).collect() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time_series/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut view = ContinuousView::new() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time_series/mod.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut plot = Plot::new(self.get_data()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/forecasting/expsmooth.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut result = Self { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/forecasting/expsmooth.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut plot = Plot::new(self.get_data()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/time_series/moving_median.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let min = *ints.iter().min().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/time_series/moving_median.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let max = *ints.iter().max().unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/regression/linear.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut plot = Plot::new(self.get_data()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time_series/moving_median.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut plot = Plot::new(self.get_data()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/time_series/mod.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | self.data.iter().map(|(x, y)| *y).collect() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time_series/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut view = ContinuousView::new() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time_series/mod.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut plot = Plot::new(self.get_data()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/prediction/dumb.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut sm = TimeSeries::from_pairs_vec(sm); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/prediction/dumb.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let mut tm = self.original.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/prediction/dumb.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut group = Grouper::new(&tm) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dom_ran` is never read [INFO] [stdout] --> src/time_series/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct TimeSeries { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 23 | data: Vec<(f64, f64)>, [INFO] [stdout] 24 | dom_ran: Option<(String, String)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeSeries` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `style_mut` is never used [INFO] [stdout] --> src/time_series/season.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Season { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn style_mut(&mut self) -> &mut Style { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/time_series/mod.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | panic!(format!("domain value {} doesn't exist in the time series", u)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 74 - panic!(format!("domain value {} doesn't exist in the time series", u)); [INFO] [stdout] 74 + panic!("domain value {} doesn't exist in the time series", u); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/time_series/mod.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | _ => panic!(format!("Número de mes inválido: {}", v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 192 - _ => panic!(format!("Número de mes inválido: {}", v)) [INFO] [stdout] 192 + _ => panic!("Número de mes inválido: {}", v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/time_series/mod.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 213 | _ => panic!(format!("Mes inválido: {}", v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 213 - _ => panic!(format!("Mes inválido: {}", v)) [INFO] [stdout] 213 + _ => panic!("Mes inválido: {}", v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/forecasting/expsmooth.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut result = Self { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/forecasting/expsmooth.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut plot = Plot::new(self.get_data()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/regression/linear.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut plot = Plot::new(self.get_data()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/prediction/dumb.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut sm = TimeSeries::from_pairs_vec(sm); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/prediction/dumb.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let mut tm = self.original.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/prediction/dumb.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut group = Grouper::new(&tm) [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut season = Season::new(&series, 12).set_season(1); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut season2 = Season::new(&season.as_time_series(), 4).set_season(2); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut smooth0_4 = ExpSmoothing::new(&example) [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | let mut dumb = Dumb::new(&example).with_season(12); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dom_ran` is never read [INFO] [stdout] --> src/time_series/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct TimeSeries { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 23 | data: Vec<(f64, f64)>, [INFO] [stdout] 24 | dom_ran: Option<(String, String)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimeSeries` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `style_mut` is never used [INFO] [stdout] --> src/time_series/season.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Season { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn style_mut(&mut self) -> &mut Style { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/time_series/mod.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | panic!(format!("domain value {} doesn't exist in the time series", u)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 74 - panic!(format!("domain value {} doesn't exist in the time series", u)); [INFO] [stdout] 74 + panic!("domain value {} doesn't exist in the time series", u); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/time_series/mod.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | _ => panic!(format!("Número de mes inválido: {}", v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 192 - _ => panic!(format!("Número de mes inválido: {}", v)) [INFO] [stdout] 192 + _ => panic!("Número de mes inválido: {}", v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/time_series/mod.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 213 | _ => panic!(format!("Mes inválido: {}", v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 213 - _ => panic!(format!("Mes inválido: {}", v)) [INFO] [stdout] 213 + _ => panic!("Mes inválido: {}", v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "bf3504099185cc3fe1922b2942d61d446fe4716a4a5e249546ee3e41029f4637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf3504099185cc3fe1922b2942d61d446fe4716a4a5e249546ee3e41029f4637", kill_on_drop: false }` [INFO] [stdout] bf3504099185cc3fe1922b2942d61d446fe4716a4a5e249546ee3e41029f4637 [INFO] checking forrust-0.2.4 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate forrust 0.2.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate forrust 0.2.4 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate forrust 0.2.4 [INFO] finished tweaking crates.io crate forrust 0.2.4 [INFO] tweaked toml for crates.io crate forrust 0.2.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf2ca47b76a2974945c1985d4d9d56c7ef817449c11724cddccc1db48840aa3a [INFO] running `Command { std: "docker" "start" "-a" "bf2ca47b76a2974945c1985d4d9d56c7ef817449c11724cddccc1db48840aa3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf2ca47b76a2974945c1985d4d9d56c7ef817449c11724cddccc1db48840aa3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf2ca47b76a2974945c1985d4d9d56c7ef817449c11724cddccc1db48840aa3a", kill_on_drop: false }` [INFO] [stdout] bf2ca47b76a2974945c1985d4d9d56c7ef817449c11724cddccc1db48840aa3a [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48de5450d2ca87d2c5d07fd1282e98f9aa98ea1d8082c04e0428a037f9276733 [INFO] running `Command { std: "docker" "start" "-a" "48de5450d2ca87d2c5d07fd1282e98f9aa98ea1d8082c04e0428a037f9276733", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking svg v0.7.2 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/miniz_oxide-0.7.2/src/inflate/core.rs:1196:9 [INFO] [stdout] | [INFO] [stdout] 1196 | / match state { [INFO] [stdout] 1197 | | Start => generate_state!(state, 'state_machine, { [INFO] [stdout] 1198 | | l.bit_buf = 0; [INFO] [stdout] 1199 | | l.num_bits = 0; [INFO] [stdout] ... | [INFO] [stdout] 1741 | | _ => break TINFLStatus::Failed, [INFO] [stdout] 1742 | | }; [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miniz_oxide` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "48de5450d2ca87d2c5d07fd1282e98f9aa98ea1d8082c04e0428a037f9276733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48de5450d2ca87d2c5d07fd1282e98f9aa98ea1d8082c04e0428a037f9276733", kill_on_drop: false }` [INFO] [stdout] 48de5450d2ca87d2c5d07fd1282e98f9aa98ea1d8082c04e0428a037f9276733