[INFO] cloning repository https://github.com/andrewmichaud/podstats [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewmichaud/podstats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewmichaud%2Fpodstats", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewmichaud%2Fpodstats'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fe7081d266ae58a148ed9f116d0768a77318729 [INFO] checking andrewmichaud/podstats against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewmichaud%2Fpodstats" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andrewmichaud/podstats 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/andrewmichaud/podstats [INFO] finished tweaking git repo https://github.com/andrewmichaud/podstats [INFO] tweaked toml for git repo https://github.com/andrewmichaud/podstats written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/andrewmichaud/podstats 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] f13e986dbb0cf5cfba1ee9cceea361c975cb53f4d6e2450002f2d7a51c4a671e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f13e986dbb0cf5cfba1ee9cceea361c975cb53f4d6e2450002f2d7a51c4a671e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f13e986dbb0cf5cfba1ee9cceea361c975cb53f4d6e2450002f2d7a51c4a671e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f13e986dbb0cf5cfba1ee9cceea361c975cb53f4d6e2450002f2d7a51c4a671e", kill_on_drop: false }` [INFO] [stdout] f13e986dbb0cf5cfba1ee9cceea361c975cb53f4d6e2450002f2d7a51c4a671e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b15673a1326857f47bab133042dc54f9db294aedf6ef1425c6416ab71e4ef04d [INFO] running `Command { std: "docker" "start" "-a" "b15673a1326857f47bab133042dc54f9db294aedf6ef1425c6416ab71e4ef04d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking linked-hash-map v0.4.2 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking rmp v0.8.7 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Checking rmp-serde v0.13.7 [INFO] [stderr] Checking serde_yaml v0.8.8 [INFO] [stderr] Checking podstats v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/subscription.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | Err(why) => panic!("{:#?}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:115:67 [INFO] [stdout] | [INFO] [stdout] 115 | Err(why) => panic!("couldn't open {}: {:?}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:122:65 [INFO] [stdout] | [INFO] [stdout] 122 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | Err(why) => panic!("{:#?}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:115:67 [INFO] [stdout] | [INFO] [stdout] 115 | Err(why) => panic!("couldn't open {}: {:?}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:122:65 [INFO] [stdout] | [INFO] [stdout] 122 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:205:67 [INFO] [stdout] | [INFO] [stdout] 205 | Err(why) => panic!("couldn't create {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:211:69 [INFO] [stdout] | [INFO] [stdout] 211 | Err(why) => panic!("couldn't write to {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:220:60 [INFO] [stdout] | [INFO] [stdout] 220 | Err(why) => panic!("couldn't remove file: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/subscription.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | Err(why) => panic!("{:#?}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:115:67 [INFO] [stdout] | [INFO] [stdout] 115 | Err(why) => panic!("couldn't open {}: {:?}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:122:65 [INFO] [stdout] | [INFO] [stdout] 122 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | Err(why) => panic!("{:#?}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:115:67 [INFO] [stdout] | [INFO] [stdout] 115 | Err(why) => panic!("couldn't open {}: {:?}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:122:65 [INFO] [stdout] | [INFO] [stdout] 122 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:205:67 [INFO] [stdout] | [INFO] [stdout] 205 | Err(why) => panic!("couldn't create {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:211:69 [INFO] [stdout] | [INFO] [stdout] 211 | Err(why) => panic!("couldn't write to {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/subscription.rs:220:60 [INFO] [stdout] | [INFO] [stdout] 220 | Err(why) => panic!("couldn't remove file: {}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_config` [INFO] [stdout] --> src/config.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn read_config() -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_config` [INFO] [stdout] --> src/config.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn write_config(config: Config) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/subscription.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(url: &str, name: &str, directory: Option<&str>) -> Subscription { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vec_serialize` [INFO] [stdout] --> src/subscription.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn vec_serialize(subs: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `serialize` [INFO] [stdout] --> src/subscription.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn serialize(sub: &Subscription) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `deserialize` [INFO] [stdout] --> src/subscription.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn deserialize(sub_vec: &Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `process_directory` [INFO] [stdout] --> src/subscription.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn process_directory(directory: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_config` [INFO] [stdout] --> src/config.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn read_config() -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_config` [INFO] [stdout] --> src/config.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn write_config(config: Config) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.56s [INFO] running `Command { std: "docker" "inspect" "b15673a1326857f47bab133042dc54f9db294aedf6ef1425c6416ab71e4ef04d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b15673a1326857f47bab133042dc54f9db294aedf6ef1425c6416ab71e4ef04d", kill_on_drop: false }` [INFO] [stdout] b15673a1326857f47bab133042dc54f9db294aedf6ef1425c6416ab71e4ef04d