[INFO] fetching crate cargo-profiler 0.1.6... [INFO] testing cargo-profiler-0.1.6 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cargo-profiler 0.1.6 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate cargo-profiler 0.1.6 [INFO] finished tweaking crates.io crate cargo-profiler 0.1.6 [INFO] tweaked toml for crates.io crate cargo-profiler 0.1.6 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-profiler 0.1.6 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.40) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding ndarray v0.5.2 (available: v0.16.1) [INFO] [stderr] Adding regex v0.1.80 (available: v1.11.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] 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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccae22a7cfa094387eaee4a1e6ca9dfe404ee828881de07b46c1da708c5635f4 [INFO] running `Command { std: "docker" "start" "-a" "ccae22a7cfa094387eaee4a1e6ca9dfe404ee828881de07b46c1da708c5635f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccae22a7cfa094387eaee4a1e6ca9dfe404ee828881de07b46c1da708c5635f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccae22a7cfa094387eaee4a1e6ca9dfe404ee828881de07b46c1da708c5635f4", kill_on_drop: false }` [INFO] [stdout] ccae22a7cfa094387eaee4a1e6ca9dfe404ee828881de07b46c1da708c5635f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b5f7aa3ab11a8c7514f4e69149103d684a531eec72aa17766cd1aea5ee8f085a [INFO] running `Command { std: "docker" "start" "-a" "b5f7aa3ab11a8c7514f4e69149103d684a531eec72aa17766cd1aea5ee8f085a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: bin.0.bin [INFO] [stderr] warning: unused manifest key: lib.lib [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling ndarray v0.5.2 [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 `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/callgrind.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/cachegrind.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/display.rs:56:89 [INFO] [stdout] | [INFO] [stdout] 56 | \n\x1b[32mTotal LL D-Cache Misses\x1b[0m...{} ({}%)\t\x1b[0m\n\n\ [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | ", [INFO] [stdout] | |____________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/display.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] 60 + fmt_thousands_sep(ir + dr + dw, ','), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | let package_name = try!(get_package_name()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | try!(Command::new("rm") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | try!(Command::new("rm") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:147:39 [INFO] [stdout] | [INFO] [stdout] 147 | Profiler::CallGrind { .. } => try!(profiler.callgrind_cli(&binary, &binargs)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:148:40 [INFO] [stdout] | [INFO] [stdout] 148 | Profiler::CacheGrind { .. } => try!(profiler.cachegrind_cli(&binary, &binargs)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/cachegrind.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/callgrind.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.80s [INFO] running `Command { std: "docker" "inspect" "b5f7aa3ab11a8c7514f4e69149103d684a531eec72aa17766cd1aea5ee8f085a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5f7aa3ab11a8c7514f4e69149103d684a531eec72aa17766cd1aea5ee8f085a", kill_on_drop: false }` [INFO] [stdout] b5f7aa3ab11a8c7514f4e69149103d684a531eec72aa17766cd1aea5ee8f085a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 442ed922f4e09214138e7127bb564d6e08aa92540746774dbb7d719d591b3879 [INFO] running `Command { std: "docker" "start" "-a" "442ed922f4e09214138e7127bb564d6e08aa92540746774dbb7d719d591b3879", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: bin.0.bin [INFO] [stderr] warning: unused manifest key: lib.lib [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/display.rs:56:89 [INFO] [stdout] | [INFO] [stdout] 56 | \n\x1b[32mTotal LL D-Cache Misses\x1b[0m...{} ({}%)\t\x1b[0m\n\n\ [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | ", [INFO] [stdout] | |____________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/display.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - fmt_thousands_sep((ir + dr + dw), ','), [INFO] [stdout] 60 + fmt_thousands_sep(ir + dr + dw, ','), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | let package_name = try!(get_package_name()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cargo-profiler v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/callgrind.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/cachegrind.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/display.rs:56:89 [INFO] [stdout] | [INFO] [stdout] 56 | \n\x1b[32mTotal LL D-Cache Misses\x1b[0m...{} ({}%)\t\x1b[0m\n\n\ [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | ", [INFO] [stdout] | |____________________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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 `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/callgrind.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / lazy_static! { [INFO] [stdout] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/parse/cachegrind.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / lazy_static! { [INFO] [stdout] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/callgrind.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/cachegrind.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/cachegrind.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/parse/callgrind.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | func.drain(idx..).collect::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "442ed922f4e09214138e7127bb564d6e08aa92540746774dbb7d719d591b3879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "442ed922f4e09214138e7127bb564d6e08aa92540746774dbb7d719d591b3879", kill_on_drop: false }` [INFO] [stdout] 442ed922f4e09214138e7127bb564d6e08aa92540746774dbb7d719d591b3879 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ba5b84fbb2c4916e05151430ed18410e41ad0c8609165fb2d4289c36fe287b9b [INFO] running `Command { std: "docker" "start" "-a" "ba5b84fbb2c4916e05151430ed18410e41ad0c8609165fb2d4289c36fe287b9b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: bin.0.bin [INFO] [stderr] warning: unused manifest key: lib.lib [INFO] [stderr] 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 `Once::new()` function is now preferred [INFO] [stderr] --> src/parse/callgrind.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | / lazy_static! { [INFO] [stderr] 49 | | static ref CALLGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/parse/cachegrind.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | / lazy_static! { [INFO] [stderr] 90 | | static ref CACHEGRIND_REGEX : Regex = Regex::new(r"\d+\s*[a-zA-Z]*$*_*:*/+\.*@*-*|\d+\s*[a-zA-Z]*$*_*\?+:*/*\.*-*@*-*").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` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/err.rs:136:32 [INFO] [stderr] | [INFO] [stderr] 136 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 136 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/err.rs:129:48 [INFO] [stderr] | [INFO] [stderr] 129 | ProfError::IOError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `collect` that must be used [INFO] [stderr] --> src/parse/callgrind.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | func.drain(idx..).collect::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `collect` that must be used [INFO] [stderr] --> src/parse/cachegrind.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 147 | func.drain(idx..).collect::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `cargo-profiler` (lib) generated 13 warnings (4 duplicates) (run `cargo fix --lib -p cargo-profiler` to apply 2 suggestions) [INFO] [stderr] warning: `cargo-profiler` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:166:5 [INFO] [stderr] | [INFO] [stderr] 166 | try!(Command::new("rm") [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | try!(Command::new("rm") [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:147:39 [INFO] [stderr] | [INFO] [stderr] 147 | Profiler::CallGrind { .. } => try!(profiler.callgrind_cli(&binary, &binargs)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:148:40 [INFO] [stderr] | [INFO] [stderr] 148 | Profiler::CacheGrind { .. } => try!(profiler.cachegrind_cli(&binary, &binargs)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `collect` that must be used [INFO] [stderr] --> src/parse/cachegrind.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 147 | func.drain(idx..).collect::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 147 | let _ = func.drain(idx..).collect::(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `collect` that must be used [INFO] [stderr] --> src/parse/callgrind.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | func.drain(idx..).collect::(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 93 | let _ = func.drain(idx..).collect::(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `cargo-profiler` (bin "cargo-profiler" test) generated 17 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/profiler-30ae8f85b0a25237) [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] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cargo_profiler-87df84883d5087f5) [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] running `Command { std: "docker" "inspect" "ba5b84fbb2c4916e05151430ed18410e41ad0c8609165fb2d4289c36fe287b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba5b84fbb2c4916e05151430ed18410e41ad0c8609165fb2d4289c36fe287b9b", kill_on_drop: false }` [INFO] [stdout] ba5b84fbb2c4916e05151430ed18410e41ad0c8609165fb2d4289c36fe287b9b