[INFO] cloning repository https://github.com/codepr/teaspoon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codepr/teaspoon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fteaspoon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fteaspoon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72fc3a2b0274fbb10a49dcf6c93faad55e325ef9 [INFO] checking codepr/teaspoon against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fteaspoon" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codepr/teaspoon on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codepr/teaspoon [INFO] finished tweaking git repo https://github.com/codepr/teaspoon [INFO] tweaked toml for git repo https://github.com/codepr/teaspoon written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/codepr/teaspoon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bincode v1.2.1 [INFO] [stderr] Downloaded serde_derive v1.0.106 [INFO] [stderr] Downloaded libc v0.2.69 [INFO] [stderr] Downloaded proc-macro2 v1.0.10 [INFO] [stderr] Downloaded mio v0.7.0 [INFO] [stderr] Downloaded miow v0.3.3 [INFO] [stderr] Downloaded ntapi v0.3.3 [INFO] [stderr] Downloaded serde v1.0.106 [INFO] [stderr] Downloaded syn v1.0.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad800d2f93dd09953ee8d4d93dde0f89cb9b1bd3afcfec87a969f1d6d3c4cff2 [INFO] running `Command { std: "docker" "start" "-a" "ad800d2f93dd09953ee8d4d93dde0f89cb9b1bd3afcfec87a969f1d6d3c4cff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad800d2f93dd09953ee8d4d93dde0f89cb9b1bd3afcfec87a969f1d6d3c4cff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad800d2f93dd09953ee8d4d93dde0f89cb9b1bd3afcfec87a969f1d6d3c4cff2", kill_on_drop: false }` [INFO] [stdout] ad800d2f93dd09953ee8d4d93dde0f89cb9b1bd3afcfec87a969f1d6d3c4cff2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17a2c9259c8d8679ae3f8c8914bde98768bbb33995112d22332ed09f1be7d124 [INFO] running `Command { std: "docker" "start" "-a" "17a2c9259c8d8679ae3f8c8914bde98768bbb33995112d22332ed09f1be7d124", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking mio v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking teaspoon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/timeseries.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/timeseries.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Status` [INFO] [stdout] --> src/protocol.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opcode` [INFO] [stdout] --> src/protocol.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn opcode(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_binary` [INFO] [stdout] --> src/protocol.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn from_binary(b: &'a Vec) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_binary` [INFO] [stdout] --> src/protocol.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn to_binary(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_buffer` [INFO] [stdout] --> src/server.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn clear_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_write` [INFO] [stdout] --> src/server.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn register_write(&mut self, poll: &mut Poll, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/timeseries.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(value: f64) -> Record { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/timeseries.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `retention` [INFO] [stdout] --> src/timeseries.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | retention: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ctime` [INFO] [stdout] --> src/timeseries.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | ctime: u128, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/timeseries.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(name: String, retention: Option) -> TimeSeries { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_point` [INFO] [stdout] --> src/timeseries.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn add_point(&mut self, r: Record) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `avg` [INFO] [stdout] --> src/timeseries.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn avg(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `avg_interval` [INFO] [stdout] --> src/timeseries.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn avg_interval(&self, interval: u128) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/timeseries.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/timeseries.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max` [INFO] [stdout] --> src/timeseries.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn max(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min` [INFO] [stdout] --> src/timeseries.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn min(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search` [INFO] [stdout] --> src/timeseries.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn search(&self, val: u128) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `range` [INFO] [stdout] --> src/timeseries.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn range(&self, lo: u128, hi: u128) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Status` [INFO] [stdout] --> src/protocol.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_buffer` [INFO] [stdout] --> src/server.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn clear_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_write` [INFO] [stdout] --> src/server.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn register_write(&mut self, poll: &mut Poll, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ctime` [INFO] [stdout] --> src/timeseries.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | ctime: u128, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.72s [INFO] running `Command { std: "docker" "inspect" "17a2c9259c8d8679ae3f8c8914bde98768bbb33995112d22332ed09f1be7d124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17a2c9259c8d8679ae3f8c8914bde98768bbb33995112d22332ed09f1be7d124", kill_on_drop: false }` [INFO] [stdout] 17a2c9259c8d8679ae3f8c8914bde98768bbb33995112d22332ed09f1be7d124