[INFO] cloning repository https://github.com/robn/twister [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robn/twister" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobn%2Ftwister", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobn%2Ftwister'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6587a718fe5218b12350e345447c2cf179fb615 [INFO] checking robn/twister against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobn%2Ftwister" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robn/twister on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robn/twister [INFO] finished tweaking git repo https://github.com/robn/twister [INFO] tweaked toml for git repo https://github.com/robn/twister written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/robn/twister 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" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bimap v0.6.0 [INFO] [stderr] Downloaded hecs v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc5d80797d6e053db825d0abc05b3e43e6d8e28a3747a02ee7b0b962e5e5f03d [INFO] running `Command { std: "docker" "start" "-a" "dc5d80797d6e053db825d0abc05b3e43e6d8e28a3747a02ee7b0b962e5e5f03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc5d80797d6e053db825d0abc05b3e43e6d8e28a3747a02ee7b0b962e5e5f03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5d80797d6e053db825d0abc05b3e43e6d8e28a3747a02ee7b0b962e5e5f03d", kill_on_drop: false }` [INFO] [stdout] dc5d80797d6e053db825d0abc05b3e43e6d8e28a3747a02ee7b0b962e5e5f03d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0118d54bdc45f912b3f961ad12482ec643770a2584518505e189f506e515780 [INFO] running `Command { std: "docker" "start" "-a" "f0118d54bdc45f912b3f961ad12482ec643770a2584518505e189f506e515780", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking bimap v0.6.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking hecs v0.3.2 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking twister v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hecs::*` [INFO] [stdout] --> src/connection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hecs::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hecs::*` [INFO] [stdout] --> src/connection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hecs::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/server.rs:159:35 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some((_, entity)) = self.token_entity.remove_by_left(&token) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/server.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | fn apply(&mut self, g: &mut Global, actions: &Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actions` [INFO] [stdout] --> src/server.rs:195:39 [INFO] [stdout] | [INFO] [stdout] 195 | fn apply(&mut self, g: &mut Global, actions: &Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/action.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | _ => unimplemented!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/action.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 25 | Action::SetName(entity, username) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 32 | Action::Output(entity, text) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 38 | Action::Tell(entity, who, text) => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | Action::Hello(entity) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | _ => unimplemented!() [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/channel.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | .for_each(|(entity, c)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/channel.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | .for_each(|(entity, io)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/server.rs:159:35 [INFO] [stdout] | [INFO] [stdout] 159 | if let Some((_, entity)) = self.token_entity.remove_by_left(&token) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Offline` and `Disconnected` are never constructed [INFO] [stdout] --> src/component.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Connection { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Offline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Disconnected, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` 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: field `0` is never read [INFO] [stdout] --> src/component.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Name(pub String); [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Name` 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 `members` is never read [INFO] [stdout] --> src/component.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Channel { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 28 | pub members: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Channel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChannelEvent` is never used [INFO] [stdout] --> src/component.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum ChannelEvent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChannelMessage` is never used [INFO] [stdout] --> src/channel.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum ChannelMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/channel.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn update(g: &mut Global) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/system.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait System { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 5 | fn update(&mut self, g: &mut Global) -> Vec; // XXX remove mut once we're converted [INFO] [stdout] 6 | fn apply(&mut self, g: &mut Global, actions: &Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/server.rs:195:23 [INFO] [stdout] | [INFO] [stdout] 195 | fn apply(&mut self, g: &mut Global, actions: &Vec) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actions` [INFO] [stdout] --> src/server.rs:195:39 [INFO] [stdout] | [INFO] [stdout] 195 | fn apply(&mut self, g: &mut Global, actions: &Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/action.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | _ => unimplemented!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/action.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 25 | Action::SetName(entity, username) => { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 32 | Action::Output(entity, text) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 38 | Action::Tell(entity, who, text) => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | Action::Hello(entity) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | _ => unimplemented!() [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/channel.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | .for_each(|(entity, c)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/channel.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | .for_each(|(entity, io)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Offline` and `Disconnected` are never constructed [INFO] [stdout] --> src/component.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Connection { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Offline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Disconnected, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` 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: field `0` is never read [INFO] [stdout] --> src/component.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Name(pub String); [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Name` 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 `members` is never read [INFO] [stdout] --> src/component.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Channel { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 28 | pub members: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Channel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChannelEvent` is never used [INFO] [stdout] --> src/component.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum ChannelEvent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] [stdout] warning: enum `ChannelMessage` is never used [INFO] [stdout] --> src/channel.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum ChannelMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update` is never used [INFO] [stdout] --> src/channel.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn update(g: &mut Global) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/system.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait System { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 5 | fn update(&mut self, g: &mut Global) -> Vec; // XXX remove mut once we're converted [INFO] [stdout] 6 | fn apply(&mut self, g: &mut Global, actions: &Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f0118d54bdc45f912b3f961ad12482ec643770a2584518505e189f506e515780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0118d54bdc45f912b3f961ad12482ec643770a2584518505e189f506e515780", kill_on_drop: false }` [INFO] [stdout] f0118d54bdc45f912b3f961ad12482ec643770a2584518505e189f506e515780