[INFO] fetching crate typestate 0.9.0-rc2... [INFO] building typestate-0.9.0-rc2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate typestate 0.9.0-rc2 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate typestate 0.9.0-rc2 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63844bb123d10dbab4cab03a216e77dcd5a122549098f5484b119cfff257f12e [INFO] running `Command { std: "docker" "start" "-a" "63844bb123d10dbab4cab03a216e77dcd5a122549098f5484b119cfff257f12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63844bb123d10dbab4cab03a216e77dcd5a122549098f5484b119cfff257f12e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63844bb123d10dbab4cab03a216e77dcd5a122549098f5484b119cfff257f12e", kill_on_drop: false }` [INFO] [stdout] 63844bb123d10dbab4cab03a216e77dcd5a122549098f5484b119cfff257f12e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ace156ce756caca3a6b2d15e2862c0f712bfc2aecfe68134f6284962556cb61b [INFO] running `Command { std: "docker" "start" "-a" "ace156ce756caca3a6b2d15e2862c0f712bfc2aecfe68134f6284962556cb61b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 9.25s [INFO] running `Command { std: "docker" "inspect" "ace156ce756caca3a6b2d15e2862c0f712bfc2aecfe68134f6284962556cb61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace156ce756caca3a6b2d15e2862c0f712bfc2aecfe68134f6284962556cb61b", kill_on_drop: false }` [INFO] [stdout] ace156ce756caca3a6b2d15e2862c0f712bfc2aecfe68134f6284962556cb61b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3158694d69151276de96c00aa2ce962b284f371c15f0c4359f11dd5049183421 [INFO] running `Command { std: "docker" "start" "-a" "3158694d69151276de96c00aa2ce962b284f371c15f0c4359f11dd5049183421", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling dissimilar v1.0.2 [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: 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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.39s [INFO] running `Command { std: "docker" "inspect" "3158694d69151276de96c00aa2ce962b284f371c15f0c4359f11dd5049183421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3158694d69151276de96c00aa2ce962b284f371c15f0c4359f11dd5049183421", kill_on_drop: false }` [INFO] [stdout] 3158694d69151276de96c00aa2ce962b284f371c15f0c4359f11dd5049183421