[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 master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpratikmishra356%2Fapm" "/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/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pratikmishra356/apm on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "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" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f13cc51be86e79328326687cb478af22e08d0b1cbb9bf63e6f99e0a99cd832a [INFO] running `Command { std: "docker" "start" "-a" "6f13cc51be86e79328326687cb478af22e08d0b1cbb9bf63e6f99e0a99cd832a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f13cc51be86e79328326687cb478af22e08d0b1cbb9bf63e6f99e0a99cd832a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f13cc51be86e79328326687cb478af22e08d0b1cbb9bf63e6f99e0a99cd832a", kill_on_drop: false }` [INFO] [stdout] 6f13cc51be86e79328326687cb478af22e08d0b1cbb9bf63e6f99e0a99cd832a [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18bae97741d5a4f60bd2798f5bee6fea0d0cc02564df10575032aff15721b245 [INFO] running `Command { std: "docker" "start" "-a" "18bae97741d5a4f60bd2798f5bee6fea0d0cc02564df10575032aff15721b245", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking apm v0.1.0 (/opt/rustwide/workdir) [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)]` 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] [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)]` 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, 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 { [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 { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.44s [INFO] running `Command { std: "docker" "inspect" "18bae97741d5a4f60bd2798f5bee6fea0d0cc02564df10575032aff15721b245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18bae97741d5a4f60bd2798f5bee6fea0d0cc02564df10575032aff15721b245", kill_on_drop: false }` [INFO] [stdout] 18bae97741d5a4f60bd2798f5bee6fea0d0cc02564df10575032aff15721b245