[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#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688 [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 a0cd57eba5d417638d3351ba13fc414ad1a24bec [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf1a96914503ea1b5dbd86662284e6a4cf86d29adc842b1731b08d578a0b9672 [INFO] running `Command { std: "docker" "start" "-a" "bf1a96914503ea1b5dbd86662284e6a4cf86d29adc842b1731b08d578a0b9672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf1a96914503ea1b5dbd86662284e6a4cf86d29adc842b1731b08d578a0b9672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf1a96914503ea1b5dbd86662284e6a4cf86d29adc842b1731b08d578a0b9672", kill_on_drop: false }` [INFO] [stdout] bf1a96914503ea1b5dbd86662284e6a4cf86d29adc842b1731b08d578a0b9672 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e8bbc5be2de1093e2268b7c63b1ee90f818dc902b998b478acd6db45017417d [INFO] running `Command { std: "docker" "start" "-a" "8e8bbc5be2de1093e2268b7c63b1ee90f818dc902b998b478acd6db45017417d", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking cfg-if v1.0.0 [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: 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: 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: `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: 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: 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: 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: `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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "8e8bbc5be2de1093e2268b7c63b1ee90f818dc902b998b478acd6db45017417d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e8bbc5be2de1093e2268b7c63b1ee90f818dc902b998b478acd6db45017417d", kill_on_drop: false }` [INFO] [stdout] 8e8bbc5be2de1093e2268b7c63b1ee90f818dc902b998b478acd6db45017417d