[INFO] cloning repository https://github.com/wmww/bft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wmww/bft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmww%2Fbft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmww%2Fbft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87e3b8dded2e49dd4faf75a9094bd3dba0ee3992 [INFO] checking wmww/bft against master#dfdbe30004a095ad63951c4cd6e10a9a971a7399 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmww%2Fbft" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wmww/bft on toolchain dfdbe30004a095ad63951c4cd6e10a9a971a7399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wmww/bft [INFO] finished tweaking git repo https://github.com/wmww/bft [INFO] tweaked toml for git repo https://github.com/wmww/bft written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wmww/bft 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" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking wmww/bft against master#ba824a2e25948a86596ccf7594afe548020e86e6 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmww%2Fbft" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wmww/bft on toolchain ba824a2e25948a86596ccf7594afe548020e86e6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wmww/bft [INFO] finished tweaking git repo https://github.com/wmww/bft [INFO] tweaked toml for git repo https://github.com/wmww/bft written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wmww/bft 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" "+ba824a2e25948a86596ccf7594afe548020e86e6" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking wmww/bft against master#ba824a2e25948a86596ccf7594afe548020e86e6 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmww%2Fbft" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wmww/bft on toolchain ba824a2e25948a86596ccf7594afe548020e86e6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wmww/bft [INFO] finished tweaking git repo https://github.com/wmww/bft [INFO] tweaked toml for git repo https://github.com/wmww/bft written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wmww/bft 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" "+ba824a2e25948a86596ccf7594afe548020e86e6" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking wmww/bft against master#ba824a2e25948a86596ccf7594afe548020e86e6 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmww%2Fbft" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wmww/bft on toolchain ba824a2e25948a86596ccf7594afe548020e86e6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wmww/bft [INFO] finished tweaking git repo https://github.com/wmww/bft [INFO] tweaked toml for git repo https://github.com/wmww/bft written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wmww/bft 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" "+ba824a2e25948a86596ccf7594afe548020e86e6" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96b33d3ef695cad5632bcaf645183eda30655a11173afef20e32c99ba92840ab [INFO] running `Command { std: "docker" "start" "-a" "96b33d3ef695cad5632bcaf645183eda30655a11173afef20e32c99ba92840ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96b33d3ef695cad5632bcaf645183eda30655a11173afef20e32c99ba92840ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b33d3ef695cad5632bcaf645183eda30655a11173afef20e32c99ba92840ab", kill_on_drop: false }` [INFO] [stdout] 96b33d3ef695cad5632bcaf645183eda30655a11173afef20e32c99ba92840ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95423fb1a2ca94d77069b3a2b43dd02c740a90b59cbe2338dfff12ebb0607f57 [INFO] running `Command { std: "docker" "start" "-a" "95423fb1a2ca94d77069b3a2b43dd02c740a90b59cbe2338dfff12ebb0607f57", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Checking bft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::colored::*` [INFO] [stdout] --> src/io/issue.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::colored::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/source/lexer.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | '0'...'9' | 'a'...'z' | 'A'...'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/source/lexer.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | '0'...'9' | 'a'...'z' | 'A'...'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/source/lexer.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | '0'...'9' | 'a'...'z' | 'A'...'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::colored::*` [INFO] [stdout] --> src/io/issue.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::colored::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/source/lexer.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | '0'...'9' | 'a'...'z' | 'A'...'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/source/lexer.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | '0'...'9' | 'a'...'z' | 'A'...'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/source/lexer.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | '0'...'9' | 'a'...'z' | 'A'...'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/source/file.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn open(path: &str, options: &io::Options) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | Err(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show_issue` is never used [INFO] [stdout] --> src/io/options.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Options { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn show_issue(&self, issue: &Issue) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Debug`, `InternalError`, `Warning`, and `Error` are never constructed [INFO] [stdout] --> src/io/severity.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Severity { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 5 | Debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Severity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_ptr`, `set_ptr`, and `queue_input_str` are never used [INFO] [stdout] --> src/runtime/debug.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 33 | / impl< [INFO] [stdout] 34 | | D: 'static [INFO] [stdout] 35 | | + Num [INFO] [stdout] 36 | | + NumOps [INFO] [stdout] ... | [INFO] [stdout] 43 | | + Copy, [INFO] [stdout] 44 | | > Runtime [INFO] [stdout] | |________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_ptr(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn set_ptr(&mut self, ptr: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn queue_input_str(&mut self, input: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/source/file.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl File { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn from_string(contents: String) -> File { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `between` and `issue` are never used [INFO] [stdout] --> src/source/span.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Span { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn between(a: &Span, b: &Span) -> Span { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn issue(&self, severity: io::Severity, message: &str) -> io::Issue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Generator` is never constructed [INFO] [stdout] --> src/source/span.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Generator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `skip`, `jump_to`, `reset`, and `span` are never used [INFO] [stdout] --> src/source/span.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Generator { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 161 | pub fn new(src: Rc) -> Generator { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn skip(&mut self, bytes: i32) -> &mut Generator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn jump_to(&mut self, byte: usize) -> &mut Generator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn reset(&mut self) -> &mut Generator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn span(&mut self, bytes: usize) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `String` is never constructed [INFO] [stdout] --> src/source/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | String(String, source::Span), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token` is never used [INFO] [stdout] --> src/source/token.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl runtime::Op { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 58 | pub fn token<'s>(self, span: source::Span) -> source::Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/source/file.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | let mut f = match std::fs::File::open(path.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/runtime/tests.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut s = ::source::span::Generator::new(source.clone()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/tests.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut s = ::source::span::Generator::new(source.clone()); [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/runtime/tests.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut tokens = ::source::lex(source); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/source/file.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn open(path: &str, options: &io::Options) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | Err(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show_issue` is never used [INFO] [stdout] --> src/io/options.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Options { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn show_issue(&self, issue: &Issue) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Debug`, `InternalError`, `Warning`, and `Error` are never constructed [INFO] [stdout] --> src/io/severity.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Severity { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 5 | Debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | InternalError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 7 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Severity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `between` and `issue` are never used [INFO] [stdout] --> src/source/span.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Span { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn between(a: &Span, b: &Span) -> Span { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn issue(&self, severity: io::Severity, message: &str) -> io::Issue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `jump_to` and `reset` are never used [INFO] [stdout] --> src/source/span.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Generator { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn jump_to(&mut self, byte: usize) -> &mut Generator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn reset(&mut self) -> &mut Generator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `String` is never constructed [INFO] [stdout] --> src/source/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | String(String, source::Span), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/source/file.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | let mut f = match std::fs::File::open(path.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "95423fb1a2ca94d77069b3a2b43dd02c740a90b59cbe2338dfff12ebb0607f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95423fb1a2ca94d77069b3a2b43dd02c740a90b59cbe2338dfff12ebb0607f57", kill_on_drop: false }` [INFO] [stdout] 95423fb1a2ca94d77069b3a2b43dd02c740a90b59cbe2338dfff12ebb0607f57