[INFO] fetching crate ninja-build 0.0.1... [INFO] testing ninja-build-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ninja-build 0.0.1 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ninja-build 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 44 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.1) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.40) [INFO] [stderr] Adding errno v0.2.8 (available: v0.3.13) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding nom v3.2.1 (available: v8.0.0) [INFO] [stderr] Adding widestring v0.2.2 (available: v1.2.0) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-hack v0.3.3 [INFO] [stderr] Downloaded libc-spawn v0.0.1 [INFO] [stderr] Downloaded murmurhash64 v0.3.1 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.3.3 [INFO] [stderr] Downloaded wstr_impl v0.2.0 [INFO] [stderr] Downloaded wstr v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc1d6e31b47ac01a8e7ac8c1f413e903966d58624c662ef91b72d643e27014be [INFO] running `Command { std: "docker" "start" "-a" "cc1d6e31b47ac01a8e7ac8c1f413e903966d58624c662ef91b72d643e27014be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc1d6e31b47ac01a8e7ac8c1f413e903966d58624c662ef91b72d643e27014be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc1d6e31b47ac01a8e7ac8c1f413e903966d58624c662ef91b72d643e27014be", kill_on_drop: false }` [INFO] [stdout] cc1d6e31b47ac01a8e7ac8c1f413e903966d58624c662ef91b72d643e27014be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f2925d3bf6847ab7cb2ec1b344d9ec5be4cd3d18d6acd9057108836dee8377d5 [INFO] running `Command { std: "docker" "start" "-a" "f2925d3bf6847ab7cb2ec1b344d9ec5be4cd3d18d6acd9057108836dee8377d5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling libc-spawn v0.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling murmurhash64 v0.3.1 [INFO] [stderr] Compiling 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: 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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/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] [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] [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: 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: 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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn get_binding(&self, node_state: &NodeState, key: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 281 | pub fn get_binding(&self, node_state: &NodeState, key: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:291:34 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn get_unescaped_depfile(&self, node_state: &NodeState) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 291 | pub fn get_unescaped_depfile(&self, node_state: &NodeState) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:297:34 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn get_unescaped_rspfile(&self, node_state: &NodeState) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 297 | pub fn get_unescaped_rspfile(&self, node_state: &NodeState) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:949:24 [INFO] [stdout] | [INFO] [stdout] 949 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 949 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]>; [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn lookup_rule(&self, rule_name: &[u8]) -> Option>> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn lookup_rule(&self, rule_name: &[u8]) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 215 | ) -> Cow<[u8]> { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 215 | ) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 231 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 231 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]> { [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: 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.30s [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" "f2925d3bf6847ab7cb2ec1b344d9ec5be4cd3d18d6acd9057108836dee8377d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2925d3bf6847ab7cb2ec1b344d9ec5be4cd3d18d6acd9057108836dee8377d5", kill_on_drop: false }` [INFO] [stdout] f2925d3bf6847ab7cb2ec1b344d9ec5be4cd3d18d6acd9057108836dee8377d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b3eb92421f1fa1a95ea42163a7214843069195fe48be2eb368a97fb8fa269047 [INFO] running `Command { std: "docker" "start" "-a" "b3eb92421f1fa1a95ea42163a7214843069195fe48be2eb368a97fb8fa269047", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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/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] [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] [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] [stderr] Compiling ninja-build v0.0.1 (/opt/rustwide/workdir) [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: 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: 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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn get_binding(&self, node_state: &NodeState, key: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 281 | pub fn get_binding(&self, node_state: &NodeState, key: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:291:34 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn get_unescaped_depfile(&self, node_state: &NodeState) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 291 | pub fn get_unescaped_depfile(&self, node_state: &NodeState) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:297:34 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn get_unescaped_rspfile(&self, node_state: &NodeState) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 297 | pub fn get_unescaped_rspfile(&self, node_state: &NodeState) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:949:24 [INFO] [stdout] | [INFO] [stdout] 949 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 949 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]>; [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn lookup_rule(&self, rule_name: &[u8]) -> Option>> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn lookup_rule(&self, rule_name: &[u8]) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 215 | ) -> Cow<[u8]> { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 215 | ) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 231 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 231 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]> { [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: 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: 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: 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: 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: 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: 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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/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] [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] [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: `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: `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: 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: `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: 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: 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn get_binding(&self, node_state: &NodeState, key: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 281 | pub fn get_binding(&self, node_state: &NodeState, key: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:291:34 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn get_unescaped_depfile(&self, node_state: &NodeState) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 291 | pub fn get_unescaped_depfile(&self, node_state: &NodeState) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:297:34 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn get_unescaped_rspfile(&self, node_state: &NodeState) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 297 | pub fn get_unescaped_rspfile(&self, node_state: &NodeState) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:949:24 [INFO] [stdout] | [INFO] [stdout] 949 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 949 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]>; [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 25 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn lookup_rule(&self, rule_name: &[u8]) -> Option>> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn lookup_rule(&self, rule_name: &[u8]) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 215 | ) -> Cow<[u8]> { [INFO] [stdout] | --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 215 | ) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/eval_env.rs:231:24 [INFO] [stdout] | [INFO] [stdout] 231 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 231 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [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.into_iter() { [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.84s [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" "b3eb92421f1fa1a95ea42163a7214843069195fe48be2eb368a97fb8fa269047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3eb92421f1fa1a95ea42163a7214843069195fe48be2eb368a97fb8fa269047", kill_on_drop: false }` [INFO] [stdout] b3eb92421f1fa1a95ea42163a7214843069195fe48be2eb368a97fb8fa269047 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e954932dcb37ecc7de3213f9ff4d9111f02c4fc3b735b357f8878145b8a95325 [INFO] running `Command { std: "docker" "start" "-a" "e954932dcb37ecc7de3213f9ff4d9111f02c4fc3b735b357f8878145b8a95325", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/utils.rs:442:13 [INFO] [stderr] | [INFO] [stderr] 442 | b'A'...b'Z' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/utils.rs:443:13 [INFO] [stderr] | [INFO] [stderr] 443 | b'a'...b'z' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/utils.rs:444:13 [INFO] [stderr] | [INFO] [stderr] 444 | b'0'...b'9' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused import: `Cell` [INFO] [stderr] --> src/build.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | use std::cell::{Cell, RefCell}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Edge` [INFO] [stderr] --> src/build_log.rs:22:20 [INFO] [stderr] | [INFO] [stderr] 22 | use super::graph::{Edge, EdgeIndex}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `OsString` [INFO] [stderr] --> src/lexer.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | use std::ffi::{OsString, OsStr}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'_' | b'-' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:81:27 [INFO] [stderr] | [INFO] [stderr] 81 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'_' | b'-' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:81:41 [INFO] [stderr] | [INFO] [stderr] 81 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'_' | b'-' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'.' | b'_' | b'-' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:88:27 [INFO] [stderr] | [INFO] [stderr] 88 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'.' | b'_' | b'-' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lexer.rs:88:41 [INFO] [stderr] | [INFO] [stderr] 88 | b'a'...b'z' | b'A'...b'Z' | b'0'...b'9' | b'.' | b'_' | b'-' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused import: `PathBuf` [INFO] [stderr] --> src/manifest_parser.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `OsString` [INFO] [stderr] --> src/manifest_parser.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | use std::ffi::{OsString, OsStr}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> src/state.rs:18:33 [INFO] [stderr] | [INFO] [stderr] 18 | use std::collections::{HashMap, HashSet, BTreeSet, BinaryHeap}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Ordering` [INFO] [stderr] --> src/state.rs:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | use std::cmp::{PartialOrd, Ordering}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cell::Cell` [INFO] [stderr] --> src/subprocess.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::cell::Cell; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> src/subprocess.rs:907:13 [INFO] [stderr] | [INFO] [stderr] 907 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/utils.rs:322:5 [INFO] [stderr] | [INFO] [stderr] 322 | metric_record!("canonicalize str"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/utils.rs:331:5 [INFO] [stderr] | [INFO] [stderr] 331 | metric_record!("canonicalize path"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/build.rs:550:9 [INFO] [stderr] | [INFO] [stderr] 550 | metric_record!("StartEdge"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/build.rs:611:9 [INFO] [stderr] | [INFO] [stderr] 611 | metric_record!("FinishCommand"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/manifest_parser.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | metric_record!(".ninja parse"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/disk_interface.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 149 | metric_record!("node stat"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/state.rs:202:9 [INFO] [stderr] | [INFO] [stderr] 202 | metric_record!("lookup node"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/build.rs:396:32 [INFO] [stderr] | [INFO] [stderr] 396 | command_runner: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 396 | command_runner: Option>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/build.rs:397:25 [INFO] [stderr] | [INFO] [stderr] 397 | disk_interface: &'c DiskInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 397 | disk_interface: &'c dyn DiskInterface, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graph.rs:371:25 [INFO] [stderr] | [INFO] [stderr] 371 | disk_interface: &'c DiskInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 371 | disk_interface: &'c dyn DiskInterface, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graph.rs:466:25 [INFO] [stderr] | [INFO] [stderr] 466 | disk_interface: &'c DiskInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 466 | disk_interface: &'c dyn DiskInterface, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/manifest_parser.rs:66:22 [INFO] [stderr] | [INFO] [stderr] 66 | file_reader: &'a FileReader, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 | file_reader: &'a dyn FileReader, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/build.rs:411:29 [INFO] [stderr] | [INFO] [stderr] 411 | disk_interface: &'c DiskInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 411 | disk_interface: &'c dyn DiskInterface, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graph.rs:376:59 [INFO] [stderr] | [INFO] [stderr] 376 | pub fn new(deps_log: &'b DepsLog, disk_interface: &'c DiskInterface) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 376 | pub fn new(deps_log: &'b DepsLog, disk_interface: &'c dyn DiskInterface) -> Self { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graph.rs:477:29 [INFO] [stderr] | [INFO] [stderr] 477 | disk_interface: &'c DiskInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 477 | disk_interface: &'c dyn DiskInterface, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/manifest_parser.rs:74:26 [INFO] [stderr] | [INFO] [stderr] 74 | file_reader: &'a FileReader, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 74 | file_reader: &'a dyn FileReader, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/manifest_parser.rs:83:26 [INFO] [stderr] | [INFO] [stderr] 83 | file_reader: &'a FileReader, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 83 | file_reader: &'a dyn FileReader, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graph.rs:156:45 [INFO] [stderr] | [INFO] [stderr] 156 | pub fn stat(&mut self, disk_interface: &DiskInterface) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 156 | pub fn stat(&mut self, disk_interface: &dyn DiskInterface) -> Result<(), String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graph.rs:168:58 [INFO] [stderr] | [INFO] [stderr] 168 | pub fn stat_if_necessary(&mut self, disk_interface: &DiskInterface) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 168 | pub fn stat_if_necessary(&mut self, disk_interface: &dyn DiskInterface) -> Result<(), String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/eval_env.rs:214:15 [INFO] [stderr] | [INFO] [stderr] 214 | env: &Env, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 214 | env: &dyn Env, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/utils.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 105 | libc::exit(1); [INFO] [stderr] | ------------- any code following this expression is unreachable [INFO] [stderr] 106 | } [INFO] [stderr] 107 | unreachable!() [INFO] [stderr] | ^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/build.rs:845:13 [INFO] [stderr] | [INFO] [stderr] 844 | return Ok(Vec::new()); [INFO] [stderr] | --------------------- any code following this expression is unreachable [INFO] [stderr] 845 | unimplemented!{} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/build.rs:891:13 [INFO] [stderr] | [INFO] [stderr] 890 | return Ok(Vec::new()); [INFO] [stderr] | --------------------- any code following this expression is unreachable [INFO] [stderr] 891 | unimplemented!{} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/build.rs:894:13 [INFO] [stderr] | [INFO] [stderr] 894 | unreachable!(); [INFO] [stderr] | ^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] ::: src/utils.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | $crate::utils::exit(); [INFO] [stderr] | --------------------- any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/build.rs:992:9 [INFO] [stderr] | [INFO] [stderr] 991 | return v; [INFO] [stderr] | -------- any code following this expression is unreachable [INFO] [stderr] 992 | unimplemented!{} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/build.rs:1095:9 [INFO] [stderr] | [INFO] [stderr] 1094 | return (start_time, end_time); [INFO] [stderr] | ----------------------------- any code following this expression is unreachable [INFO] [stderr] 1095 | unimplemented!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/build.rs:1108:9 [INFO] [stderr] | [INFO] [stderr] 1107 | return Vec::new(); [INFO] [stderr] | ----------------- any code following this expression is unreachable [INFO] [stderr] 1108 | unimplemented!() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/graph.rs:421:9 [INFO] [stderr] | [INFO] [stderr] 420 | return Ok(false); [INFO] [stderr] | ---------------- any code following this expression is unreachable [INFO] [stderr] 421 | unimplemented!{} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/build_log.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 61 | return Ok(()); [INFO] [stderr] | ------------- any code following this expression is unreachable [INFO] [stderr] 62 | unimplemented!() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/build_log.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 83 | return Ok(()); [INFO] [stderr] | ------------- any code following this expression is unreachable [INFO] [stderr] 84 | unimplemented!() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/build_log.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 93 | return Ok(None); [INFO] [stderr] | --------------- any code following this expression is unreachable [INFO] [stderr] 94 | unimplemented!{} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/build_log.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 99 | return None; [INFO] [stderr] | ----------- any code following this expression is unreachable [INFO] [stderr] 100 | unimplemented!{} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/deps_log.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 67 | return Ok(None); [INFO] [stderr] | --------------- any code following this expression is unreachable [INFO] [stderr] 68 | unimplemented!{} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/deps_log.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 72 | return Ok(()); [INFO] [stderr] | ------------- any code following this expression is unreachable [INFO] [stderr] 73 | unimplemented!() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/deps_log.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 83 | return Ok(()); [INFO] [stderr] | ------------- any code following this expression is unreachable [INFO] [stderr] 84 | unimplemented!() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/disk_interface.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 190 | return; [INFO] [stderr] | ------ any code following this expression is unreachable [INFO] [stderr] 191 | unimplemented!() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/subprocess.rs:835:9 [INFO] [stderr] | [INFO] [stderr] 834 | return; [INFO] [stderr] | ------ any code following this expression is unreachable [INFO] [stderr] 835 | unimplemented!{} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/line_printer.rs:180:13 [INFO] [stderr] | [INFO] [stderr] 179 | return; [INFO] [stderr] | ------ any code following this expression is unreachable [INFO] [stderr] 180 | unimplemented!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/eval_env.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scan` [INFO] [stderr] --> src/build.rs:268:9 [INFO] [stderr] | [INFO] [stderr] 268 | scan: &DependencyScan, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_scan` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `State` [INFO] [stderr] --> src/build.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | State: &State, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_State` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node_idx` [INFO] [stderr] --> src/build.rs:270:9 [INFO] [stderr] | [INFO] [stderr] 270 | node_idx: NodeIndex, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/build.rs:744:27 [INFO] [stderr] | [INFO] [stderr] 744 | .map_err(|e| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/build.rs:763:27 [INFO] [stderr] | [INFO] [stderr] 763 | .map_err(|e| format!("Error writing to deps log: {}", errno::errno()))?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/build.rs:824:9 [INFO] [stderr] | [INFO] [stderr] 824 | result: &mut CommandRunnerResult, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deps_prefix` [INFO] [stderr] --> src/build.rs:826:9 [INFO] [stderr] | [INFO] [stderr] 826 | deps_prefix: &[u8], [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deps_prefix` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/build.rs:1028:9 [INFO] [stderr] | [INFO] [stderr] 1028 | success: bool, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/build.rs:1029:9 [INFO] [stderr] | [INFO] [stderr] 1029 | output: &[u8], [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `progress_status_format` [INFO] [stderr] --> src/build.rs:1104:9 [INFO] [stderr] | [INFO] [stderr] 1104 | progress_status_format: &[u8], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_status_format` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `status` [INFO] [stderr] --> src/build.rs:1105:9 [INFO] [stderr] | [INFO] [stderr] 1105 | status: BuildStatusEdgeStatus, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/graph.rs:410:9 [INFO] [stderr] | [INFO] [stderr] 410 | state: &State, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `edge_idx` [INFO] [stderr] --> src/graph.rs:411:9 [INFO] [stderr] | [INFO] [stderr] 411 | edge_idx: EdgeIndex, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/graph.rs:412:9 [INFO] [stderr] | [INFO] [stderr] 412 | path: &[u8], [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/graph.rs:419:38 [INFO] [stderr] | [INFO] [stderr] 419 | pub fn load_deps_from_log(&self, state: &State, edge_idx: EdgeIndex) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `edge_idx` [INFO] [stderr] --> src/graph.rs:419:53 [INFO] [stderr] | [INFO] [stderr] 419 | pub fn load_deps_from_log(&self, state: &State, edge_idx: EdgeIndex) -> Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `found_entry` [INFO] [stderr] --> src/graph.rs:805:25 [INFO] [stderr] | [INFO] [stderr] 805 | if let Some(found_entry) = entry { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_entry` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `command` [INFO] [stderr] --> src/graph.rs:730:9 [INFO] [stderr] | [INFO] [stderr] 730 | command: &[u8], [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/build_log.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | path: &Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/build_log.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | user: &User, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/build_log.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | state: &State, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `edge_idx` [INFO] [stderr] --> src/build_log.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | edge_idx: EdgeIndex, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_time` [INFO] [stderr] --> src/build_log.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | start_time: u64, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end_time` [INFO] [stderr] --> src/build_log.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | end_time: u64, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mtime` [INFO] [stderr] --> src/build_log.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | mtime: TimeStamp, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mtime` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/build_log.rs:92:28 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn load(&mut self, path: &Path) -> Result, String> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/build_log.rs:98:36 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn lookup_by_output(&self, path: &[u8]) -> Option<&BuildLogEntry> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/build_log.rs:104:41 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn write_entry(&self, f: &W, entry: &BuildLogEntry) -> Result<(), ()> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entry` [INFO] [stderr] --> src/build_log.rs:104:48 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn write_entry(&self, f: &W, entry: &BuildLogEntry) -> Result<(), ()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/build_log.rs:109:49 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn recompact(&self, path: &Path, user: &User) -> Result<(), String> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/build_log.rs:109:62 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn recompact(&self, path: &Path, user: &User) -> Result<(), String> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/build_log.rs:128:28 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn new_with_output(output: &str) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/build_log.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | output: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `command_hash` [INFO] [stderr] --> src/build_log.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | command_hash: u64, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_hash` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_time` [INFO] [stderr] --> src/build_log.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | start_time: isize, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end_time` [INFO] [stderr] --> src/build_log.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | end_time: isize, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `restat_mtime` [INFO] [stderr] --> src/build_log.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 137 | restat_mtime: TimeStamp, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_restat_mtime` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `command` [INFO] [stderr] --> src/build_log.rs:142:25 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn hash_command(command: &str) -> u64 { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/deps_log.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn load(&mut self, path: &Path, state: &mut State) -> Result, String> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/deps_log.rs:66:41 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn load(&mut self, path: &Path, state: &mut State) -> Result, String> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/deps_log.rs:71:34 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn open_for_write(&self, path: &Path) -> Result<(), String> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/deps_log.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 78 | state: &State, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node_idx` [INFO] [stderr] --> src/deps_log.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | node_idx: NodeIndex, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_idx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mtime` [INFO] [stderr] --> src/deps_log.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | mtime: TimeStamp, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mtime` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nodes` [INFO] [stderr] --> src/deps_log.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | nodes: &[NodeIndex], [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/deps_log.rs:87:29 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn recompact(&self, path: &Path) -> Result<(), String> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/disk_interface.rs:172:26 [INFO] [stderr] | [INFO] [stderr] 172 | fn write_file(&self, path: &Path, contents: &[u8]) -> Result<(), ()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `contents` [INFO] [stderr] --> src/disk_interface.rs:172:39 [INFO] [stderr] | [INFO] [stderr] 172 | fn write_file(&self, path: &Path, contents: &[u8]) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `allow` [INFO] [stderr] --> src/disk_interface.rs:189:36 [INFO] [stderr] | [INFO] [stderr] 189 | pub fn allow_stat_cache(&self, allow: bool) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_allow` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/state.rs:385:35 [INFO] [stderr] | [INFO] [stderr] 385 | pub fn spellcheck_node(&self, path: &[u8]) -> Option<&[u8]> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: trait `IsVacant` is never used [INFO] [stderr] --> src/build.rs:53:7 [INFO] [stderr] | [INFO] [stderr] 53 | trait IsVacant { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `reset` is never used [INFO] [stderr] --> src/build.rs:143:8 [INFO] [stderr] | [INFO] [stderr] 67 | impl Plan { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 143 | fn reset(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `EdgeFinished` is never constructed [INFO] [stderr] --> src/build.rs:947:5 [INFO] [stderr] | [INFO] [stderr] 945 | enum BuildStatusEdgeStatus { [INFO] [stderr] | --------------------- variant in this enum [INFO] [stderr] 946 | EdgeStarted, [INFO] [stderr] 947 | EdgeFinished, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `rate` is never read [INFO] [stderr] --> src/build.rs:1163:5 [INFO] [stderr] | [INFO] [stderr] 1162 | struct RateInfo { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 1163 | rate: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `rate`, `max_len`, `times`, and `last_update` are never read [INFO] [stderr] --> src/build.rs:1201:5 [INFO] [stderr] | [INFO] [stderr] 1200 | struct SlidingRateInfo { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 1201 | rate: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 1202 | stopwatch: Stopwatch, [INFO] [stderr] 1203 | max_len: usize, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 1204 | times: VecDeque, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 1205 | last_update: isize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `disk_interface` is never read [INFO] [stderr] --> src/graph.rs:371:5 [INFO] [stderr] | [INFO] [stderr] 370 | struct ImplicitDepLoader<'b, 'c> { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 371 | disk_interface: &'c DiskInterface, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `deps_log` is never read [INFO] [stderr] --> src/graph.rs:465:5 [INFO] [stderr] | [INFO] [stderr] 460 | pub struct DependencyScan<'s, 'a, 'b, 'c> [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 465 | deps_log: &'b DepsLog, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `needs_recompaction` is never read [INFO] [stderr] --> src/build_log.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct BuildLog<'a> { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 44 | needs_recompaction: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `none` and `invalid` are never used [INFO] [stderr] --> src/timestamp.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 21 | impl TimeStamp { [INFO] [stderr] | -------------- associated functions in this implementation [INFO] [stderr] 22 | fn none() -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | fn invalid() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/metrics.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Metric { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 23 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `extra` is never read [INFO] [stderr] --> src/line_printer.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 80 | pub struct LinePrinter { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 99 | extra: LinePrinterOs, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `State` should have a snake case name [INFO] [stderr] --> src/build.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | State: &State, [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/graph.rs:281:24 [INFO] [stderr] | [INFO] [stderr] 281 | pub fn get_binding(&self, node_state: &NodeState, key: &[u8]) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 281 | pub fn get_binding(&self, node_state: &NodeState, key: &[u8]) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/graph.rs:291:34 [INFO] [stderr] | [INFO] [stderr] 291 | pub fn get_unescaped_depfile(&self, node_state: &NodeState) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 291 | pub fn get_unescaped_depfile(&self, node_state: &NodeState) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/graph.rs:297:34 [INFO] [stderr] | [INFO] [stderr] 297 | pub fn get_unescaped_rspfile(&self, node_state: &NodeState) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 297 | pub fn get_unescaped_rspfile(&self, node_state: &NodeState) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/graph.rs:949:24 [INFO] [stderr] | [INFO] [stderr] 949 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 949 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/eval_env.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]>; [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 25 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/eval_env.rs:182:24 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn lookup_rule(&self, rule_name: &[u8]) -> Option>> { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 182 | pub fn lookup_rule(&self, rule_name: &[u8]) -> Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/eval_env.rs:211:9 [INFO] [stderr] | [INFO] [stderr] 211 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 215 | ) -> Cow<[u8]> { [INFO] [stderr] | --------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 215 | ) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/eval_env.rs:231:24 [INFO] [stderr] | [INFO] [stderr] 231 | fn lookup_variable(&self, var: &[u8]) -> Cow<[u8]> { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 231 | fn lookup_variable(&self, var: &[u8]) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/state.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | self.depth >= 0 [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::super::state::State` [INFO] [stderr] --> src/manifest_parser.rs:603:9 [INFO] [stderr] | [INFO] [stderr] 603 | use super::super::state::State; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::super::test::VirtualFileSystem` [INFO] [stderr] --> src/manifest_parser.rs:604:9 [INFO] [stderr] | [INFO] [stderr] 604 | use super::super::test::VirtualFileSystem; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/lexer.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | / lazy_static! { [INFO] [stderr] 126 | | static ref FAKE_FILENAME: OsString = "input".into(); [INFO] [stderr] 127 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/manifest_parser.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | / lazy_static! { [INFO] [stderr] 141 | | static ref FAKE_FILENAME : OsString = OsString::from("input"); [INFO] [stderr] 142 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/test.rs:190:24 [INFO] [stderr] | [INFO] [stderr] 190 | fn make_dir(&self, path: &Path) -> Result<(), io::Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/test.rs:193:25 [INFO] [stderr] | [INFO] [stderr] 193 | fn make_dirs(&self, path: &Path) -> Result<(), io::Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/test.rs:196:20 [INFO] [stderr] | [INFO] [stderr] 196 | fn stat(&self, path: &Path) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/test.rs:199:26 [INFO] [stderr] | [INFO] [stderr] 199 | fn write_file(&self, path: &Path, contents: &[u8]) -> Result<(), ()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `contents` [INFO] [stderr] --> src/test.rs:199:39 [INFO] [stderr] | [INFO] [stderr] 199 | fn write_file(&self, path: &Path, contents: &[u8]) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/test.rs:202:27 [INFO] [stderr] | [INFO] [stderr] 202 | fn remove_file(&self, path: &Path) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scan` [INFO] [stderr] --> src/build.rs:268:9 [INFO] [stderr] | [INFO] [stderr] 268 | scan: &DependencyScan, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_scan` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/build.rs:2148:19 [INFO] [stderr] | [INFO] [stderr] 2148 | .map(|i| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: fields `directories_made` and `files_removed` are never read [INFO] [stderr] --> src/test.rs:130:5 [INFO] [stderr] | [INFO] [stderr] 129 | pub struct VirtualFileSystem { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 130 | directories_made: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | files_removed: HashSet, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `mtime` and `stat_error` are never read [INFO] [stderr] --> src/test.rs:141:5 [INFO] [stderr] | [INFO] [stderr] 140 | struct VirtualFileSystemEntry { [INFO] [stderr] | ---------------------- fields in this struct [INFO] [stderr] 141 | mtime: isize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 142 | stat_error: String, // If mtime is -1. [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `IsVacant` is never used [INFO] [stderr] --> src/build.rs:53:7 [INFO] [stderr] | [INFO] [stderr] 53 | trait IsVacant { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/manifest_parser.rs:2046:29 [INFO] [stderr] | [INFO] [stderr] 2046 | for input in inputs.into_iter() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 2046 - for input in inputs.into_iter() { [INFO] [stderr] 2046 + for input in inputs.iter() { [INFO] [stderr] | [INFO] [stderr] help: or remove `.into_iter()` to iterate by value [INFO] [stderr] | [INFO] [stderr] 2046 - for input in inputs.into_iter() { [INFO] [stderr] 2046 + for input in inputs { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ninja-build` (lib) generated 130 warnings (run `cargo fix --lib -p ninja-build` to apply 39 suggestions) [INFO] [stderr] warning: `ninja-build` (lib test) generated 140 warnings (124 duplicates) (run `cargo fix --lib -p ninja-build --tests` to apply 3 suggestions) [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/bin/ninja.rs:568:5 [INFO] [stderr] | [INFO] [stderr] 568 | / lazy_static! { [INFO] [stderr] 569 | | static ref GUESSED_PARALLELISM : usize = guess_parallelism(); [INFO] [stderr] 570 | | static ref DEFAULT_PARALLELISM : String = GUESSED_PARALLELISM.to_string(); [INFO] [stderr] 571 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/bin/ninja.rs:568:5 [INFO] [stderr] | [INFO] [stderr] 568 | / lazy_static! { [INFO] [stderr] 569 | | static ref GUESSED_PARALLELISM : usize = guess_parallelism(); [INFO] [stderr] 570 | | static ref DEFAULT_PARALLELISM : String = GUESSED_PARALLELISM.to_string(); [INFO] [stderr] 571 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/bin/ninja.rs:397:28 [INFO] [stderr] | [INFO] [stderr] 397 | fn is_path_dead(&self, s: &str) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/bin/ninja.rs:460:17 [INFO] [stderr] | [INFO] [stderr] 460 | fn debug_enable(name: &str) -> Result<(), isize> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/bin/ninja.rs:464:19 [INFO] [stderr] | [INFO] [stderr] 464 | fn warning_enable(name: &str) -> Result<(), isize> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subcommand` [INFO] [stderr] --> src/bin/ninja.rs:468:16 [INFO] [stderr] | [INFO] [stderr] 468 | fn choose_tool(subcommand: &[&str]) -> Result, isize> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subcommand` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/bin/ninja.rs:702:84 [INFO] [stderr] | [INFO] [stderr] 702 | let load_average_limit = load_average_limit.parse::().unwrap_or_else(|e| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `desc` are never read [INFO] [stderr] --> src/bin/ninja.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 78 | struct Tool<'a> { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 79 | /// Short name of the tool. [INFO] [stderr] 80 | name: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | desc: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `ninja_command` is never read [INFO] [stderr] --> src/bin/ninja.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 94 | struct NinjaMain<'a> { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 95 | /// Command line used to run Ninja. [INFO] [stderr] 96 | ninja_command: &'a Path, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ninja-build` (bin "ninja" test) generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ninja_build-62b7f81708aa0792) [INFO] [stdout] [INFO] [stdout] running 96 tests [INFO] [stdout] test build::tests::plantest_basic ... ok [INFO] [stdout] test lexer::test_lexer_comment_eof ... ok [INFO] [stdout] test lexer::test_lexer_read_evalstring_escapes ... ok [INFO] [stdout] test lexer::test_lexer_error ... ok [INFO] [stdout] test build::tests::plantest_console_pool ... ok [INFO] [stdout] test lexer::test_lexer_read_ident ... ok [INFO] [stdout] test build::tests::plantest_double_dependent ... ok [INFO] [stdout] test build::tests::plantest_double_output_direct ... ok [INFO] [stdout] test build::tests::plantest_pool_with_depth_one ... ok [INFO] [stdout] test lexer::test_lexer_read_ident_curlies ... ok [INFO] [stdout] test build::tests::plantest_double_output_indirect ... ok [INFO] [stdout] test lexer::test_lexer_tabs ... ok [INFO] [stdout] test lexer::test_lexer_read_var_value ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_backslash ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_broken_include ... ok [INFO] [stdout] test build::tests::plantest_pools_with_depth_two ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_canonicalize_file ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_canonicalize_paths ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_comment ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_continuation ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_crlf ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_default_default ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_default_default_cycle ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_default_statements ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_duplicate_rule_in_different_subninjas ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_duplicate_edge_with_multiple_outputs ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_duplicate_rule_in_different_subninjas_with_include ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_duplicated_edge_with_multiple_outputs_error ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_empty ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_duplicated_edge_in_included_file ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_0 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_1 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_10 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_12 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_11 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_14 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_13 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_15 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_16 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_18 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_17 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_19 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_2 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_20 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_21 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_23 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_22 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_24 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_26 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_25 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_29 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_28 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_27 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_3 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_30 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_32 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_31 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_33 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_34 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_4 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_5 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_6 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_8 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_7 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_errors_9 ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_escape_spaces ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_ignore_indented_comments ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_ignore_indented_blank_lines ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_implicit ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_implicit_output_dupe ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_implicit_output ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_implicit_output_dupes ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_implicit_output_empty ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_in_newline ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_include ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_missing_input ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_missing_subninja ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_multiple_outputs ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_multiple_outputs_with_deps ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_no_dead_pointer_from_duplicate_edge ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_no_explicit_output ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_phony_self_reference_ignored ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_path_variables ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_order_only ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_phony_self_reference_kept ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_reserved_words ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_response_files ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_ruleattributes ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_utf8 ... ok [INFO] [stdout] test utils::tests::canonicalize_path_path_samples ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_rules ... ok [INFO] [stdout] test version::test_parse_version ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_sub_ninja ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_variable_scope ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_variables ... ok [INFO] [stdout] test manifest_parser::parser_test::parsertest_dollars ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- manifest_parser::parser_test::parsertest_dollars stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'manifest_parser::parser_test::parsertest_dollars' panicked at src/utils.rs:474:9: [INFO] [stdout] not implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x71f571423592 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x71f571423592 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x71f571423592 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x71f571423592 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x71f57145d9c3 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x71f57145d9c3 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x71f571420893 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x71f571420893 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x71f5714233e2 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x71f571424b6c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x71f5714249c2 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x71f5713e6f04 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x71f5713e6f04 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x71f5714255d3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x71f5714255d3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x71f571425286 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x71f571423a99 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x71f571424f4d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x71f57130aee0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x71f57130af6c - core::panicking::panic::hd54a104e9b8d4d02 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x71f5713906ef - as ninja_build::utils::ExtendFromEscapedSlice>::extend_from_shell_escaped_slice::hd05c92d1e00c996f [INFO] [stdout] at /opt/rustwide/workdir/src/utils.rs:474:9 [INFO] [stdout] 21: 0x71f5713acae2 - ninja_build::graph::EdgeEnv::make_path_list::h65a1210e2a9b3654 [INFO] [stdout] at /opt/rustwide/workdir/src/graph.rs:936:32 [INFO] [stdout] 22: 0x71f5713acd06 - ::lookup_variable::hb2c728967f2084b8 [INFO] [stdout] at /opt/rustwide/workdir/src/graph.rs:961:31 [INFO] [stdout] 23: 0x71f5713ad694 - ninja_build::eval_env::EvalString::evaluate::h266d0d873e3498ad [INFO] [stdout] at /opt/rustwide/workdir/src/eval_env.rs:54:47 [INFO] [stdout] 24: 0x71f5713ae7ca - ninja_build::eval_env::BindingEnv::lookup_with_fallback::h1dc457ddf3a816fd [INFO] [stdout] at /opt/rustwide/workdir/src/eval_env.rs:220:25 [INFO] [stdout] 25: 0x71f5713ad061 - ::lookup_variable::hb2c728967f2084b8 [INFO] [stdout] at /opt/rustwide/workdir/src/graph.rs:999:18 [INFO] [stdout] 26: 0x71f5713ac29f - ninja_build::graph::Edge::get_binding::had74b2b678fd65e2 [INFO] [stdout] at /opt/rustwide/workdir/src/graph.rs:283:13 [INFO] [stdout] 27: 0x71f5713ac4b1 - ninja_build::graph::Edge::evaluate_command_with_rsp_file::h2b419856dd032329 [INFO] [stdout] at /opt/rustwide/workdir/src/graph.rs:322:32 [INFO] [stdout] 28: 0x71f5713ac44c - ninja_build::graph::Edge::evaluate_command::h3449539714f9fb87 [INFO] [stdout] at /opt/rustwide/workdir/src/graph.rs:314:14 [INFO] [stdout] 29: 0x71f57137410e - ninja_build::manifest_parser::parser_test::parsertest_dollars::h04eb605af0c3f2e5 [INFO] [stdout] at /opt/rustwide/workdir/src/manifest_parser.rs:945:57 [INFO] [stdout] 30: 0x71f571373d77 - ninja_build::manifest_parser::parser_test::parsertest_dollars::{{closure}}::h68ba7fb0b0764bf3 [INFO] [stdout] at /opt/rustwide/workdir/src/manifest_parser.rs:920:28 [INFO] [stdout] 31: 0x71f571386e66 - core::ops::function::FnOnce::call_once::h84fff8528af504cc [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 32: 0x71f5713ec5fb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 33: 0x71f5713ec5fb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 34: 0x71f5713eb86e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 35: 0x71f5713eb86e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x71f5713eb86e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 37: 0x71f5713eb86e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 38: 0x71f5713eb86e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x71f5713eb86e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 40: 0x71f5713eb86e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 41: 0x71f5713b06f4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 42: 0x71f5713b06f4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 43: 0x71f5713b3eea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 44: 0x71f5713b3eea - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 45: 0x71f5713b3eea - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 46: 0x71f5713b3eea - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 47: 0x71f5713b3eea - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 48: 0x71f5713b3eea - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 49: 0x71f5713b3eea - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 50: 0x71f5714280b7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 51: 0x71f5714280b7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 52: 0x71f5714280b7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] manifest_parser::parser_test::parsertest_dollars [INFO] [stdout] [INFO] [stdout] test result: FAILED. 95 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e954932dcb37ecc7de3213f9ff4d9111f02c4fc3b735b357f8878145b8a95325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e954932dcb37ecc7de3213f9ff4d9111f02c4fc3b735b357f8878145b8a95325", kill_on_drop: false }` [INFO] [stdout] e954932dcb37ecc7de3213f9ff4d9111f02c4fc3b735b357f8878145b8a95325