[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodepr%2Fteaspoon" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codepr/teaspoon on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntapi v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b74afb307a1bb41be1ca8f773025a159c9b0730ffeed9cfc14ba83bff0514a7 [INFO] running `Command { std: "docker" "start" "-a" "1b74afb307a1bb41be1ca8f773025a159c9b0730ffeed9cfc14ba83bff0514a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b74afb307a1bb41be1ca8f773025a159c9b0730ffeed9cfc14ba83bff0514a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b74afb307a1bb41be1ca8f773025a159c9b0730ffeed9cfc14ba83bff0514a7", kill_on_drop: false }` [INFO] [stdout] 1b74afb307a1bb41be1ca8f773025a159c9b0730ffeed9cfc14ba83bff0514a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5355f94201849d5bdda0b4f940ba3388615978001623794ffb59df18cb96a355 [INFO] running `Command { std: "docker" "start" "-a" "5355f94201849d5bdda0b4f940ba3388615978001623794ffb59df18cb96a355", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.106 [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 bincode v1.2.1 [INFO] [stderr] Checking teaspoon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/timeseries.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | use std::cmp::{Ordering, PartialEq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/timeseries.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [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] [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: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/timeseries.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | use std::cmp::{Ordering, PartialEq}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/timeseries.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OpTsCreate`, `OpTsDelete`, `OpTsAddPoint`, `OpTsMaddPoint`, and `OpTsQuery` are never constructed [INFO] [stdout] --> src/protocol.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum OpCode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 32 | OpTsCreate, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | OpTsDelete, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | OpTsAddPoint, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | OpTsMaddPoint, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | OpTsQuery, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [INFO] [stdout] --> src/protocol.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | enum Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsOpcode` is never used [INFO] [stdout] --> src/protocol.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | trait AsOpcode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TsPacket` is never constructed [INFO] [stdout] --> src/protocol.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct TsPacket<'a, T> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `opcode` is never used [INFO] [stdout] --> src/protocol.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl TsHeader { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 81 | pub fn opcode(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_binary` and `to_binary` are never used [INFO] [stdout] --> src/protocol.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 97 | / impl<'a, T> TsPacket<'a, T> [INFO] [stdout] 98 | | where [INFO] [stdout] 99 | | T: Serialize, [INFO] [stdout] 100 | | T: Deserialize<'a>, [INFO] [stdout] | |_______________________- associated items in this implementation [INFO] [stdout] 101 | { [INFO] [stdout] 102 | pub fn from_binary(b: &'a Vec) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn to_binary(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_buffer` and `register_write` are never used [INFO] [stdout] --> src/server.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn clear_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [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 `new` is never used [INFO] [stdout] --> src/timeseries.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Record { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 49 | pub fn new(value: f64) -> Record { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `retention`, and `ctime` are never read [INFO] [stdout] --> src/timeseries.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct TimeSeries { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 65 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 66 | retention: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 67 | ctime: u128, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/timeseries.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl TimeSeries { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 80 | pub fn new(name: String, retention: Option) -> TimeSeries { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn add_point(&mut self, r: Record) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn avg(&self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn avg_interval(&self, interval: u128) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn max(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn min(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn search(&self, val: u128) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn range(&self, lo: u128, hi: u128) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Status` is never used [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: methods `clear_buffer` and `register_write` are never used [INFO] [stdout] --> src/server.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn clear_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [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 `ctime` is never read [INFO] [stdout] --> src/timeseries.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct TimeSeries { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | ctime: u128, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.68s [INFO] running `Command { std: "docker" "inspect" "5355f94201849d5bdda0b4f940ba3388615978001623794ffb59df18cb96a355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5355f94201849d5bdda0b4f940ba3388615978001623794ffb59df18cb96a355", kill_on_drop: false }` [INFO] [stdout] 5355f94201849d5bdda0b4f940ba3388615978001623794ffb59df18cb96a355