[INFO] cloning repository https://github.com/pratikmishra356/apm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pratikmishra356/apm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpratikmishra356%2Fapm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpratikmishra356%2Fapm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 82e8f798feca2d13ef85cdaf5344683e9a02281e
[INFO] checking pratikmishra356/apm against try#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpratikmishra356%2Fapm" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pratikmishra356/apm
[INFO] finished tweaking git repo https://github.com/pratikmishra356/apm
[INFO] tweaked toml for git repo https://github.com/pratikmishra356/apm written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pratikmishra356/apm on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pratikmishra356/apm 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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f605fbc9c0b70ccf29f6ca585b7402552df7cad520f5d1cf50f7ce32faa3e080
[INFO] running `Command { std: "docker" "start" "-a" "f605fbc9c0b70ccf29f6ca585b7402552df7cad520f5d1cf50f7ce32faa3e080", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f605fbc9c0b70ccf29f6ca585b7402552df7cad520f5d1cf50f7ce32faa3e080", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f605fbc9c0b70ccf29f6ca585b7402552df7cad520f5d1cf50f7ce32faa3e080", kill_on_drop: false }`
[INFO] [stdout] f605fbc9c0b70ccf29f6ca585b7402552df7cad520f5d1cf50f7ce32faa3e080
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6f42b6ca23855a2960739e39335960758b1f91245f92d89400a597c22b2aace5
[INFO] running `Command { std: "docker" "start" "-a" "6f42b6ca23855a2960739e39335960758b1f91245f92d89400a597c22b2aace5", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]     Checking apm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `APIEvent` is never constructed
[INFO] [stdout]  --> src/data.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct APIEvent {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataStore` is never constructed
[INFO] [stdout]   --> src/data.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct DataStore {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventData` is never constructed
[INFO] [stdout]   --> src/data.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct EventData{
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `insert_event` and `query_event` are never used
[INFO] [stdout]   --> src/data.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl EventData {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 32 |     
[INFO] [stdout] 33 |     pub fn insert_event(&mut self, event_data: APIEvent) -> Result<(),String>{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn query_event(&mut self, from: i64, to: i64, endpoint: String) -> Result<Vec<DataStore>, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `QueryType` is never used
[INFO] [stdout]  --> src/request.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum QueryType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `APMQueryRequest` is never constructed
[INFO] [stdout]   --> src/request.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct APMQueryRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_str` and `query` are never used
[INFO] [stdout]   --> src/request.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl APMQueryRequest {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 40 |    
[INFO] [stdout] 41 |     pub fn from_str(input: &str) -> Result<Self, String> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn query(
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timestamp_to_seconds` is never used
[INFO] [stdout]  --> src/utils.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn timestamp_to_seconds(time: String) -> Result<i64,String> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `APMQueryResponse` is never used
[INFO] [stdout]  --> src/response.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum APMQueryResponse {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `query_throughput`, `query_error`, and `query_latency` are never used
[INFO] [stdout]   --> src/response.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl APMQueryResponse {
[INFO] [stdout]    | --------------------- associated functions in this implementation
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     pub fn query_throughput(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn query_error(
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn query_latency(
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `event_id` is never read
[INFO] [stdout]   --> src/data.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct APIEvent {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout]  9 |     pub endpoint: String,
[INFO] [stdout] 10 |     pub event_id: u64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `APIEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status_code` is never read
[INFO] [stdout]   --> src/data.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct DataStore {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub status_code: u16,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataStore` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.66s
[INFO] running `Command { std: "docker" "inspect" "6f42b6ca23855a2960739e39335960758b1f91245f92d89400a597c22b2aace5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f42b6ca23855a2960739e39335960758b1f91245f92d89400a597c22b2aace5", kill_on_drop: false }`
[INFO] [stdout] 6f42b6ca23855a2960739e39335960758b1f91245f92d89400a597c22b2aace5
