[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] building wmww/bft against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmww%2Fbft" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wmww/bft on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-5-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6f4333467d91e39488602b4b7fafd0321d50a72b1ea5c1a4ea44b7a92bd1569 [INFO] running `Command { std: "docker" "start" "-a" "d6f4333467d91e39488602b4b7fafd0321d50a72b1ea5c1a4ea44b7a92bd1569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6f4333467d91e39488602b4b7fafd0321d50a72b1ea5c1a4ea44b7a92bd1569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f4333467d91e39488602b4b7fafd0321d50a72b1ea5c1a4ea44b7a92bd1569", kill_on_drop: false }` [INFO] [stdout] d6f4333467d91e39488602b4b7fafd0321d50a72b1ea5c1a4ea44b7a92bd1569 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1820f8b48694cebe05dba26a44a8c48dfc168cf8249eb3685231f37844f4f63c [INFO] running `Command { std: "docker" "start" "-a" "1820f8b48694cebe05dba26a44a8c48dfc168cf8249eb3685231f37844f4f63c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling colored v1.6.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.45s [INFO] running `Command { std: "docker" "inspect" "1820f8b48694cebe05dba26a44a8c48dfc168cf8249eb3685231f37844f4f63c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1820f8b48694cebe05dba26a44a8c48dfc168cf8249eb3685231f37844f4f63c", kill_on_drop: false }` [INFO] [stdout] 1820f8b48694cebe05dba26a44a8c48dfc168cf8249eb3685231f37844f4f63c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f74f78c34892cce77f2b8c7b6052d8f3388e4d92b000dc1b18cc3e384e4e286 [INFO] running `Command { std: "docker" "start" "-a" "9f74f78c34892cce77f2b8c7b6052d8f3388e4d92b000dc1b18cc3e384e4e286", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "9f74f78c34892cce77f2b8c7b6052d8f3388e4d92b000dc1b18cc3e384e4e286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f74f78c34892cce77f2b8c7b6052d8f3388e4d92b000dc1b18cc3e384e4e286", kill_on_drop: false }` [INFO] [stdout] 9f74f78c34892cce77f2b8c7b6052d8f3388e4d92b000dc1b18cc3e384e4e286