[INFO] fetching crate cargo-profiler 0.1.6... [INFO] testing cargo-profiler-0.1.6 against 1.60.0 for beta-1.61-1 [INFO] extracting crate cargo-profiler 0.1.6 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate cargo-profiler 0.1.6 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-25/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.bin [INFO] [stderr] warning: unused manifest key: lib.lib [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 672efb73369478d880680f898431026b2c005ebde43832b767b9c0c729282bc9 [INFO] running `Command { std: "docker" "start" "-a" "672efb73369478d880680f898431026b2c005ebde43832b767b9c0c729282bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "672efb73369478d880680f898431026b2c005ebde43832b767b9c0c729282bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "672efb73369478d880680f898431026b2c005ebde43832b767b9c0c729282bc9", kill_on_drop: false }` [INFO] [stdout] 672efb73369478d880680f898431026b2c005ebde43832b767b9c0c729282bc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3b5b7320bb3302fa5977a5d3809ac560d0c42a8c77c094f6896fe4fa3fa9369 [INFO] running `Command { std: "docker" "start" "-a" "a3b5b7320bb3302fa5977a5d3809ac560d0c42a8c77c094f6896fe4fa3fa9369", kill_on_drop: false }` [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 winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [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 regex-syntax v0.3.9 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ndarray v0.5.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [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)]` 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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 136 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [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] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [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)]` 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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 136 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [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] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.82s [INFO] running `Command { std: "docker" "inspect" "a3b5b7320bb3302fa5977a5d3809ac560d0c42a8c77c094f6896fe4fa3fa9369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3b5b7320bb3302fa5977a5d3809ac560d0c42a8c77c094f6896fe4fa3fa9369", kill_on_drop: false }` [INFO] [stdout] a3b5b7320bb3302fa5977a5d3809ac560d0c42a8c77c094f6896fe4fa3fa9369 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aabd38c6428dc772614d03f55d0f61663524a88427862da5043f0edb9a2c9e53 [INFO] running `Command { std: "docker" "start" "-a" "aabd38c6428dc772614d03f55d0f61663524a88427862da5043f0edb9a2c9e53", kill_on_drop: false }` [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)]` 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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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: 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 136 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [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] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [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: 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)]` 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: 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)]` 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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 136 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 136 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [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] [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [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] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "aabd38c6428dc772614d03f55d0f61663524a88427862da5043f0edb9a2c9e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aabd38c6428dc772614d03f55d0f61663524a88427862da5043f0edb9a2c9e53", kill_on_drop: false }` [INFO] [stdout] aabd38c6428dc772614d03f55d0f61663524a88427862da5043f0edb9a2c9e53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d146c6a1ee0ae5ed63a9c2ff6f984559b7bae3c428a50962a71a47c73ee762af [INFO] running `Command { std: "docker" "start" "-a" "d146c6a1ee0ae5ed63a9c2ff6f984559b7bae3c428a50962a71a47c73ee762af", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.bin [INFO] [stderr] warning: unused manifest key: lib.lib [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)]` 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: 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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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 `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]*$*_*\?+:*/*\.*-*@*-*").unwrap(); [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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 136 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 136 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `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: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [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] [INFO] [stderr] warning: `cargo-profiler` (lib) generated 13 warnings (4 duplicates) [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: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [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] [INFO] [stderr] warning: `cargo-profiler` (bin "cargo-profiler" test) generated 17 warnings (11 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/profiler-63d13e1f1a0f3467) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test argparse::test::test_get_binary ... ok [INFO] [stdout] test argparse::test::test_get_profiler ... ok [INFO] [stdout] test argparse::test::test_get_num ... ok [INFO] [stdout] test argparse::test::test_get_sort_metric ... ok [INFO] [stdout] test cargo::test::test_build_binary ... ok [INFO] [stdout] test cargo::test::test_find_target ... ok [INFO] [stdout] test cargo::test::test_get_package_name ... ok [INFO] [stdout] test display::test::test_fmt_thousands_sep ... ok [INFO] [stdout] test parse::cachegrind::test::test_cachegrind_parse_1 ... 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_2 ... 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] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cargo_profiler-af839d0722233aa6) [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_build_binary ... ok [INFO] [stdout] test cargo::test::test_find_target ... ok [INFO] [stdout] test cargo::test::test_get_package_name ... ok [INFO] [stdout] test display::test::test_fmt_thousands_sep ... ok [INFO] [stdout] test parse::cachegrind::test::test_cachegrind_parse_1 ... 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_2 ... 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] [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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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)]` 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" "d146c6a1ee0ae5ed63a9c2ff6f984559b7bae3c428a50962a71a47c73ee762af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d146c6a1ee0ae5ed63a9c2ff6f984559b7bae3c428a50962a71a47c73ee762af", kill_on_drop: false }` [INFO] [stdout] d146c6a1ee0ae5ed63a9c2ff6f984559b7bae3c428a50962a71a47c73ee762af