[INFO] fetching crate cargo-profiler 0.1.6... [INFO] checking cargo-profiler-0.1.6 against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] extracting crate cargo-profiler 0.1.6 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate cargo-profiler 0.1.6 on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c73ac2e491bac49dc2463949e79b1e13c193f9a3b9a448fe88328a8ff97c0e47 [INFO] running `Command { std: "docker" "start" "-a" "c73ac2e491bac49dc2463949e79b1e13c193f9a3b9a448fe88328a8ff97c0e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c73ac2e491bac49dc2463949e79b1e13c193f9a3b9a448fe88328a8ff97c0e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c73ac2e491bac49dc2463949e79b1e13c193f9a3b9a448fe88328a8ff97c0e47", kill_on_drop: false }` [INFO] [stdout] c73ac2e491bac49dc2463949e79b1e13c193f9a3b9a448fe88328a8ff97c0e47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 804bef197383d7407c8973322347c6a97cb97046f125470d0f9bdfbaaca8f574 [INFO] running `Command { std: "docker" "start" "-a" "804bef197383d7407c8973322347c6a97cb97046f125470d0f9bdfbaaca8f574", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.bin [INFO] [stderr] warning: unused manifest key: lib.lib [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling ndarray v0.5.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking cargo-profiler v0.1.6 (/opt/rustwide/workdir) [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: 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] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: 12 warnings emitted [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: 12 warnings emitted [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: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 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: 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] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: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 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: 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] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/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: 16 warnings emitted [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.74s [INFO] running `Command { std: "docker" "inspect" "804bef197383d7407c8973322347c6a97cb97046f125470d0f9bdfbaaca8f574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "804bef197383d7407c8973322347c6a97cb97046f125470d0f9bdfbaaca8f574", kill_on_drop: false }` [INFO] [stdout] 804bef197383d7407c8973322347c6a97cb97046f125470d0f9bdfbaaca8f574