[INFO] cloning repository https://github.com/ihaarr/tracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ihaarr/tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihaarr%2Ftracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihaarr%2Ftracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee277f64364bd1f99fa6f1ca655d36cb8ace5066
[INFO] testing ihaarr/tracer against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihaarr%2Ftracer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ihaarr/tracer
[INFO] finished tweaking git repo https://github.com/ihaarr/tracer
[INFO] tweaked toml for git repo https://github.com/ihaarr/tracer written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ihaarr/tracer on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ihaarr/tracer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: profile.release.tracing
[INFO] [stderr] warning: `tracer` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 69626a2f35486de762c05b4e446e28f0ff5ef02e79219439148504c602da6d8a
[INFO] running `Command { std: "docker" "start" "-a" "69626a2f35486de762c05b4e446e28f0ff5ef02e79219439148504c602da6d8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "69626a2f35486de762c05b4e446e28f0ff5ef02e79219439148504c602da6d8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69626a2f35486de762c05b4e446e28f0ff5ef02e79219439148504c602da6d8a", kill_on_drop: false }`
[INFO] [stdout] 69626a2f35486de762c05b4e446e28f0ff5ef02e79219439148504c602da6d8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb2edc1f442625de059617c5e15e6c34104175933049244b011dd11854e9498a
[INFO] running `Command { std: "docker" "start" "-a" "cb2edc1f442625de059617c5e15e6c34104175933049244b011dd11854e9498a", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: profile.release.tracing
[INFO] [stderr] warning: `tracer` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling tracer-macro v0.1.0 (/opt/rustwide/workdir/tracer-macro)
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> tracer-macro/src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]  --> src/lib.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Mutex, MutexGuard};
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `trace_main` and `trace`
[INFO] [stdout]  --> src/lib.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracer_macro::{trace, trace_main};
[INFO] [stdout]   |                    ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut record = &mut profiler.records[self.idx];
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `NameHashFunc` is never used
[INFO] [stdout]  --> src/lib.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | type NameHashFunc = u64;
[INFO] [stdout]   |      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `zeroed_instant` is never used
[INFO] [stdout]   --> src/lib.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | const fn zeroed_instant() -> Instant {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TraceBlock` is never constructed
[INFO] [stdout]   --> src/lib.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct TraceBlock {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `hash_fn_name` and `new` are never used
[INFO] [stdout]   --> src/lib.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl TraceBlock {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 22 |     fn hash_fn_name(name: &'static str) -> NameHashFunc {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn new(name: &'static str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TraceRecord` is never constructed
[INFO] [stdout]   --> src/lib.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct TraceRecord {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl TraceRecord {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 70 |     const fn new() -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRACE_RECORD_COUNT` is never used
[INFO] [stdout]   --> src/lib.rs:81:7
[INFO] [stdout]    |
[INFO] [stdout] 81 | const TRACE_RECORD_COUNT: usize = 4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `TraceRecords` is never used
[INFO] [stdout]   --> src/lib.rs:82:6
[INFO] [stdout]    |
[INFO] [stdout] 82 | type TraceRecords = [TraceRecord; TRACE_RECORD_COUNT];
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Profiler` is never constructed
[INFO] [stdout]   --> src/lib.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct Profiler {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `init`, and `record_index` are never used
[INFO] [stdout]    --> src/lib.rs:91:14
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl Profiler {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  91 |     const fn new() -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     fn init(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn record_index(&self, hash_fn: NameHashFunc) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_PROFILER` is never used
[INFO] [stdout]    --> src/lib.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | static GLOBAL_PROFILER: Mutex<Profiler> = Mutex::new(Profiler::new());
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.60s
[INFO] running `Command { std: "docker" "inspect" "cb2edc1f442625de059617c5e15e6c34104175933049244b011dd11854e9498a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb2edc1f442625de059617c5e15e6c34104175933049244b011dd11854e9498a", kill_on_drop: false }`
[INFO] [stdout] cb2edc1f442625de059617c5e15e6c34104175933049244b011dd11854e9498a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 16199595668e4b8d806e5e1d4ff9162471daf87d214b6fcc129912a933bf26d0
[INFO] running `Command { std: "docker" "start" "-a" "16199595668e4b8d806e5e1d4ff9162471daf87d214b6fcc129912a933bf26d0", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: profile.release.tracing
[INFO] [stderr] warning: `tracer` (manifest) generated 1 warning
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> tracer-macro/src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]  --> src/lib.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::{Mutex, MutexGuard};
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `trace_main` and `trace`
[INFO] [stdout]  --> src/lib.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracer_macro::{trace, trace_main};
[INFO] [stdout]   |                    ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut record = &mut profiler.records[self.idx];
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `NameHashFunc` is never used
[INFO] [stdout]  --> src/lib.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | type NameHashFunc = u64;
[INFO] [stdout]   |      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `zeroed_instant` is never used
[INFO] [stdout]   --> src/lib.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | const fn zeroed_instant() -> Instant {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TraceBlock` is never constructed
[INFO] [stdout]   --> src/lib.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct TraceBlock {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `hash_fn_name` and `new` are never used
[INFO] [stdout]   --> src/lib.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl TraceBlock {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 22 |     fn hash_fn_name(name: &'static str) -> NameHashFunc {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn new(name: &'static str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TraceRecord` is never constructed
[INFO] [stdout]   --> src/lib.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct TraceRecord {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl TraceRecord {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 70 |     const fn new() -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRACE_RECORD_COUNT` is never used
[INFO] [stdout]   --> src/lib.rs:81:7
[INFO] [stdout]    |
[INFO] [stdout] 81 | const TRACE_RECORD_COUNT: usize = 4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `TraceRecords` is never used
[INFO] [stdout]   --> src/lib.rs:82:6
[INFO] [stdout]    |
[INFO] [stdout] 82 | type TraceRecords = [TraceRecord; TRACE_RECORD_COUNT];
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Profiler` is never constructed
[INFO] [stdout]   --> src/lib.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct Profiler {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `init`, and `record_index` are never used
[INFO] [stdout]    --> src/lib.rs:91:14
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl Profiler {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  91 |     const fn new() -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     fn init(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn record_index(&self, hash_fn: NameHashFunc) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_PROFILER` is never used
[INFO] [stdout]    --> src/lib.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | static GLOBAL_PROFILER: Mutex<Profiler> = Mutex::new(Profiler::new());
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut record = &mut profiler.records[self.idx];
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name_hash` is never read
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct TraceBlock {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     name_hash: NameHashFunc,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s
[INFO] running `Command { std: "docker" "inspect" "16199595668e4b8d806e5e1d4ff9162471daf87d214b6fcc129912a933bf26d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16199595668e4b8d806e5e1d4ff9162471daf87d214b6fcc129912a933bf26d0", kill_on_drop: false }`
[INFO] [stdout] 16199595668e4b8d806e5e1d4ff9162471daf87d214b6fcc129912a933bf26d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 175d56cb343f44c913650e18cbaaab2166c287222cb1a6fce7d3e6796a8c4738
[INFO] running `Command { std: "docker" "start" "-a" "175d56cb343f44c913650e18cbaaab2166c287222cb1a6fce7d3e6796a8c4738", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: profile.release.tracing
[INFO] [stderr] warning: `tracer` (manifest) generated 1 warning
[INFO] [stderr] warning: unused import: `std::path::Path`
[INFO] [stderr]  --> tracer-macro/src/lib.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::path::Path;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `tracer-macro` (lib) generated 1 warning (run `cargo fix --lib -p tracer-macro` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `std::cell::RefCell`
[INFO] [stderr]  --> src/lib.rs:1:5
[INFO] [stderr]   |
[INFO] [stdout] 
[INFO] [stderr] 1 | use std::cell::RefCell;
[INFO] [stdout] running 4 tests
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] test tests::test_multi_inner ... ok
[INFO] [stderr]   |
[INFO] [stdout] test tests::test_single_function ... ok
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] test tests::test_with_inner ... ok
[INFO] [stderr] 
[INFO] [stdout] test tests::test_trace_main ... ok
[INFO] [stderr] warning: unused import: `MutexGuard`
[INFO] [stdout] 
[INFO] [stderr]  --> src/lib.rs:4:24
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]   |
[INFO] [stdout] 
[INFO] [stderr] 4 | use std::sync::{Mutex, MutexGuard};
[INFO] [stderr]   |                        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `trace_main` and `trace`
[INFO] [stderr]  --> src/lib.rs:6:20
[INFO] [stderr]   |
[INFO] [stderr] 6 | use tracer_macro::{trace, trace_main};
[INFO] [stderr]   |                    ^^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/lib.rs:49:13
[INFO] [stderr]    |
[INFO] [stderr] 49 |         let mut record = &mut profiler.records[self.idx];
[INFO] [stderr]    |             ----^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `NameHashFunc` is never used
[INFO] [stderr]  --> src/lib.rs:8:6
[INFO] [stderr]   |
[INFO] [stderr] 8 | type NameHashFunc = u64;
[INFO] [stderr]   |      ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `zeroed_instant` is never used
[INFO] [stderr]   --> src/lib.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 | const fn zeroed_instant() -> Instant {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TraceBlock` is never constructed
[INFO] [stderr]   --> src/lib.rs:14:8
[INFO] [stderr]    |
[INFO] [stderr] 14 | struct TraceBlock {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `hash_fn_name` and `new` are never used
[INFO] [stderr]   --> src/lib.rs:22:8
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl TraceBlock {
[INFO] [stderr]    | --------------- associated functions in this implementation
[INFO] [stderr] 22 |     fn hash_fn_name(name: &'static str) -> NameHashFunc {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 27 |     fn new(name: &'static str) -> Self {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TraceRecord` is never constructed
[INFO] [stderr]   --> src/lib.rs:61:8
[INFO] [stderr]    |
[INFO] [stderr] 61 | struct TraceRecord {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/lib.rs:70:14
[INFO] [stderr]    |
[INFO] [stderr] 69 | impl TraceRecord {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] 70 |     const fn new() -> Self {
[INFO] [stderr]    |              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TRACE_RECORD_COUNT` is never used
[INFO] [stderr]   --> src/lib.rs:81:7
[INFO] [stderr]    |
[INFO] [stderr] 81 | const TRACE_RECORD_COUNT: usize = 4;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `TraceRecords` is never used
[INFO] [stderr]   --> src/lib.rs:82:6
[INFO] [stderr]    |
[INFO] [stderr] 82 | type TraceRecords = [TraceRecord; TRACE_RECORD_COUNT];
[INFO] [stderr]    |      ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Profiler` is never constructed
[INFO] [stderr]   --> src/lib.rs:84:8
[INFO] [stderr]    |
[INFO] [stderr] 84 | struct Profiler {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `init`, and `record_index` are never used
[INFO] [stderr]    --> src/lib.rs:91:14
[INFO] [stderr]     |
[INFO] [stderr]  90 | impl Profiler {
[INFO] [stderr]     | ------------- associated items in this implementation
[INFO] [stderr]  91 |     const fn new() -> Self {
[INFO] [stderr]     |              ^^^
[INFO] [stderr] ...
[INFO] [stderr]  99 |     fn init(&mut self) {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 103 |     fn record_index(&self, hash_fn: NameHashFunc) -> usize {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `GLOBAL_PROFILER` is never used
[INFO] [stderr]    --> src/lib.rs:136:8
[INFO] [stderr]     |
[INFO] [stderr] 136 | static GLOBAL_PROFILER: Mutex<Profiler> = Mutex::new(Profiler::new());
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `name_hash` is never read
[INFO] [stderr]   --> src/lib.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | struct TraceBlock {
[INFO] [stderr]    |        ---------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 17 |     name_hash: NameHashFunc,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `tracer` (lib) generated 15 warnings (run `cargo fix --lib -p tracer` to apply 4 suggestions)
[INFO] [stderr] warning: `tracer` (lib test) generated 3 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tracer-e1266a3710ccf633)
[INFO] [stderr]    Doc-tests tracer
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "175d56cb343f44c913650e18cbaaab2166c287222cb1a6fce7d3e6796a8c4738", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "175d56cb343f44c913650e18cbaaab2166c287222cb1a6fce7d3e6796a8c4738", kill_on_drop: false }`
[INFO] [stdout] 175d56cb343f44c913650e18cbaaab2166c287222cb1a6fce7d3e6796a8c4738
