[INFO] cloning repository https://github.com/jasonhansel/paraphrase [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jasonhansel/paraphrase" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonhansel%2Fparaphrase", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonhansel%2Fparaphrase'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce446649cb3b9538fff5ad09560720368c7e7eab [INFO] testing jasonhansel/paraphrase against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonhansel%2Fparaphrase" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jasonhansel/paraphrase on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jasonhansel/paraphrase [INFO] finished tweaking git repo https://github.com/jasonhansel/paraphrase [INFO] tweaked toml for git repo https://github.com/jasonhansel/paraphrase written to /workspace/builds/worker-40/source/Cargo.toml [INFO] crate git repo https://github.com/jasonhansel/paraphrase already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcba0856cae1019ba6b2642d2dad9f22368f9eaf8d54464a5accb647f470632d [INFO] running `Command { std: "docker" "start" "-a" "bcba0856cae1019ba6b2642d2dad9f22368f9eaf8d54464a5accb647f470632d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcba0856cae1019ba6b2642d2dad9f22368f9eaf8d54464a5accb647f470632d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcba0856cae1019ba6b2642d2dad9f22368f9eaf8d54464a5accb647f470632d", kill_on_drop: false }` [INFO] [stdout] bcba0856cae1019ba6b2642d2dad9f22368f9eaf8d54464a5accb647f470632d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f47ebfab51ec7b2009a5cf27d8d81b23f6045a4b9fd927871641f8172207903 [INFO] running `Command { std: "docker" "start" "-a" "1f47ebfab51ec7b2009a5cf27d8d81b23f6045a4b9fd927871641f8172207903", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling futures v0.1.17 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling clap v2.29.2 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Compiling structopt v0.1.7 [INFO] [stderr] Compiling paraphrase v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IndexMut`, `Index` [INFO] [stdout] --> src/value.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ops::{Add,Index,IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/value.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | fn split_at<'t>(&'t mut self, idx: usize) -> (ArcSlice) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - fn split_at<'t>(&'t mut self, idx: usize) -> (ArcSlice) { [INFO] [stdout] 76 + fn split_at<'t>(&'t mut self, idx: usize) -> ArcSlice { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/base.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | if let Some(tag) = (name_tag.get(1)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - if let Some(tag) = (name_tag.get(1)) { [INFO] [stdout] 201 + if let Some(tag) = name_tag.get(1) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnwindSafe` [INFO] [stdout] --> src/expand.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use std::panic::{UnwindSafe,AssertUnwindSafe}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn end_command(&mut self, Vec, Arc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | fn end_command(&mut self, Vec, Arc); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Arc` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | fn raw_param(&mut self, Rope); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rope` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | fn semi_param(&mut self, Arc, Rope, Vec) -> Rope ; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Arc` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | fn semi_param(&mut self, Arc, Rope, Vec) -> Rope ; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rope` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | fn semi_param(&mut self, Arc, Rope, Vec) -> Rope ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | fn text(&mut self, Rope); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rope` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/expand.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 238 | self.final_join = Some(Box::new((self.handle_call(cmd, call)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - self.final_join = Some(Box::new((self.handle_call(cmd, call)))); [INFO] [stdout] 238 + self.final_join = Some(Box::new(self.handle_call(cmd, call))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/expand.rs:407:26 [INFO] [stdout] | [INFO] [stdout] 407 | Box::new((final_join.map(|w| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 415 | }))) as Fut> [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 407 ~ Box::new(final_join.map(|w| { [INFO] [stdout] 408 | match w { [INFO] [stdout] 409 | EvalResult::Expand(new_scope, new_rope) => Loop::Continue((joins, new_scope, new_rope)), [INFO] [stdout] 410 | EvalResult::Done(val) => { [INFO] [stdout] 411 | joins.push(Box::new(ok(Rope::from_value(val)))); [INFO] [stdout] 412 | Loop::Break(joins) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CpuFuture` [INFO] [stdout] --> src/main.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | use futures_cpupool::{CpuFuture, CpuPool}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expand.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | pub type Fut = Box> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub type Fut = Box> + Send>; [INFO] [stdout] 73 + pub type Fut = Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expand.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | pub type Fut = Box> + Send>; [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub type Fut = Box> + Send>; [INFO] [stdout] 73 + pub type Fut = Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/value.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | return self.to_str().to_owned(); [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] 54 | [INFO] [stdout] 55 | let range = self.range.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expand.rs:431:18 [INFO] [stdout] | [INFO] [stdout] 431 | ) as Box>+Send> )) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 431 - ) as Box>+Send> )) [INFO] [stdout] 431 + ) as Box>+Send> )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expand.rs:431:46 [INFO] [stdout] | [INFO] [stdout] 431 | ) as Box>+Send> )) [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 431 - ) as Box>+Send> )) [INFO] [stdout] 431 + ) as Box>+Send> )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_scope` [INFO] [stdout] --> src/expand.rs:306:25 [INFO] [stdout] | [INFO] [stdout] 306 | let new_scope = scope.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/expand.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | let id = rand::random::(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/expand.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | let scope = self.scope.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool2` [INFO] [stdout] --> src/expand.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | let pool2 = self.pool.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pool2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/expand.rs:179:54 [INFO] [stdout] | [INFO] [stdout] 179 | fn end_command(&mut self, cmd: Vec, scope: Arc) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scope.rs:196:41 [INFO] [stdout] | [INFO] [stdout] 196 | code(args.into_iter().map(|mut x| { x }).collect()) [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: variable does not need to be mutable [INFO] [stdout] --> src/base.rs:116:87 [INFO] [stdout] | [INFO] [stdout] 116 | (Some(Str(n)), Some(Str(replacement)), Some(Closure(ValueClosure(inner_scope, mut h))), None, ..) => { [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/base.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let mut todo = if value_a == value_b { if_true } else { if_false }; [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/base.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let mut todo = (if value_a == value_b { if_true } else { if_false }).force_clone().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/base.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | let mut params = vec![]; [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/expand.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | fn raw_param(&mut self, mut rope: Rope) { [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/expand.rs:227:54 [INFO] [stdout] | [INFO] [stdout] 227 | fn semi_param(&mut self, stack: Vec, mut rope: Rope, cmd: Vec) { [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/expand.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | fn text(&mut self, mut rope: Rope) { [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/expand.rs:389:92 [INFO] [stdout] | [INFO] [stdout] 389 | loop_fn(( (vec![] as Vec>), _scope, _rope), move |(mut joins, mut scope, mut rope)| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | file.read_to_string(&mut s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::string::String::split_off` that must be used [INFO] [stdout] --> src/value.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|mut x| { x.split_off(range.end); x.split_off(range.start) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/value.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | write!(f, "CODE<"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `latest_tag` should have an upper case name [INFO] [stdout] --> src/scope.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static latest_tag : AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `LATEST_TAG` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/scope.rs:40:76 [INFO] [stdout] | [INFO] [stdout] 40 | &User(ref s, _, ref v) => { write!(f, "params (")?; s.fmt(f)?; write!(f, ") in "); v.fmt(f) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.68s [INFO] running `Command { std: "docker" "inspect" "1f47ebfab51ec7b2009a5cf27d8d81b23f6045a4b9fd927871641f8172207903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f47ebfab51ec7b2009a5cf27d8d81b23f6045a4b9fd927871641f8172207903", kill_on_drop: false }` [INFO] [stdout] 1f47ebfab51ec7b2009a5cf27d8d81b23f6045a4b9fd927871641f8172207903 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ff9809f8273ff501e423468a8c84133a24db10c83d14b65e2bca55a74362a6f [INFO] running `Command { std: "docker" "start" "-a" "7ff9809f8273ff501e423468a8c84133a24db10c83d14b65e2bca55a74362a6f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling paraphrase v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IndexMut`, `Index` [INFO] [stdout] --> src/value.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ops::{Add,Index,IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/value.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | fn split_at<'t>(&'t mut self, idx: usize) -> (ArcSlice) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - fn split_at<'t>(&'t mut self, idx: usize) -> (ArcSlice) { [INFO] [stdout] 76 + fn split_at<'t>(&'t mut self, idx: usize) -> ArcSlice { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/base.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | if let Some(tag) = (name_tag.get(1)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - if let Some(tag) = (name_tag.get(1)) { [INFO] [stdout] 201 + if let Some(tag) = name_tag.get(1) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnwindSafe` [INFO] [stdout] --> src/expand.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use std::panic::{UnwindSafe,AssertUnwindSafe}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn end_command(&mut self, Vec, Arc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | fn end_command(&mut self, Vec, Arc); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Arc` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | fn raw_param(&mut self, Rope); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rope` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | fn semi_param(&mut self, Arc, Rope, Vec) -> Rope ; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Arc` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | fn semi_param(&mut self, Arc, Rope, Vec) -> Rope ; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rope` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | fn semi_param(&mut self, Arc, Rope, Vec) -> Rope ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/expand.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | fn text(&mut self, Rope); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rope` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/expand.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 238 | self.final_join = Some(Box::new((self.handle_call(cmd, call)))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - self.final_join = Some(Box::new((self.handle_call(cmd, call)))); [INFO] [stdout] 238 + self.final_join = Some(Box::new(self.handle_call(cmd, call))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/expand.rs:407:26 [INFO] [stdout] | [INFO] [stdout] 407 | Box::new((final_join.map(|w| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 415 | }))) as Fut> [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 407 ~ Box::new(final_join.map(|w| { [INFO] [stdout] 408 | match w { [INFO] [stdout] 409 | EvalResult::Expand(new_scope, new_rope) => Loop::Continue((joins, new_scope, new_rope)), [INFO] [stdout] 410 | EvalResult::Done(val) => { [INFO] [stdout] 411 | joins.push(Box::new(ok(Rope::from_value(val)))); [INFO] [stdout] 412 | Loop::Break(joins) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CpuFuture` [INFO] [stdout] --> src/main.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | use futures_cpupool::{CpuFuture, CpuPool}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expand.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | pub type Fut = Box> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub type Fut = Box> + Send>; [INFO] [stdout] 73 + pub type Fut = Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expand.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | pub type Fut = Box> + Send>; [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub type Fut = Box> + Send>; [INFO] [stdout] 73 + pub type Fut = Box> + Send>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/value.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 53 | return self.to_str().to_owned(); [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] 54 | [INFO] [stdout] 55 | let range = self.range.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expand.rs:431:18 [INFO] [stdout] | [INFO] [stdout] 431 | ) as Box>+Send> )) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 431 - ) as Box>+Send> )) [INFO] [stdout] 431 + ) as Box>+Send> )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expand.rs:431:46 [INFO] [stdout] | [INFO] [stdout] 431 | ) as Box>+Send> )) [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 431 - ) as Box>+Send> )) [INFO] [stdout] 431 + ) as Box>+Send> )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_scope` [INFO] [stdout] --> src/expand.rs:306:25 [INFO] [stdout] | [INFO] [stdout] 306 | let new_scope = scope.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_scope` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/expand.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | let id = rand::random::(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/expand.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | let scope = self.scope.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool2` [INFO] [stdout] --> src/expand.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | let pool2 = self.pool.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pool2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/expand.rs:179:54 [INFO] [stdout] | [INFO] [stdout] 179 | fn end_command(&mut self, cmd: Vec, scope: Arc) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scope.rs:196:41 [INFO] [stdout] | [INFO] [stdout] 196 | code(args.into_iter().map(|mut x| { x }).collect()) [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: variable does not need to be mutable [INFO] [stdout] --> src/base.rs:116:87 [INFO] [stdout] | [INFO] [stdout] 116 | (Some(Str(n)), Some(Str(replacement)), Some(Closure(ValueClosure(inner_scope, mut h))), None, ..) => { [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/base.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let mut todo = if value_a == value_b { if_true } else { if_false }; [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/base.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | let mut todo = (if value_a == value_b { if_true } else { if_false }).force_clone().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/base.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | let mut params = vec![]; [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/expand.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | fn raw_param(&mut self, mut rope: Rope) { [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/expand.rs:227:54 [INFO] [stdout] | [INFO] [stdout] 227 | fn semi_param(&mut self, stack: Vec, mut rope: Rope, cmd: Vec) { [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/expand.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | fn text(&mut self, mut rope: Rope) { [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/expand.rs:389:92 [INFO] [stdout] | [INFO] [stdout] 389 | loop_fn(( (vec![] as Vec>), _scope, _rope), move |(mut joins, mut scope, mut rope)| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | file.read_to_string(&mut s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::string::String::split_off` that must be used [INFO] [stdout] --> src/value.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | .map(|mut x| { x.split_off(range.end); x.split_off(range.start) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/value.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | write!(f, "CODE<"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `latest_tag` should have an upper case name [INFO] [stdout] --> src/scope.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static latest_tag : AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `LATEST_TAG` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/scope.rs:40:76 [INFO] [stdout] | [INFO] [stdout] 40 | &User(ref s, _, ref v) => { write!(f, "params (")?; s.fmt(f)?; write!(f, ") in "); v.fmt(f) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "7ff9809f8273ff501e423468a8c84133a24db10c83d14b65e2bca55a74362a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff9809f8273ff501e423468a8c84133a24db10c83d14b65e2bca55a74362a6f", kill_on_drop: false }` [INFO] [stdout] 7ff9809f8273ff501e423468a8c84133a24db10c83d14b65e2bca55a74362a6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f3c9a15d0aac775c7f48321b740fddaa1f14e09968548c69c2e396e2373812a [INFO] running `Command { std: "docker" "start" "-a" "9f3c9a15d0aac775c7f48321b740fddaa1f14e09968548c69c2e396e2373812a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `IndexMut`, `Index` [INFO] [stderr] --> src/value.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | use std::ops::{Add,Index,IndexMut}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/value.rs:76:50 [INFO] [stderr] | [INFO] [stderr] 76 | fn split_at<'t>(&'t mut self, idx: usize) -> (ArcSlice) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 76 - fn split_at<'t>(&'t mut self, idx: usize) -> (ArcSlice) { [INFO] [stderr] 76 + fn split_at<'t>(&'t mut self, idx: usize) -> ArcSlice { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stderr] --> src/base.rs:201:36 [INFO] [stderr] | [INFO] [stderr] 201 | if let Some(tag) = (name_tag.get(1)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 201 - if let Some(tag) = (name_tag.get(1)) { [INFO] [stderr] 201 + if let Some(tag) = name_tag.get(1) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `UnwindSafe` [INFO] [stderr] --> src/expand.rs:16:18 [INFO] [stderr] | [INFO] [stderr] 16 | use std::panic::{UnwindSafe,AssertUnwindSafe}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/expand.rs:28:31 [INFO] [stderr] | [INFO] [stderr] 28 | fn end_command(&mut self, Vec, Arc); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/expand.rs:28:49 [INFO] [stderr] | [INFO] [stderr] 28 | fn end_command(&mut self, Vec, Arc); [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Arc` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/expand.rs:31:29 [INFO] [stderr] | [INFO] [stderr] 31 | fn raw_param(&mut self, Rope); [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rope` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/expand.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | fn semi_param(&mut self, Arc, Rope, Vec) -> Rope ; [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Arc` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/expand.rs:32:42 [INFO] [stderr] | [INFO] [stderr] 32 | fn semi_param(&mut self, Arc, Rope, Vec) -> Rope ; [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rope` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/expand.rs:32:48 [INFO] [stderr] | [INFO] [stderr] 32 | fn semi_param(&mut self, Arc, Rope, Vec) -> Rope ; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/expand.rs:33:24 [INFO] [stderr] | [INFO] [stderr] 33 | fn text(&mut self, Rope); [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rope` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/expand.rs:238:41 [INFO] [stderr] | [INFO] [stderr] 238 | self.final_join = Some(Box::new((self.handle_call(cmd, call)))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 238 - self.final_join = Some(Box::new((self.handle_call(cmd, call)))); [INFO] [stderr] 238 + self.final_join = Some(Box::new(self.handle_call(cmd, call))); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/expand.rs:407:26 [INFO] [stderr] | [INFO] [stderr] 407 | Box::new((final_join.map(|w| { [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 415 | }))) as Fut> [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 407 ~ Box::new(final_join.map(|w| { [INFO] [stderr] 408 | match w { [INFO] [stderr] 409 | EvalResult::Expand(new_scope, new_rope) => Loop::Continue((joins, new_scope, new_rope)), [INFO] [stderr] 410 | EvalResult::Done(val) => { [INFO] [stderr] 411 | joins.push(Box::new(ok(Rope::from_value(val)))); [INFO] [stderr] 412 | Loop::Break(joins) [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: unused import: `CpuFuture` [INFO] [stderr] --> src/main.rs:38:23 [INFO] [stderr] | [INFO] [stderr] 38 | use futures_cpupool::{CpuFuture, CpuPool}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/main.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/main.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/expand.rs:73:23 [INFO] [stderr] | [INFO] [stderr] 73 | pub type Fut = Box> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 73 - pub type Fut = Box> + Send>; [INFO] [stderr] 73 + pub type Fut = Box> + Send>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/expand.rs:73:47 [INFO] [stderr] | [INFO] [stderr] 73 | pub type Fut = Box> + Send>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 73 - pub type Fut = Box> + Send>; [INFO] [stderr] 73 + pub type Fut = Box> + Send>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/value.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 53 | return self.to_str().to_owned(); [INFO] [stderr] | ------------------------------- any code following this expression is unreachable [INFO] [stderr] 54 | [INFO] [stderr] 55 | let range = self.range.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/expand.rs:431:18 [INFO] [stderr] | [INFO] [stderr] 431 | ) as Box>+Send> )) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 431 - ) as Box>+Send> )) [INFO] [stderr] 431 + ) as Box>+Send> )) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/expand.rs:431:46 [INFO] [stderr] | [INFO] [stderr] 431 | ) as Box>+Send> )) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 431 - ) as Box>+Send> )) [INFO] [stderr] 431 + ) as Box>+Send> )) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_scope` [INFO] [stderr] --> src/expand.rs:306:25 [INFO] [stderr] | [INFO] [stderr] 306 | let new_scope = scope.clone(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_scope` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/expand.rs:385:9 [INFO] [stderr] | [INFO] [stderr] 385 | let id = rand::random::(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/expand.rs:186:17 [INFO] [stderr] | [INFO] [stderr] 186 | let scope = self.scope.clone(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool2` [INFO] [stderr] --> src/expand.rs:187:17 [INFO] [stderr] | [INFO] [stderr] 187 | let pool2 = self.pool.clone(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pool2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scope` [INFO] [stderr] --> src/expand.rs:179:54 [INFO] [stderr] | [INFO] [stderr] 179 | fn end_command(&mut self, cmd: Vec, scope: Arc) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/scope.rs:196:41 [INFO] [stderr] | [INFO] [stderr] 196 | code(args.into_iter().map(|mut x| { x }).collect()) [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/base.rs:116:87 [INFO] [stderr] | [INFO] [stderr] 116 | (Some(Str(n)), Some(Str(replacement)), Some(Closure(ValueClosure(inner_scope, mut h))), None, ..) => { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/base.rs:136:17 [INFO] [stderr] | [INFO] [stderr] 136 | let mut todo = if value_a == value_b { if_true } else { if_false }; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/base.rs:146:17 [INFO] [stderr] | [INFO] [stderr] 146 | let mut todo = (if value_a == value_b { if_true } else { if_false }).force_clone().1; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/base.rs:232:17 [INFO] [stderr] | [INFO] [stderr] 232 | let mut params = vec![]; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/expand.rs:220:29 [INFO] [stderr] | [INFO] [stderr] 220 | fn raw_param(&mut self, mut rope: Rope) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/expand.rs:227:54 [INFO] [stderr] | [INFO] [stderr] 227 | fn semi_param(&mut self, stack: Vec, mut rope: Rope, cmd: Vec) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/expand.rs:240:24 [INFO] [stderr] | [INFO] [stderr] 240 | fn text(&mut self, mut rope: Rope) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/expand.rs:389:92 [INFO] [stderr] | [INFO] [stderr] 389 | loop_fn(( (vec![] as Vec>), _scope, _rope), move |(mut joins, mut scope, mut rope)| { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | file.read_to_string(&mut s); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::string::String::split_off` that must be used [INFO] [stderr] --> src/value.rs:57:28 [INFO] [stderr] | [INFO] [stderr] 57 | .map(|mut x| { x.split_off(range.end); x.split_off(range.start) }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: use `.truncate()` if you don't need the other half [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/value.rs:356:9 [INFO] [stderr] | [INFO] [stderr] 356 | write!(f, "CODE<"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: static variable `latest_tag` should have an upper case name [INFO] [stderr] --> src/scope.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | static latest_tag : AtomicUsize = AtomicUsize::new(0); [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `LATEST_TAG` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/scope.rs:40:76 [INFO] [stderr] | [INFO] [stderr] 40 | &User(ref s, _, ref v) => { write!(f, "params (")?; s.fmt(f)?; write!(f, ") in "); v.fmt(f) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `paraphrase` (bin "paraphrase" test) generated 40 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.75s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/paraphrase-b0e439d7e58d0571) [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" "9f3c9a15d0aac775c7f48321b740fddaa1f14e09968548c69c2e396e2373812a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f3c9a15d0aac775c7f48321b740fddaa1f14e09968548c69c2e396e2373812a", kill_on_drop: false }` [INFO] [stdout] 9f3c9a15d0aac775c7f48321b740fddaa1f14e09968548c69c2e396e2373812a