[INFO] cloning repository https://github.com/lukehoban/endo-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukehoban/endo-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukehoban%2Fendo-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukehoban%2Fendo-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e1fa8cf66fca99776edcd550e1c38a518a43622 [INFO] testing lukehoban/endo-rust against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukehoban%2Fendo-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lukehoban/endo-rust [INFO] finished tweaking git repo https://github.com/lukehoban/endo-rust [INFO] tweaked toml for git repo https://github.com/lukehoban/endo-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukehoban/endo-rust on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lukehoban/endo-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.11.0 [INFO] [stderr] Downloaded adler32 v1.0.2 [INFO] [stderr] Downloaded num-iter v0.1.35 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded memoffset v0.2.1 [INFO] [stderr] Downloaded num-traits v0.2.2 [INFO] [stderr] Downloaded color_quant v1.0.0 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded enum_primitive v0.1.1 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded getopts v0.2.17 [INFO] [stderr] Downloaded rand v0.4.2 [INFO] [stderr] Downloaded deflate v0.7.18 [INFO] [stderr] Downloaded image v0.18.0 [INFO] [stderr] Downloaded rayon-core v1.4.0 [INFO] [stderr] Downloaded num-rational v0.1.42 [INFO] [stderr] Downloaded libc v0.2.40 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.1 [INFO] [stderr] Downloaded num_cpus v1.8.0 [INFO] [stderr] Downloaded arrayvec v0.4.7 [INFO] [stderr] Downloaded crossbeam-deque v0.2.0 [INFO] [stderr] Downloaded lazy_static v1.0.0 [INFO] [stderr] Downloaded bitflags v1.0.1 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded nodrop v0.1.12 [INFO] [stderr] Downloaded winapi v0.3.4 [INFO] [stderr] Downloaded crossbeam-utils v0.2.2 [INFO] [stderr] Downloaded inflate v0.3.4 [INFO] [stderr] Downloaded num-integer v0.1.36 [INFO] [stderr] Downloaded byteorder v1.2.2 [INFO] [stderr] Downloaded rayon v1.0.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c0d8f137ed40072ff9493af457caa5ef026aef8429d43217113226edc354a74 [INFO] running `Command { std: "docker" "start" "-a" "0c0d8f137ed40072ff9493af457caa5ef026aef8429d43217113226edc354a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c0d8f137ed40072ff9493af457caa5ef026aef8429d43217113226edc354a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0d8f137ed40072ff9493af457caa5ef026aef8429d43217113226edc354a74", kill_on_drop: false }` [INFO] [stdout] 0c0d8f137ed40072ff9493af457caa5ef026aef8429d43217113226edc354a74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afa529015056817e077c9929bdde05a5e6cb8250c822cd3eff5ef161db15a659 [INFO] running `Command { std: "docker" "start" "-a" "afa529015056817e077c9929bdde05a5e6cb8250c822cd3eff5ef161db15a659", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling getopts v0.2.17 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling xi-rope v0.0.0 (/opt/rustwide/workdir/rope) [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rope/src/tree.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn compute_info(&Self::L) -> Self; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::L` [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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rope/src/tree.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | fn measure(&N, usize) -> usize; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &N` [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] --> rope/src/tree.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | fn measure(&N, usize) -> usize; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [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 match arm expression [INFO] [stdout] --> rope/src/tree.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 206 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN) [INFO] [stdout] 206 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> rope/src/tree.rs:510:52 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 510 - pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] 510 + pub fn prev>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> rope/src/tree.rs:556:52 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 556 - pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] 556 + pub fn next>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> rope/src/interval.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(write!(f, "{}, {}", self.start(), self.end())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> rope/src/interval.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> rope/src/interval.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | try!(write!(f, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> rope/src/interval.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> rope/src/interval.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | try!(write!(f, ")")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> rope/src/lib.rs:412:33 [INFO] [stdout] | [INFO] [stdout] 412 | NodeVal::Leaf(_) => (self.len() >= MIN_LEAF), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 412 - NodeVal::Leaf(_) => (self.len() >= MIN_LEAF), [INFO] [stdout] 412 + NodeVal::Leaf(_) => self.len() >= MIN_LEAF, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> rope/src/lib.rs:413:46 [INFO] [stdout] | [INFO] [stdout] 413 | NodeVal::Internal(ref pieces) => (pieces.len() >= MIN_CHILDREN) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 413 - NodeVal::Internal(ref pieces) => (pieces.len() >= MIN_CHILDREN) [INFO] [stdout] 413 + NodeVal::Internal(ref pieces) => pieces.len() >= MIN_CHILDREN [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rope/src/tree.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | let mut node1 = Arc::make_mut(&mut rope1.0); [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] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> rope/src/rope.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct LinesMetric(usize); // number of lines [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/lib.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn iter_chunks(&self) -> ChunkIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 204 | pub fn iter_chunks(&self) -> ChunkIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/lib.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn lines_raw(&self) -> LinesRaw { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 246 | pub fn lines_raw(&self) -> LinesRaw<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/lib.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn lines(&self) -> Lines { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 263 | pub fn lines(&self) -> Lines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/delta.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> Iter<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/rope.rs:293:24 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn iter_chunks(&self, start: usize, end: usize) -> ChunkIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 293 | pub fn iter_chunks(&self, start: usize, end: usize) -> ChunkIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/rope.rs:304:22 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn lines_raw(&self, start: usize, end: usize) -> LinesRaw { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 304 | pub fn lines_raw(&self, start: usize, end: usize) -> LinesRaw<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/rope.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn lines(&self, start: usize, end: usize) -> Lines { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 321 | pub fn lines(&self, start: usize, end: usize) -> Lines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/spans.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn iter(&self) -> SpanIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 160 | pub fn iter(&self) -> SpanIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling endo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gene.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut gene = &mut genes[i]; [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: panic message is not a string literal [INFO] [stdout] --> src/main.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | Err(f) => { panic!(f.to_string()) } [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 28 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dna.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | fn rope_char_iter(rope: &Rope) -> RopeCharIter { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | fn rope_char_iter(rope: &Rope) -> RopeCharIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.80s [INFO] running `Command { std: "docker" "inspect" "afa529015056817e077c9929bdde05a5e6cb8250c822cd3eff5ef161db15a659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afa529015056817e077c9929bdde05a5e6cb8250c822cd3eff5ef161db15a659", kill_on_drop: false }` [INFO] [stdout] afa529015056817e077c9929bdde05a5e6cb8250c822cd3eff5ef161db15a659 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e633758d4898b56b941fc8c894ffdb702729b22c465d6b289f6f1ee8f62ab117 [INFO] running `Command { std: "docker" "start" "-a" "e633758d4898b56b941fc8c894ffdb702729b22c465d6b289f6f1ee8f62ab117", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rope/src/tree.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn compute_info(&Self::L) -> Self; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::L` [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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> rope/src/tree.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | fn measure(&N, usize) -> usize; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &N` [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] --> rope/src/tree.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | fn measure(&N, usize) -> usize; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [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 match arm expression [INFO] [stdout] --> rope/src/tree.rs:206:45 [INFO] [stdout] | [INFO] [stdout] 206 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 206 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN) [INFO] [stdout] 206 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> rope/src/tree.rs:510:52 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 510 - pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stdout] 510 + pub fn prev>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> rope/src/tree.rs:556:52 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 556 - pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stdout] 556 + pub fn next>(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> rope/src/interval.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(write!(f, "{}, {}", self.start(), self.end())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> rope/src/interval.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> rope/src/interval.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | try!(write!(f, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> rope/src/interval.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> rope/src/interval.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | try!(write!(f, ")")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> rope/src/lib.rs:412:33 [INFO] [stdout] | [INFO] [stdout] 412 | NodeVal::Leaf(_) => (self.len() >= MIN_LEAF), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 412 - NodeVal::Leaf(_) => (self.len() >= MIN_LEAF), [INFO] [stdout] 412 + NodeVal::Leaf(_) => self.len() >= MIN_LEAF, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> rope/src/lib.rs:413:46 [INFO] [stdout] | [INFO] [stdout] 413 | NodeVal::Internal(ref pieces) => (pieces.len() >= MIN_CHILDREN) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 413 - NodeVal::Internal(ref pieces) => (pieces.len() >= MIN_CHILDREN) [INFO] [stdout] 413 + NodeVal::Internal(ref pieces) => pieces.len() >= MIN_CHILDREN [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rope/src/tree.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | let mut node1 = Arc::make_mut(&mut rope1.0); [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: field `0` is never read [INFO] [stdout] --> rope/src/rope.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct LinesMetric(usize); // number of lines [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/lib.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn iter_chunks(&self) -> ChunkIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 204 | pub fn iter_chunks(&self) -> ChunkIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/lib.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn lines_raw(&self) -> LinesRaw { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 246 | pub fn lines_raw(&self) -> LinesRaw<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/lib.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn lines(&self) -> Lines { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 263 | pub fn lines(&self) -> Lines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/delta.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn iter(&self) -> Iter<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/rope.rs:293:24 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn iter_chunks(&self, start: usize, end: usize) -> ChunkIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 293 | pub fn iter_chunks(&self, start: usize, end: usize) -> ChunkIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/rope.rs:304:22 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn lines_raw(&self, start: usize, end: usize) -> LinesRaw { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 304 | pub fn lines_raw(&self, start: usize, end: usize) -> LinesRaw<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/rope.rs:321:18 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn lines(&self, start: usize, end: usize) -> Lines { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 321 | pub fn lines(&self, start: usize, end: usize) -> Lines<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> rope/src/spans.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn iter(&self) -> SpanIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 160 | pub fn iter(&self) -> SpanIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling endo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gene.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut gene = &mut genes[i]; [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: panic message is not a string literal [INFO] [stdout] --> src/main.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | Err(f) => { panic!(f.to_string()) } [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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 28 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dna.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | fn rope_char_iter(rope: &Rope) -> RopeCharIter { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | fn rope_char_iter(rope: &Rope) -> RopeCharIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "e633758d4898b56b941fc8c894ffdb702729b22c465d6b289f6f1ee8f62ab117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e633758d4898b56b941fc8c894ffdb702729b22c465d6b289f6f1ee8f62ab117", kill_on_drop: false }` [INFO] [stdout] e633758d4898b56b941fc8c894ffdb702729b22c465d6b289f6f1ee8f62ab117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f1bc20e2323233004694c9f2f0781077848f85da2c533ed9ade86ad2bac454e6 [INFO] running `Command { std: "docker" "start" "-a" "f1bc20e2323233004694c9f2f0781077848f85da2c533ed9ade86ad2bac454e6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> rope/src/tree.rs:44:21 [INFO] [stderr] | [INFO] [stderr] 44 | fn compute_info(&Self::L) -> Self; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::L` [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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> rope/src/tree.rs:120:16 [INFO] [stderr] | [INFO] [stderr] 120 | fn measure(&N, usize) -> usize; [INFO] [stderr] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &N` [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] --> rope/src/tree.rs:120:20 [INFO] [stderr] | [INFO] [stderr] 120 | fn measure(&N, usize) -> usize; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [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 match arm expression [INFO] [stderr] --> rope/src/tree.rs:206:45 [INFO] [stderr] | [INFO] [stderr] 206 | NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 206 - NodeVal::Internal(ref nodes) => (nodes.len() >= MIN_CHILDREN) [INFO] [stderr] 206 + NodeVal::Internal(ref nodes) => nodes.len() >= MIN_CHILDREN [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> rope/src/tree.rs:510:52 [INFO] [stderr] | [INFO] [stderr] 510 | pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 510 - pub fn prev>(&mut self) -> Option<(usize)> { [INFO] [stderr] 510 + pub fn prev>(&mut self) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> rope/src/tree.rs:556:52 [INFO] [stderr] | [INFO] [stderr] 556 | pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 556 - pub fn next>(&mut self) -> Option<(usize)> { [INFO] [stderr] 556 + pub fn next>(&mut self) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> rope/src/interval.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | try!(write!(f, "{}, {}", self.start(), self.end())); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> rope/src/interval.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | try!(write!(f, "[")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> rope/src/interval.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | try!(write!(f, "(")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> rope/src/interval.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | try!(write!(f, "]")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> rope/src/interval.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | try!(write!(f, ")")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> rope/src/lib.rs:412:33 [INFO] [stderr] | [INFO] [stderr] 412 | NodeVal::Leaf(_) => (self.len() >= MIN_LEAF), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 412 - NodeVal::Leaf(_) => (self.len() >= MIN_LEAF), [INFO] [stderr] 412 + NodeVal::Leaf(_) => self.len() >= MIN_LEAF, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> rope/src/lib.rs:413:46 [INFO] [stderr] | [INFO] [stderr] 413 | NodeVal::Internal(ref pieces) => (pieces.len() >= MIN_CHILDREN) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 413 - NodeVal::Internal(ref pieces) => (pieces.len() >= MIN_CHILDREN) [INFO] [stderr] 413 + NodeVal::Internal(ref pieces) => pieces.len() >= MIN_CHILDREN [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> rope/src/tree.rs:232:17 [INFO] [stderr] | [INFO] [stderr] 232 | let mut node1 = Arc::make_mut(&mut rope1.0); [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: field `0` is never read [INFO] [stderr] --> rope/src/rope.rs:137:24 [INFO] [stderr] | [INFO] [stderr] 137 | pub struct LinesMetric(usize); // number of lines [INFO] [stderr] | ----------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rope/src/lib.rs:204:24 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn iter_chunks(&self) -> ChunkIter { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 204 | pub fn iter_chunks(&self) -> ChunkIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rope/src/lib.rs:246:22 [INFO] [stderr] | [INFO] [stderr] 246 | pub fn lines_raw(&self) -> LinesRaw { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 246 | pub fn lines_raw(&self) -> LinesRaw<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rope/src/lib.rs:263:18 [INFO] [stderr] | [INFO] [stderr] 263 | pub fn lines(&self) -> Lines { [INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 263 | pub fn lines(&self) -> Lines<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rope/src/delta.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 56 | pub fn iter(&self) -> Iter<'_, N> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rope/src/rope.rs:293:24 [INFO] [stderr] | [INFO] [stderr] 293 | pub fn iter_chunks(&self, start: usize, end: usize) -> ChunkIter { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 293 | pub fn iter_chunks(&self, start: usize, end: usize) -> ChunkIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rope/src/rope.rs:304:22 [INFO] [stderr] | [INFO] [stderr] 304 | pub fn lines_raw(&self, start: usize, end: usize) -> LinesRaw { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 304 | pub fn lines_raw(&self, start: usize, end: usize) -> LinesRaw<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rope/src/rope.rs:321:18 [INFO] [stderr] | [INFO] [stderr] 321 | pub fn lines(&self, start: usize, end: usize) -> Lines { [INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 321 | pub fn lines(&self, start: usize, end: usize) -> Lines<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> rope/src/spans.rs:160:17 [INFO] [stderr] | [INFO] [stderr] 160 | pub fn iter(&self) -> SpanIter { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 160 | pub fn iter(&self) -> SpanIter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `xi-rope` (lib) generated 23 warnings (run `cargo fix --lib -p xi-rope` to apply 9 suggestions) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/gene.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | let mut gene = &mut genes[i]; [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: panic message is not a string literal [INFO] [stderr] --> src/main.rs:28:28 [INFO] [stderr] | [INFO] [stderr] 28 | Err(f) => { panic!(f.to_string()) } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 28 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/dna.rs:62:25 [INFO] [stderr] | [INFO] [stderr] 62 | fn rope_char_iter(rope: &Rope) -> RopeCharIter { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 62 | fn rope_char_iter(rope: &Rope) -> RopeCharIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `endo` (bin "endo" test) generated 3 warnings (run `cargo fix --bin "endo" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/endo-1434132c3c31913e) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test dna::consts_test ... ok [INFO] [stdout] test rna::current_pixel_2 ... ok [INFO] [stdout] test rna::current_pixel_1 ... ok [INFO] [stdout] test rna::current_pixel_3 ... ok [INFO] [stdout] test rna::current_pixel_4 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f1bc20e2323233004694c9f2f0781077848f85da2c533ed9ade86ad2bac454e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1bc20e2323233004694c9f2f0781077848f85da2c533ed9ade86ad2bac454e6", kill_on_drop: false }` [INFO] [stdout] f1bc20e2323233004694c9f2f0781077848f85da2c533ed9ade86ad2bac454e6