[INFO] cloning repository https://github.com/pajlada/pajbot2-points [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pajlada/pajbot2-points" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajlada%2Fpajbot2-points", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajlada%2Fpajbot2-points'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1571f7d3f6dad304401c513558478b3e77e5f69f [INFO] checking pajlada/pajbot2-points against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpajlada%2Fpajbot2-points" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pajlada/pajbot2-points on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pajlada/pajbot2-points [INFO] finished tweaking git repo https://github.com/pajlada/pajbot2-points [INFO] tweaked toml for git repo https://github.com/pajlada/pajbot2-points written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pajlada/pajbot2-points 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb1b76d37201ca1a8c1e0ebf05b1db251061cd3ac3ef02e5575e9b788252942f [INFO] running `Command { std: "docker" "start" "-a" "eb1b76d37201ca1a8c1e0ebf05b1db251061cd3ac3ef02e5575e9b788252942f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb1b76d37201ca1a8c1e0ebf05b1db251061cd3ac3ef02e5575e9b788252942f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb1b76d37201ca1a8c1e0ebf05b1db251061cd3ac3ef02e5575e9b788252942f", kill_on_drop: false }` [INFO] [stdout] eb1b76d37201ca1a8c1e0ebf05b1db251061cd3ac3ef02e5575e9b788252942f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89e582b9a85ecd9b8b75cdd8ba5504579549837175dc99f016241124bcc217db [INFO] running `Command { std: "docker" "start" "-a" "89e582b9a85ecd9b8b75cdd8ba5504579549837175dc99f016241124bcc217db", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Checking chrono v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Checking ctrlc v3.1.1 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking pajbot2-points v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/points.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut res = self.ranks.get_mut(*user_rank as usize); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/points.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | fn remove_points(&self, user_id: String, points: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `points` [INFO] [stdout] --> src/points.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | fn remove_points(&self, user_id: String, points: u64) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/points.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut res = self.ranks.get_mut(*user_rank as usize); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/points.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | fn remove_points(&self, user_id: String, points: u64) -> u64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `points` [INFO] [stdout] --> src/points.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | fn remove_points(&self, user_id: String, points: u64) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rank` [INFO] [stdout] --> src/points.rs:155:34 [INFO] [stdout] | [INFO] [stdout] 155 | ... Some(rank) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/points.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | Edit(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/points.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | Rank(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/points.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | Quit(sender) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rank` [INFO] [stdout] --> src/points.rs:155:34 [INFO] [stdout] | [INFO] [stdout] 155 | ... Some(rank) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/points.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | Edit(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/points.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | Rank(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/points.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | Quit(sender) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/points.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let mut c = ChannelPoints::load(path_str)?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/points.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | let mut c = ChannelPoints::load(path_str)?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(mut stream) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(mut stream) => { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/client.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GetPoints { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | pub channel_name: String, [INFO] [stdout] 15 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetPoints` 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: fields `user_id`, `operation`, `value`, `force`, and `response_sender` are never read [INFO] [stdout] --> src/client.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Edit { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 37 | pub channel_name: String, [INFO] [stdout] 38 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | [INFO] [stdout] 40 | pub operation: Operation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | [INFO] [stdout] 42 | pub value: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub force: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub response_sender: Sender<(bool, u64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Edit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `response_sender` are never read [INFO] [stdout] --> src/client.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Rank { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 53 | pub channel_name: String, [INFO] [stdout] 54 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub response_sender: Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rank` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `receiver` is never read [INFO] [stdout] --> src/points.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ChannelPoints { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | receiver: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelPoints` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/client.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GetPoints { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | pub channel_name: String, [INFO] [stdout] 15 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetPoints` 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: fields `user_id`, `operation`, `value`, `force`, and `response_sender` are never read [INFO] [stdout] --> src/client.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Edit { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 37 | pub channel_name: String, [INFO] [stdout] 38 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | [INFO] [stdout] 40 | pub operation: Operation, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | [INFO] [stdout] 42 | pub value: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub force: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub response_sender: Sender<(bool, u64)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Edit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_id` and `response_sender` are never read [INFO] [stdout] --> src/client.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Rank { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 53 | pub channel_name: String, [INFO] [stdout] 54 | pub user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub response_sender: Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rank` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `receiver` is never read [INFO] [stdout] --> src/points.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ChannelPoints { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | receiver: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelPoints` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "89e582b9a85ecd9b8b75cdd8ba5504579549837175dc99f016241124bcc217db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89e582b9a85ecd9b8b75cdd8ba5504579549837175dc99f016241124bcc217db", kill_on_drop: false }` [INFO] [stdout] 89e582b9a85ecd9b8b75cdd8ba5504579549837175dc99f016241124bcc217db