[INFO] fetching crate cargo-profiler 0.1.6... [INFO] testing cargo-profiler-0.1.6 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cargo-profiler 0.1.6 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate cargo-profiler 0.1.6 [INFO] finished tweaking crates.io crate cargo-profiler 0.1.6 [INFO] tweaked toml for crates.io crate cargo-profiler 0.1.6 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-profiler 0.1.6 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.51) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding ndarray v0.5.2 (available: v0.17.1) [INFO] [stderr] Adding regex v0.1.80 (available: v1.12.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] warning: unused manifest key: bin.0.bin [INFO] [stderr] warning: unused manifest key: lib.lib [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded matrixmultiply v0.1.15 [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded rawpointer v0.1.0 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] [stderr] Downloaded num-complex v0.1.44 [INFO] [stderr] Downloaded ndarray v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1899258dbcaaf49f6c81662cd38bc836e091286ebc77ae1fbeee66cb816c8c11 [INFO] running `Command { std: "docker" "start" "-a" "1899258dbcaaf49f6c81662cd38bc836e091286ebc77ae1fbeee66cb816c8c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1899258dbcaaf49f6c81662cd38bc836e091286ebc77ae1fbeee66cb816c8c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1899258dbcaaf49f6c81662cd38bc836e091286ebc77ae1fbeee66cb816c8c11", kill_on_drop: false }` [INFO] [stdout] 1899258dbcaaf49f6c81662cd38bc836e091286ebc77ae1fbeee66cb816c8c11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 000128cb148f32800f2c18bd9fe61383eee85f08d6b2bbc76bf502496c59eb43 [INFO] running `Command { std: "docker" "start" "-a" "000128cb148f32800f2c18bd9fe61383eee85f08d6b2bbc76bf502496c59eb43", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: bin.0.bin [INFO] [stderr] warning: unused manifest key: lib.lib [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling ndarray v0.5.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling cargo-profiler v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/display.rs:56:89 [INFO] [stdout] | [INFO] [stdout] 56 | \n\x1b[32mTotal LL D-Cache Misses\x1b[0m...{} ({}%)\t\x1b[0m\n\n\ [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | ", [INFO] [stdout] | |____________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/display.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] 60 + fmt_thousands_sep(ir + dr + dw , ','), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | let package_name = try!(get_package_name()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&error::Error> { [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/callgrind.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/cachegrind.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/display.rs:56:89 [INFO] [stdout] | [INFO] [stdout] 56 | \n\x1b[32mTotal LL D-Cache Misses\x1b[0m...{} ({}%)\t\x1b[0m\n\n\ [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | ", [INFO] [stdout] | |____________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/display.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] 60 + fmt_thousands_sep(ir + dr + dw , ','), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | let package_name = try!(get_package_name()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | try!(Command::new("rm") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | try!(Command::new("rm") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:147:39 [INFO] [stdout] | [INFO] [stdout] 147 | Profiler::CallGrind { .. } => try!(profiler.callgrind_cli(&binary, &binargs)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:148:40 [INFO] [stdout] | [INFO] [stdout] 148 | Profiler::CacheGrind { .. } => try!(profiler.cachegrind_cli(&binary, &binargs)), [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&error::Error> { [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/cachegrind.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/callgrind.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.82s [INFO] running `Command { std: "docker" "inspect" "000128cb148f32800f2c18bd9fe61383eee85f08d6b2bbc76bf502496c59eb43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "000128cb148f32800f2c18bd9fe61383eee85f08d6b2bbc76bf502496c59eb43", kill_on_drop: false }` [INFO] [stdout] 000128cb148f32800f2c18bd9fe61383eee85f08d6b2bbc76bf502496c59eb43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd34c136137ef03508c82f89b68bab743d1f5910cdd4bd6605c0ecfea758789b [INFO] running `Command { std: "docker" "start" "-a" "fd34c136137ef03508c82f89b68bab743d1f5910cdd4bd6605c0ecfea758789b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: bin.0.bin [INFO] [stderr] warning: unused manifest key: lib.lib [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/display.rs:56:89 [INFO] [stdout] | [INFO] [stdout] 56 | \n\x1b[32mTotal LL D-Cache Misses\x1b[0m...{} ({}%)\t\x1b[0m\n\n\ [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | ", [INFO] [stdout] | |____________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/display.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] 60 + fmt_thousands_sep(ir + dr + dw , ','), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | let package_name = try!(get_package_name()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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] [stderr] Compiling cargo-profiler v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&error::Error> { [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/callgrind.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/cachegrind.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/display.rs:56:89 [INFO] [stdout] | [INFO] [stdout] 56 | \n\x1b[32mTotal LL D-Cache Misses\x1b[0m...{} ({}%)\t\x1b[0m\n\n\ [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | ", [INFO] [stdout] | |____________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/display.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] 60 + fmt_thousands_sep(ir + dr + dw , ','), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | let package_name = try!(get_package_name()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | try!(Command::new("rm") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | try!(Command::new("rm") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:147:39 [INFO] [stdout] | [INFO] [stdout] 147 | Profiler::CallGrind { .. } => try!(profiler.callgrind_cli(&binary, &binargs)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:148:40 [INFO] [stdout] | [INFO] [stdout] 148 | Profiler::CacheGrind { .. } => try!(profiler.cachegrind_cli(&binary, &binargs)), [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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: multiple lines skipped by escaped newline [INFO] [stdout] --> src/display.rs:56:89 [INFO] [stdout] | [INFO] [stdout] 56 | \n\x1b[32mTotal LL D-Cache Misses\x1b[0m...{} ({}%)\t\x1b[0m\n\n\ [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | ", [INFO] [stdout] | |____________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&error::Error> { [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/display.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] 60 + fmt_thousands_sep(ir + dr + dw , ','), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | let package_name = try!(get_package_name()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / ... lazy_static! { [INFO] [stdout] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stdout] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stdout] 52 | | ... [INFO] [stdout] 53 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / ... lazy_static! { [INFO] [stdout] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stdout] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stdout] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stdout] 93 | | ... } [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&error::Error> { [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/cachegrind.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/callgrind.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/callgrind.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/cachegrind.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "fd34c136137ef03508c82f89b68bab743d1f5910cdd4bd6605c0ecfea758789b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd34c136137ef03508c82f89b68bab743d1f5910cdd4bd6605c0ecfea758789b", kill_on_drop: false }` [INFO] [stdout] fd34c136137ef03508c82f89b68bab743d1f5910cdd4bd6605c0ecfea758789b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7f8c0b22d9d09a56ea4bc26e362a00e6c374824ed38991f199aee5b7eb4ac97a [INFO] running `Command { std: "docker" "start" "-a" "7f8c0b22d9d09a56ea4bc26e362a00e6c374824ed38991f199aee5b7eb4ac97a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] [INFO] [stderr] warning: unused manifest key: bin.0.bin [INFO] [stdout] running 14 tests [INFO] [stderr] warning: unused manifest key: lib.lib [INFO] [stdout] test argparse::test::test_get_num ... ok [INFO] [stderr] warning: multiple lines skipped by escaped newline [INFO] [stdout] test argparse::test::test_get_profiler ... ok [INFO] [stderr] --> src/display.rs:56:89 [INFO] [stdout] test argparse::test::test_get_sort_metric ... ok [INFO] [stderr] | [INFO] [stdout] test argparse::test::test_get_binary ... ok [INFO] [stderr] 56 | \n\x1b[32mTotal LL D-Cache Misses\x1b[0m...{} ({}%)\t\x1b[0m\n\n\ [INFO] [stdout] test parse::cachegrind::test::test_cachegrind_parse_2 ... ok [INFO] [stderr] | _________________________________________________________________________________________^ [INFO] [stdout] test parse::cachegrind::test::test_cachegrind_parse_3 ... ok [INFO] [stderr] 57 | | [INFO] [stdout] test cargo::test::test_get_package_name ... ok [INFO] [stderr] 58 | | ", [INFO] [stdout] test display::test::test_fmt_thousands_sep ... ok [INFO] [stderr] | |____________________^ skipping everything up to and including this point [INFO] [stdout] test parse::cachegrind::test::test_cachegrind_parse_1 ... ok [INFO] [stderr] [INFO] [stdout] test cargo::test::test_build_binary ... ok [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stdout] test parse::callgrind::test::test_callgrind_parse_1 ... ok [INFO] [stderr] --> src/display.rs:60:42 [INFO] [stdout] test parse::callgrind::test::test_callgrind_parse_3 ... ok [INFO] [stderr] | [INFO] [stdout] test parse::callgrind::test::test_callgrind_parse_2 ... ok [INFO] [stderr] 60 | fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] test cargo::test::test_find_target ... ok [INFO] [stderr] | ^ ^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 60 - fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stderr] 60 + fmt_thousands_sep(ir + dr + dw , ','), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/cargo.rs:71:24 [INFO] [stderr] | [INFO] [stderr] 71 | let package_name = try!(get_package_name()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/parse/callgrind.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | / ... lazy_static! { [INFO] [stderr] 49 | | ... static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").u... [INFO] [stderr] 50 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stderr] 51 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"out of memory").unwrap(); [INFO] [stderr] 52 | | ... [INFO] [stderr] 53 | | ... } [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/parse/cachegrind.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | / ... lazy_static! { [INFO] [stderr] 90 | | ... static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").... [INFO] [stderr] 91 | | ... static ref COMPILER_TRASH: Regex = Regex::new(r"\$\w{2}\$|\$\w{3}\$").unwrap(); [INFO] [stderr] 92 | | ... static ref ERROR_REGEX : Regex = Regex::new(r"Valgrind's memory management: out of memory").unwrap(); [INFO] [stderr] 93 | | ... } [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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/err.rs:136:32 [INFO] [stderr] | [INFO] [stderr] 136 | fn cause(&self) -> Option<&error::Error> { [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/err.rs:129:48 [INFO] [stderr] | [INFO] [stderr] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `collect` that must be used [INFO] [stderr] --> src/parse/callgrind.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | func.drain(idx..).collect::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `collect` that must be used [INFO] [stderr] --> src/parse/cachegrind.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 147 | func.drain(idx..).collect::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `cargo-profiler` (lib) generated 13 warnings (4 duplicates) (run `cargo fix --lib -p cargo-profiler` to apply 2 suggestions) [INFO] [stderr] warning: `cargo-profiler` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:166:5 [INFO] [stderr] | [INFO] [stderr] 166 | try!(Command::new("rm") [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | try!(Command::new("rm") [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:147:39 [INFO] [stderr] | [INFO] [stderr] 147 | Profiler::CallGrind { .. } => try!(profiler.callgrind_cli(&binary, &binargs)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:148:40 [INFO] [stderr] | [INFO] [stderr] 148 | Profiler::CacheGrind { .. } => try!(profiler.cachegrind_cli(&binary, &binargs)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `collect` that must be used [INFO] [stderr] --> src/parse/cachegrind.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 147 | func.drain(idx..).collect::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `collect` that must be used [INFO] [stderr] --> src/parse/callgrind.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | func.drain(idx..).collect::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `cargo-profiler` (bin "cargo-profiler" test) generated 17 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/profiler-db3b68e995fd5d3c) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_profiler-35697e59f23b1b01) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test argparse::test::test_get_binary ... ok [INFO] [stdout] test argparse::test::test_get_num ... ok [INFO] [stdout] test argparse::test::test_get_profiler ... ok [INFO] [stdout] test argparse::test::test_get_sort_metric ... ok [INFO] [stdout] test cargo::test::test_find_target ... ok [INFO] [stdout] test cargo::test::test_get_package_name ... ok [INFO] [stdout] test cargo::test::test_build_binary ... ok [INFO] [stdout] test parse::cachegrind::test::test_cachegrind_parse_1 ... ok [INFO] [stdout] test display::test::test_fmt_thousands_sep ... ok [INFO] [stdout] test parse::cachegrind::test::test_cachegrind_parse_2 ... ok [INFO] [stdout] test parse::cachegrind::test::test_cachegrind_parse_3 ... ok [INFO] [stdout] test parse::callgrind::test::test_callgrind_parse_3 ... ok [INFO] [stdout] test parse::callgrind::test::test_callgrind_parse_1 ... ok [INFO] [stdout] test parse::callgrind::test::test_callgrind_parse_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests profiler [INFO] [stderr] warning: multiple lines skipped by escaped newline [INFO] [stderr] --> src/display.rs:56:89 [INFO] [stderr] | [INFO] [stderr] 56 | \n\x1b[32mTotal LL D-Cache Misses\x1b[0m...{} ({}%)\t\x1b[0m\n\n\ [INFO] [stderr] | _________________________________________________________________________________________^ [INFO] [stderr] 57 | | [INFO] [stderr] 58 | | ", [INFO] [stderr] | |____________________^ skipping everything up to and including this point [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/display.rs:60:42 [INFO] [stderr] | [INFO] [stderr] 60 | fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 60 - fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stderr] 60 + fmt_thousands_sep(ir + dr + dw , ','), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7f8c0b22d9d09a56ea4bc26e362a00e6c374824ed38991f199aee5b7eb4ac97a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f8c0b22d9d09a56ea4bc26e362a00e6c374824ed38991f199aee5b7eb4ac97a", kill_on_drop: false }` [INFO] [stdout] 7f8c0b22d9d09a56ea4bc26e362a00e6c374824ed38991f199aee5b7eb4ac97a