[INFO] fetching crate ninja-build 0.0.1... [INFO] checking ninja-build-0.0.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate ninja-build 0.0.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate ninja-build 0.0.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ninja-build 0.0.1 [INFO] finished tweaking crates.io crate ninja-build 0.0.1 [INFO] tweaked toml for crates.io crate ninja-build 0.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.16) [INFO] [stderr] Adding errno v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.5.0) [INFO] [stderr] Adding memchr v1.0.2 (latest: v2.7.4) [INFO] [stderr] Adding nom v3.2.1 (latest: v7.1.3) [INFO] [stderr] Adding proc-macro-hack v0.3.3 (latest: v0.5.20+deprecated) [INFO] [stderr] Adding proc-macro-hack-impl v0.3.3 (latest: v0.4.3) [INFO] [stderr] Adding quote v0.3.15 (latest: v1.0.37) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding syn v0.11.11 (latest: v2.0.77) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding unicode-xid v0.0.4 (latest: v0.2.5) [INFO] [stderr] Adding widestring v0.2.2 (latest: v1.1.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wstr v0.2.0 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.3.3 [INFO] [stderr] Downloaded murmurhash64 v0.3.1 [INFO] [stderr] Downloaded proc-macro-hack v0.3.3 [INFO] [stderr] Downloaded libc-spawn v0.0.1 [INFO] [stderr] Downloaded wstr_impl v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a31bfc5eb260a852d021eefdc7f84e1498ff8b873a549c716b87555b844d186 [INFO] running `Command { std: "docker" "start" "-a" "6a31bfc5eb260a852d021eefdc7f84e1498ff8b873a549c716b87555b844d186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a31bfc5eb260a852d021eefdc7f84e1498ff8b873a549c716b87555b844d186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a31bfc5eb260a852d021eefdc7f84e1498ff8b873a549c716b87555b844d186", kill_on_drop: false }` [INFO] [stdout] 6a31bfc5eb260a852d021eefdc7f84e1498ff8b873a549c716b87555b844d186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8b145db707935f1bf56e57372ba654de5de1ca2b634f652c98748c496ffa80c [INFO] running `Command { std: "docker" "start" "-a" "e8b145db707935f1bf56e57372ba654de5de1ca2b634f652c98748c496ffa80c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling libc-spawn v0.0.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking murmurhash64 v0.3.1 [INFO] [stderr] Checking ninja-build v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | b'A'...b'Z' => true, [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/utils.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | b'a'...b'z' => true, [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/utils.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | b'0'...b'9' => true, [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: `Cell` [INFO] [stdout] --> src/build.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Edge` [INFO] [stdout] --> src/build_log.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | use super::graph::{Edge, EdgeIndex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OsString` [INFO] [stdout] --> src/lexer.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | use std::ffi::{OsString, OsStr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'_' | b'-' => true, [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/lexer.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'_' | b'-' => true, [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/lexer.rs:81:41 [INFO] [stdout] | [INFO] [stdout] 81 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'_' | b'-' => true, [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/lexer.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'.' | b'_' | b'-' => true, [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/lexer.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'.' | b'_' | b'-' => true, [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/lexer.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'.' | b'_' | b'-' => true, [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: `PathBuf` [INFO] [stdout] --> src/manifest_parser.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OsString` [INFO] [stdout] --> src/manifest_parser.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::ffi::{OsString, OsStr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/state.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | use std::collections::{HashMap, HashSet, BTreeSet, BinaryHeap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/state.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | use std::cmp::{PartialOrd, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/subprocess.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/subprocess.rs:907:13 [INFO] [stdout] | [INFO] [stdout] 907 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | b'A'...b'Z' => true, [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/utils.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | b'a'...b'z' => true, [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/utils.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | b'0'...b'9' => true, [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: `Cell` [INFO] [stdout] --> src/build.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Edge` [INFO] [stdout] --> src/build_log.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | use super::graph::{Edge, EdgeIndex}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'_' | b'-' => true, [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/lexer.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'_' | b'-' => true, [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/lexer.rs:81:41 [INFO] [stdout] | [INFO] [stdout] 81 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'_' | b'-' => true, [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/lexer.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'.' | b'_' | b'-' => true, [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/lexer.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 88 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'.' | b'_' | b'-' => true, [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/lexer.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'.' | b'_' | b'-' => true, [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: `super::super::state::State` [INFO] [stdout] --> src/manifest_parser.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | use super::super::state::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::test::VirtualFileSystem` [INFO] [stdout] --> src/manifest_parser.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | use super::super::test::VirtualFileSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/state.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | use std::cmp::{PartialOrd, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/subprocess.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/subprocess.rs:907:13 [INFO] [stdout] | [INFO] [stdout] 907 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/utils.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | metric_record!("canonicalize str"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/utils.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | metric_record!("canonicalize path"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/build.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | metric_record!("StartEdge"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/build.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | metric_record!("FinishCommand"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest_parser.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | metric_record!(".ninja parse"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/disk_interface.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | metric_record!("node stat"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/state.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | metric_record!("lookup node"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/build.rs:396:32 [INFO] [stdout] | [INFO] [stdout] 396 | command_runner: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 396 | command_runner: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/build.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 397 | disk_interface: &'c dyn DiskInterface, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 | disk_interface: &'c dyn DiskInterface, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 466 | disk_interface: &'c dyn DiskInterface, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/manifest_parser.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | file_reader: &'a FileReader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | file_reader: &'a dyn FileReader, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/build.rs:411:29 [INFO] [stdout] | [INFO] [stdout] 411 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 411 | disk_interface: &'c dyn DiskInterface, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:376:59 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn new(deps_log: &'b DepsLog, disk_interface: &'c DiskInterface) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 376 | pub fn new(deps_log: &'b DepsLog, disk_interface: &'c dyn DiskInterface) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:477:29 [INFO] [stdout] | [INFO] [stdout] 477 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 477 | disk_interface: &'c dyn DiskInterface, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/manifest_parser.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | file_reader: &'a FileReader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | file_reader: &'a dyn FileReader, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/manifest_parser.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | file_reader: &'a FileReader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | file_reader: &'a dyn FileReader, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn stat(&mut self, disk_interface: &DiskInterface) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 | pub fn stat(&mut self, disk_interface: &dyn DiskInterface) -> Result<(), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:168:58 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn stat_if_necessary(&mut self, disk_interface: &DiskInterface) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 | pub fn stat_if_necessary(&mut self, disk_interface: &dyn DiskInterface) -> Result<(), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/utils.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | metric_record!("canonicalize str"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/utils.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | metric_record!("canonicalize path"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/build.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | metric_record!("StartEdge"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/build.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | metric_record!("FinishCommand"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | / lazy_static! { [INFO] [stdout] 126 | | static ref FAKE_FILENAME: OsString = "input".into(); [INFO] [stdout] 127 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval_env.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | env: &Env, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 | env: &dyn Env, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest_parser.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | metric_record!(".ninja parse"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest_parser.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | / lazy_static! { [INFO] [stdout] 141 | | static ref FAKE_FILENAME : OsString = OsString::from("input"); [INFO] [stdout] 142 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/disk_interface.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | metric_record!("node stat"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/state.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | metric_record!("lookup node"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `metric_record` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/build.rs:396:32 [INFO] [stdout] | [INFO] [stdout] 396 | command_runner: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 396 | command_runner: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/build.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 397 | disk_interface: &'c dyn DiskInterface, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 | disk_interface: &'c dyn DiskInterface, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 466 | disk_interface: &'c dyn DiskInterface, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/manifest_parser.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | file_reader: &'a FileReader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | file_reader: &'a dyn FileReader, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/build.rs:411:29 [INFO] [stdout] | [INFO] [stdout] 411 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 411 | disk_interface: &'c dyn DiskInterface, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:376:59 [INFO] [stdout] | [INFO] [stdout] 376 | pub fn new(deps_log: &'b DepsLog, disk_interface: &'c DiskInterface) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 376 | pub fn new(deps_log: &'b DepsLog, disk_interface: &'c dyn DiskInterface) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:477:29 [INFO] [stdout] | [INFO] [stdout] 477 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 477 | disk_interface: &'c dyn DiskInterface, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/manifest_parser.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | file_reader: &'a FileReader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | file_reader: &'a dyn FileReader, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/manifest_parser.rs:83:26 [INFO] [stdout] | [INFO] [stdout] 83 | file_reader: &'a FileReader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | file_reader: &'a dyn FileReader, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/utils.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | libc::exit(1); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 106 | } [INFO] [stdout] 107 | unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::unreachable_2015` which comes from the expansion of the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn stat(&mut self, disk_interface: &DiskInterface) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 | pub fn stat(&mut self, disk_interface: &dyn DiskInterface) -> Result<(), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph.rs:168:58 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn stat_if_necessary(&mut self, disk_interface: &DiskInterface) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 168 | pub fn stat_if_necessary(&mut self, disk_interface: &dyn DiskInterface) -> Result<(), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eval_env.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | env: &Env, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 | env: &dyn Env, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build.rs:845:13 [INFO] [stdout] | [INFO] [stdout] 844 | return Ok(Vec::new()); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 845 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build.rs:891:13 [INFO] [stdout] | [INFO] [stdout] 890 | return Ok(Vec::new()); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 891 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/build.rs:894:13 [INFO] [stdout] | [INFO] [stdout] 894 | unreachable!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | $crate::utils::exit(); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build.rs:992:9 [INFO] [stdout] | [INFO] [stdout] 991 | return v; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 992 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/build.rs:1095:9 [INFO] [stdout] | [INFO] [stdout] 1094 | return (start_time, end_time); [INFO] [stdout] | ----------------------------- any code following this expression is unreachable [INFO] [stdout] 1095 | unimplemented!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build.rs:1108:9 [INFO] [stdout] | [INFO] [stdout] 1107 | return Vec::new(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 1108 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/graph.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 420 | return Ok(false); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 421 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build_log.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 62 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build_log.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 84 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build_log.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | return Ok(None); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 94 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build_log.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 99 | return None; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 100 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/deps_log.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | return Ok(None); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 68 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/deps_log.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 73 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/deps_log.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 84 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/utils.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | libc::exit(1); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 106 | } [INFO] [stdout] 107 | unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::unreachable_2015` which comes from the expansion of the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build.rs:845:13 [INFO] [stdout] | [INFO] [stdout] 844 | return Ok(Vec::new()); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 845 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build.rs:891:13 [INFO] [stdout] | [INFO] [stdout] 890 | return Ok(Vec::new()); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 891 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/build.rs:894:13 [INFO] [stdout] | [INFO] [stdout] 894 | unreachable!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | $crate::utils::exit(); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build.rs:992:9 [INFO] [stdout] | [INFO] [stdout] 991 | return v; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 992 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/build.rs:1095:9 [INFO] [stdout] | [INFO] [stdout] 1094 | return (start_time, end_time); [INFO] [stdout] | ----------------------------- any code following this expression is unreachable [INFO] [stdout] 1095 | unimplemented!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build.rs:1108:9 [INFO] [stdout] | [INFO] [stdout] 1107 | return Vec::new(); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] 1108 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/graph.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 420 | return Ok(false); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 421 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build_log.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 62 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build_log.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 84 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build_log.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | return Ok(None); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 94 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/build_log.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 99 | return None; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 100 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/deps_log.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | return Ok(None); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 68 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/deps_log.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 73 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/deps_log.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 84 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/disk_interface.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 190 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 191 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/subprocess.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 834 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 835 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/line_printer.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 179 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 180 | unimplemented!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/eval_env.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scan` [INFO] [stdout] --> src/build.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | scan: &DependencyScan, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_scan` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `State` [INFO] [stdout] --> src/build.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | State: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_idx` [INFO] [stdout] --> src/build.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | node_idx: NodeIndex, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/build.rs:744:27 [INFO] [stdout] | [INFO] [stdout] 744 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/build.rs:763:27 [INFO] [stdout] | [INFO] [stdout] 763 | .map_err(|e| format!("Error writing to deps log: {}", errno::errno()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/build.rs:824:9 [INFO] [stdout] | [INFO] [stdout] 824 | result: &mut CommandRunnerResult, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps_prefix` [INFO] [stdout] --> src/build.rs:826:9 [INFO] [stdout] | [INFO] [stdout] 826 | deps_prefix: &[u8], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deps_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/build.rs:1028:9 [INFO] [stdout] | [INFO] [stdout] 1028 | success: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/build.rs:1029:9 [INFO] [stdout] | [INFO] [stdout] 1029 | output: &[u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress_status_format` [INFO] [stdout] --> src/build.rs:1104:9 [INFO] [stdout] | [INFO] [stdout] 1104 | progress_status_format: &[u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_status_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/build.rs:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | status: BuildStatusEdgeStatus, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/graph.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_idx` [INFO] [stdout] --> src/graph.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | edge_idx: EdgeIndex, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/graph.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | path: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/graph.rs:419:38 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn load_deps_from_log(&self, state: &State, edge_idx: EdgeIndex) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_idx` [INFO] [stdout] --> src/graph.rs:419:53 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn load_deps_from_log(&self, state: &State, edge_idx: EdgeIndex) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_entry` [INFO] [stdout] --> src/graph.rs:805:25 [INFO] [stdout] | [INFO] [stdout] 805 | if let Some(found_entry) = entry { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/graph.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | command: &[u8], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/build_log.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | path: &Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/build_log.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | user: &User, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/build_log.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_idx` [INFO] [stdout] --> src/build_log.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | edge_idx: EdgeIndex, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/build_log.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | start_time: u64, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/build_log.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | end_time: u64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mtime` [INFO] [stdout] --> src/build_log.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | mtime: TimeStamp, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/build_log.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn load(&mut self, path: &Path) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/build_log.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn lookup_by_output(&self, path: &[u8]) -> Option<&BuildLogEntry> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/build_log.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn write_entry(&self, f: &W, entry: &BuildLogEntry) -> Result<(), ()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/build_log.rs:104:48 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn write_entry(&self, f: &W, entry: &BuildLogEntry) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/build_log.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn recompact(&self, path: &Path, user: &User) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/build_log.rs:109:62 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn recompact(&self, path: &Path, user: &User) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/build_log.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new_with_output(output: &str) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/build_log.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | output: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_hash` [INFO] [stdout] --> src/build_log.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | command_hash: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/build_log.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | start_time: isize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/build_log.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | end_time: isize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `restat_mtime` [INFO] [stdout] --> src/build_log.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | restat_mtime: TimeStamp, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_restat_mtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/build_log.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn hash_command(command: &str) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/deps_log.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn load(&mut self, path: &Path, state: &mut State) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/deps_log.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn load(&mut self, path: &Path, state: &mut State) -> Result, String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/deps_log.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn open_for_write(&self, path: &Path) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/deps_log.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_idx` [INFO] [stdout] --> src/deps_log.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | node_idx: NodeIndex, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mtime` [INFO] [stdout] --> src/deps_log.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | mtime: TimeStamp, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/deps_log.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | nodes: &[NodeIndex], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/deps_log.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn recompact(&self, path: &Path) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/disk_interface.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 190 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 191 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/subprocess.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 834 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 835 | unimplemented!{} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/line_printer.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 179 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 180 | unimplemented!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/eval_env.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/disk_interface.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | fn write_file(&self, path: &Path, contents: &[u8]) -> Result<(), ()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/disk_interface.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | fn write_file(&self, path: &Path, contents: &[u8]) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allow` [INFO] [stdout] --> src/disk_interface.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn allow_stat_cache(&self, allow: bool) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_allow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/test.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | fn make_dir(&self, path: &Path) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/test.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | fn make_dirs(&self, path: &Path) -> Result<(), io::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/test.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | fn stat(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/test.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 199 | fn write_file(&self, path: &Path, contents: &[u8]) -> Result<(), ()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/test.rs:199:39 [INFO] [stdout] | [INFO] [stdout] 199 | fn write_file(&self, path: &Path, contents: &[u8]) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/test.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | fn remove_file(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/state.rs:385:35 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn spellcheck_node(&self, path: &[u8]) -> Option<&[u8]> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scan` [INFO] [stdout] --> src/build.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | scan: &DependencyScan, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_scan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `State` [INFO] [stdout] --> src/build.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | State: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_State` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_idx` [INFO] [stdout] --> src/build.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | node_idx: NodeIndex, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/build.rs:744:27 [INFO] [stdout] | [INFO] [stdout] 744 | .map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/build.rs:763:27 [INFO] [stdout] | [INFO] [stdout] 763 | .map_err(|e| format!("Error writing to deps log: {}", errno::errno()))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsVacant` is never used [INFO] [stdout] --> src/build.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | trait IsVacant { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/build.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl Plan { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EdgeFinished` is never constructed [INFO] [stdout] --> src/build.rs:947:5 [INFO] [stdout] | [INFO] [stdout] 945 | enum BuildStatusEdgeStatus { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] 946 | EdgeStarted, [INFO] [stdout] 947 | EdgeFinished, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rate` is never read [INFO] [stdout] --> src/build.rs:1163:5 [INFO] [stdout] | [INFO] [stdout] 1162 | struct RateInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 1163 | rate: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rate`, `max_len`, `times`, and `last_update` are never read [INFO] [stdout] --> src/build.rs:1201:5 [INFO] [stdout] | [INFO] [stdout] 1200 | struct SlidingRateInfo { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 1201 | rate: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1202 | stopwatch: Stopwatch, [INFO] [stdout] 1203 | max_len: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1204 | times: VecDeque, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1205 | last_update: isize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `disk_interface` is never read [INFO] [stdout] --> src/graph.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 370 | struct ImplicitDepLoader<'b, 'c> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 371 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `deps_log` is never read [INFO] [stdout] --> src/graph.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 460 | pub struct DependencyScan<'s, 'a, 'b, 'c> [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 465 | deps_log: &'b DepsLog, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `needs_recompaction` is never read [INFO] [stdout] --> src/build_log.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct BuildLog<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | needs_recompaction: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `none` and `invalid` are never used [INFO] [stdout] --> src/timestamp.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl TimeStamp { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 22 | fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn invalid() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/metrics.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Metric { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra` is never read [INFO] [stdout] --> src/line_printer.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct LinePrinter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | extra: LinePrinterOs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/build.rs:824:9 [INFO] [stdout] | [INFO] [stdout] 824 | result: &mut CommandRunnerResult, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps_prefix` [INFO] [stdout] --> src/build.rs:826:9 [INFO] [stdout] | [INFO] [stdout] 826 | deps_prefix: &[u8], [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deps_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `State` should have a snake case name [INFO] [stdout] --> src/build.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | State: &State, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/build.rs:1028:9 [INFO] [stdout] | [INFO] [stdout] 1028 | success: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/build.rs:1029:9 [INFO] [stdout] | [INFO] [stdout] 1029 | output: &[u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress_status_format` [INFO] [stdout] --> src/build.rs:1104:9 [INFO] [stdout] | [INFO] [stdout] 1104 | progress_status_format: &[u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_status_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/build.rs:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | status: BuildStatusEdgeStatus, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/state.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | self.depth >= 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/build.rs:2148:19 [INFO] [stdout] | [INFO] [stdout] 2148 | .map(|i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/graph.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_idx` [INFO] [stdout] --> src/graph.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | edge_idx: EdgeIndex, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/graph.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | path: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/graph.rs:419:38 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn load_deps_from_log(&self, state: &State, edge_idx: EdgeIndex) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_idx` [INFO] [stdout] --> src/graph.rs:419:53 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn load_deps_from_log(&self, state: &State, edge_idx: EdgeIndex) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 122 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_entry` [INFO] [stdout] --> src/graph.rs:805:25 [INFO] [stdout] | [INFO] [stdout] 805 | if let Some(found_entry) = entry { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/graph.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | command: &[u8], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/build_log.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | path: &Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/build_log.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | user: &User, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/build_log.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_idx` [INFO] [stdout] --> src/build_log.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | edge_idx: EdgeIndex, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/build_log.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | start_time: u64, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/build_log.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | end_time: u64, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mtime` [INFO] [stdout] --> src/build_log.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | mtime: TimeStamp, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/build_log.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn load(&mut self, path: &Path) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/build_log.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn lookup_by_output(&self, path: &[u8]) -> Option<&BuildLogEntry> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/build_log.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn write_entry(&self, f: &W, entry: &BuildLogEntry) -> Result<(), ()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry` [INFO] [stdout] --> src/build_log.rs:104:48 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn write_entry(&self, f: &W, entry: &BuildLogEntry) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/build_log.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn recompact(&self, path: &Path, user: &User) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/build_log.rs:109:62 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn recompact(&self, path: &Path, user: &User) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/build_log.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn new_with_output(output: &str) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/build_log.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | output: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_hash` [INFO] [stdout] --> src/build_log.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | command_hash: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/build_log.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | start_time: isize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/build_log.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | end_time: isize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `restat_mtime` [INFO] [stdout] --> src/build_log.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | restat_mtime: TimeStamp, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_restat_mtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/build_log.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn hash_command(command: &str) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/deps_log.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn load(&mut self, path: &Path, state: &mut State) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/deps_log.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn load(&mut self, path: &Path, state: &mut State) -> Result, String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/deps_log.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn open_for_write(&self, path: &Path) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/deps_log.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | state: &State, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_idx` [INFO] [stdout] --> src/deps_log.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | node_idx: NodeIndex, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mtime` [INFO] [stdout] --> src/deps_log.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | mtime: TimeStamp, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/deps_log.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | nodes: &[NodeIndex], [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/deps_log.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn recompact(&self, path: &Path) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/ninja.rs:568:5 [INFO] [stdout] | [INFO] [stdout] 568 | / lazy_static! { [INFO] [stdout] 569 | | static ref GUESSED_PARALLELISM : usize = guess_parallelism(); [INFO] [stdout] 570 | | static ref DEFAULT_PARALLELISM : String = GUESSED_PARALLELISM.to_string(); [INFO] [stdout] 571 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/ninja.rs:568:5 [INFO] [stdout] | [INFO] [stdout] 568 | / lazy_static! { [INFO] [stdout] 569 | | static ref GUESSED_PARALLELISM : usize = guess_parallelism(); [INFO] [stdout] 570 | | static ref DEFAULT_PARALLELISM : String = GUESSED_PARALLELISM.to_string(); [INFO] [stdout] 571 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/ninja.rs:568:5 [INFO] [stdout] | [INFO] [stdout] 568 | / lazy_static! { [INFO] [stdout] 569 | | static ref GUESSED_PARALLELISM : usize = guess_parallelism(); [INFO] [stdout] 570 | | static ref DEFAULT_PARALLELISM : String = GUESSED_PARALLELISM.to_string(); [INFO] [stdout] 571 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/ninja.rs:568:5 [INFO] [stdout] | [INFO] [stdout] 568 | / lazy_static! { [INFO] [stdout] 569 | | static ref GUESSED_PARALLELISM : usize = guess_parallelism(); [INFO] [stdout] 570 | | static ref DEFAULT_PARALLELISM : String = GUESSED_PARALLELISM.to_string(); [INFO] [stdout] 571 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/ninja.rs:397:28 [INFO] [stdout] | [INFO] [stdout] 397 | fn is_path_dead(&self, s: &str) -> bool { [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: unused variable: `name` [INFO] [stdout] --> src/bin/ninja.rs:460:17 [INFO] [stdout] | [INFO] [stdout] 460 | fn debug_enable(name: &str) -> Result<(), isize> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/bin/ninja.rs:464:19 [INFO] [stdout] | [INFO] [stdout] 464 | fn warning_enable(name: &str) -> Result<(), isize> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subcommand` [INFO] [stdout] --> src/bin/ninja.rs:468:16 [INFO] [stdout] | [INFO] [stdout] 468 | fn choose_tool(subcommand: &[&str]) -> Result, isize> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subcommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/ninja.rs:702:84 [INFO] [stdout] | [INFO] [stdout] 702 | let load_average_limit = load_average_limit.parse::().unwrap_or_else(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/ninja.rs:397:28 [INFO] [stdout] | [INFO] [stdout] 397 | fn is_path_dead(&self, s: &str) -> bool { [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: fields `name` and `desc` are never read [INFO] [stdout] --> src/bin/ninja.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct Tool<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 79 | /// Short name of the tool. [INFO] [stdout] 80 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | desc: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ninja_command` is never read [INFO] [stdout] --> src/bin/ninja.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct NinjaMain<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 95 | /// Command line used to run Ninja. [INFO] [stdout] 96 | ninja_command: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/bin/ninja.rs:460:17 [INFO] [stdout] | [INFO] [stdout] 460 | fn debug_enable(name: &str) -> Result<(), isize> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/bin/ninja.rs:464:19 [INFO] [stdout] | [INFO] [stdout] 464 | fn warning_enable(name: &str) -> Result<(), isize> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subcommand` [INFO] [stdout] --> src/bin/ninja.rs:468:16 [INFO] [stdout] | [INFO] [stdout] 468 | fn choose_tool(subcommand: &[&str]) -> Result, isize> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subcommand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/ninja.rs:702:84 [INFO] [stdout] | [INFO] [stdout] 702 | let load_average_limit = load_average_limit.parse::().unwrap_or_else(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `desc` are never read [INFO] [stdout] --> src/bin/ninja.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct Tool<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 79 | /// Short name of the tool. [INFO] [stdout] 80 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | desc: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ninja_command` is never read [INFO] [stdout] --> src/bin/ninja.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 94 | struct NinjaMain<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 95 | /// Command line used to run Ninja. [INFO] [stdout] 96 | ninja_command: &'a Path, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/disk_interface.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | fn write_file(&self, path: &Path, contents: &[u8]) -> Result<(), ()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/disk_interface.rs:172:39 [INFO] [stdout] | [INFO] [stdout] 172 | fn write_file(&self, path: &Path, contents: &[u8]) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allow` [INFO] [stdout] --> src/disk_interface.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn allow_stat_cache(&self, allow: bool) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_allow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/state.rs:385:35 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn spellcheck_node(&self, path: &[u8]) -> Option<&[u8]> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `directories_made` and `files_removed` are never read [INFO] [stdout] --> src/test.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct VirtualFileSystem { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 130 | directories_made: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | files_removed: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mtime` and `stat_error` are never read [INFO] [stdout] --> src/test.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct VirtualFileSystemEntry { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 141 | mtime: isize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 142 | stat_error: String, // If mtime is -1. [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsVacant` is never used [INFO] [stdout] --> src/build.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | trait IsVacant { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/build.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl Plan { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EdgeFinished` is never constructed [INFO] [stdout] --> src/build.rs:947:5 [INFO] [stdout] | [INFO] [stdout] 945 | enum BuildStatusEdgeStatus { [INFO] [stdout] | --------------------- variant in this enum [INFO] [stdout] 946 | EdgeStarted, [INFO] [stdout] 947 | EdgeFinished, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rate` is never read [INFO] [stdout] --> src/build.rs:1163:5 [INFO] [stdout] | [INFO] [stdout] 1162 | struct RateInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 1163 | rate: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rate`, `max_len`, `times`, and `last_update` are never read [INFO] [stdout] --> src/build.rs:1201:5 [INFO] [stdout] | [INFO] [stdout] 1200 | struct SlidingRateInfo { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 1201 | rate: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1202 | stopwatch: Stopwatch, [INFO] [stdout] 1203 | max_len: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1204 | times: VecDeque, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1205 | last_update: isize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `disk_interface` is never read [INFO] [stdout] --> src/graph.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 370 | struct ImplicitDepLoader<'b, 'c> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 371 | disk_interface: &'c DiskInterface, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `deps_log` is never read [INFO] [stdout] --> src/graph.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 460 | pub struct DependencyScan<'s, 'a, 'b, 'c> [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 465 | deps_log: &'b DepsLog, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `needs_recompaction` is never read [INFO] [stdout] --> src/build_log.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct BuildLog<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | needs_recompaction: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `none` and `invalid` are never used [INFO] [stdout] --> src/timestamp.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl TimeStamp { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 22 | fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn invalid() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/metrics.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Metric { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extra` is never read [INFO] [stdout] --> src/line_printer.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct LinePrinter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | extra: LinePrinterOs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `State` should have a snake case name [INFO] [stdout] --> src/build.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | State: &State, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/manifest_parser.rs:2046:29 [INFO] [stdout] | [INFO] [stdout] 2046 | for input in inputs.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 2046 | for input in inputs.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 2046 - for input in inputs.into_iter() { [INFO] [stdout] 2046 + for input in inputs { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/state.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | self.depth >= 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 132 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e8b145db707935f1bf56e57372ba654de5de1ca2b634f652c98748c496ffa80c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b145db707935f1bf56e57372ba654de5de1ca2b634f652c98748c496ffa80c", kill_on_drop: false }` [INFO] [stdout] e8b145db707935f1bf56e57372ba654de5de1ca2b634f652c98748c496ffa80c