[INFO] fetching crate typestate 0.9.0-rc2... [INFO] building typestate-0.9.0-rc2 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate typestate 0.9.0-rc2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate typestate 0.9.0-rc2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate typestate 0.9.0-rc2 [INFO] tweaked toml for crates.io crate typestate 0.9.0-rc2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate typestate 0.9.0-rc2 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate typestate 0.9.0-rc2 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa1aae34a443a99e3656b18b0faddf35b068ce3ceaf4d8712c832d69db06031f [INFO] running `Command { std: "docker" "start" "-a" "fa1aae34a443a99e3656b18b0faddf35b068ce3ceaf4d8712c832d69db06031f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa1aae34a443a99e3656b18b0faddf35b068ce3ceaf4d8712c832d69db06031f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa1aae34a443a99e3656b18b0faddf35b068ce3ceaf4d8712c832d69db06031f", kill_on_drop: false }` [INFO] [stdout] fa1aae34a443a99e3656b18b0faddf35b068ce3ceaf4d8712c832d69db06031f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca7b9d8480ce120c318e1d6da6e46fcda7b19ec3b7d26c68e46ab0850ab28167 [INFO] running `Command { std: "docker" "start" "-a" "ca7b9d8480ce120c318e1d6da6e46fcda7b19ec3b7d26c68e46ab0850ab28167", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling aquamarine v0.1.9 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling typestate-proc-macro v0.9.0-rc2 [INFO] [stderr] Compiling typestate v0.9.0-rc2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.74s [INFO] running `Command { std: "docker" "inspect" "ca7b9d8480ce120c318e1d6da6e46fcda7b19ec3b7d26c68e46ab0850ab28167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca7b9d8480ce120c318e1d6da6e46fcda7b19ec3b7d26c68e46ab0850ab28167", kill_on_drop: false }` [INFO] [stdout] ca7b9d8480ce120c318e1d6da6e46fcda7b19ec3b7d26c68e46ab0850ab28167 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27b657f4deef6590d5879e58ddb97cc27a96312c0dc6a07e082e05fdb41ed9f1 [INFO] running `Command { std: "docker" "start" "-a" "27b657f4deef6590d5879e58ddb97cc27a96312c0dc6a07e082e05fdb41ed9f1", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling dissimilar v1.0.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling typestate v0.9.0-rc2 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> examples/lifetime_automata.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | struct Player {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/lifetime_automata.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | fn start(name: &str) -> Alive; [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn start(name: &str) -> Alive<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Alive` is never constructed [INFO] [stdout] --> examples/lifetime_automata.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | struct Alive<'name> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dead` is never constructed [INFO] [stdout] --> examples/lifetime_automata.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | struct Dead<'name> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlayerLifeState` is never used [INFO] [stdout] --> examples/lifetime_automata.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | enum PlayerLifeState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AliveState` is never used [INFO] [stdout] --> examples/lifetime_automata.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | trait Alive<'name> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DeadState` is never used [INFO] [stdout] --> examples/lifetime_automata.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | trait Dead { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmartBulb` is never constructed [INFO] [stdout] --> examples/smart_bulb.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | struct SmartBulb { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Off` is never constructed [INFO] [stdout] --> examples/smart_bulb.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[state] struct Off; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OffState` is never used [INFO] [stdout] --> examples/smart_bulb.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | trait Off { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `On` is never constructed [INFO] [stdout] --> examples/smart_bulb.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | #[state] struct On; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OnState` is never used [INFO] [stdout] --> examples/smart_bulb.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | trait On { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Unknown` is never used [INFO] [stdout] --> examples/smart_bulb.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | enum Unknown { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bulb` [INFO] [stdout] --> examples/light_bulb.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let bulb = bulb.turn_off(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bulb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unscrew` is never used [INFO] [stdout] --> examples/light_bulb.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Off { [INFO] [stdout] | --- method in this trait [INFO] [stdout] 12 | fn screw() -> Off; [INFO] [stdout] 13 | fn unscrew(self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_either` is never used [INFO] [stdout] --> examples/traffic_light.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub trait Red { [INFO] [stdout] | --- method in this trait [INFO] [stdout] ... [INFO] [stdout] 98 | fn to_either(self) -> Either; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Either` is never used [INFO] [stdout] --> examples/traffic_light.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.85s [INFO] running `Command { std: "docker" "inspect" "27b657f4deef6590d5879e58ddb97cc27a96312c0dc6a07e082e05fdb41ed9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27b657f4deef6590d5879e58ddb97cc27a96312c0dc6a07e082e05fdb41ed9f1", kill_on_drop: false }` [INFO] [stdout] 27b657f4deef6590d5879e58ddb97cc27a96312c0dc6a07e082e05fdb41ed9f1