[INFO] fetching crate funfsm 0.2.1... [INFO] checking funfsm-0.2.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate funfsm 0.2.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate funfsm 0.2.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate funfsm 0.2.1 [INFO] finished tweaking crates.io crate funfsm 0.2.1 [INFO] tweaked toml for crates.io crate funfsm 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f074e10a1705d5d7fa7c2ba55f8393aa7fcbb3a81492b8e9626928465cfaff9 [INFO] running `Command { std: "docker" "start" "-a" "4f074e10a1705d5d7fa7c2ba55f8393aa7fcbb3a81492b8e9626928465cfaff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f074e10a1705d5d7fa7c2ba55f8393aa7fcbb3a81492b8e9626928465cfaff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f074e10a1705d5d7fa7c2ba55f8393aa7fcbb3a81492b8e9626928465cfaff9", kill_on_drop: false }` [INFO] [stdout] 4f074e10a1705d5d7fa7c2ba55f8393aa7fcbb3a81492b8e9626928465cfaff9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebc0890dd05c690d58489fec8024a6c48648c8602370160a34d567956a7c5df8 [INFO] running `Command { std: "docker" "start" "-a" "ebc0890dd05c690d58489fec8024a6c48648c8602370160a34d567956a7c5df8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking funfsm v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fsm_check.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | let (from, init_ctx) = try!(self.check_preconditions()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fsm_check.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(self.constraints.check_preconditions(from, &ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fsm_check.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | try!(self.constraints.check_invariants(&ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fsm_check.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | try!(self.constraints.check_invariants(&final_ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Pred = Box bool>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | pub type Pred = Box bool>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fsm_check.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | let (from, init_ctx) = try!(self.check_preconditions()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fsm_check.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | try!(self.constraints.check_preconditions(from, &ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fsm_check.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | try!(self.constraints.check_invariants(&ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fsm_check.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | try!(self.constraints.check_invariants(&final_ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraints.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Pred = Box bool>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | pub type Pred = Box bool>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/constraints.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Pred = Box bool>; [INFO] [stdout] | ^^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: remove this bound [INFO] [stdout] | [INFO] [stdout] 4 - pub type Pred = Box bool>; [INFO] [stdout] 4 + pub type Pred = Box bool>; [INFO] [stdout] | [INFO] [stdout] help: fully qualify this associated type [INFO] [stdout] | [INFO] [stdout] 4 | pub type Pred = Box::Context) -> bool>; [INFO] [stdout] | + +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/constraints.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Pred = Box bool>; [INFO] [stdout] | ^^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: remove this bound [INFO] [stdout] | [INFO] [stdout] 4 - pub type Pred = Box bool>; [INFO] [stdout] 4 + pub type Pred = Box bool>; [INFO] [stdout] | [INFO] [stdout] help: fully qualify this associated type [INFO] [stdout] | [INFO] [stdout] 4 | pub type Pred = Box::Context) -> bool>; [INFO] [stdout] | + +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/constraints.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub type TransitionCheck [INFO] [stdout] | ^^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] help: remove this bound [INFO] [stdout] | [INFO] [stdout] 5 - pub type TransitionCheck [INFO] [stdout] 5 + pub type TransitionCheck [INFO] [stdout] | [INFO] [stdout] help: fully qualify this associated type [INFO] [stdout] | [INFO] [stdout] 6 | = fn(&::Context, &T::Context, &T::Msg, &Vec) -> Result<(), String>; [INFO] [stdout] | + +++++++++++++++ [INFO] [stdout] help: fully qualify this associated type [INFO] [stdout] | [INFO] [stdout] 6 | = fn(&T::Context, &::Context, &T::Msg, &Vec) -> Result<(), String>; [INFO] [stdout] | + +++++++++++++++ [INFO] [stdout] help: fully qualify this associated type [INFO] [stdout] | [INFO] [stdout] 6 | = fn(&T::Context, &T::Context, &::Msg, &Vec) -> Result<(), String>; [INFO] [stdout] | + +++++++++++++++ [INFO] [stdout] help: fully qualify this associated type [INFO] [stdout] | [INFO] [stdout] 6 | = fn(&T::Context, &T::Context, &T::Msg, &Vec<::Output>) -> Result<(), String>; [INFO] [stdout] | + +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/constraints.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub type TransitionCheck [INFO] [stdout] | ^^^^^^^^ will not be checked at usage sites of the type alias [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] help: remove this bound [INFO] [stdout] | [INFO] [stdout] 5 - pub type TransitionCheck [INFO] [stdout] 5 + pub type TransitionCheck [INFO] [stdout] | [INFO] [stdout] help: fully qualify this associated type [INFO] [stdout] | [INFO] [stdout] 6 | = fn(&::Context, &T::Context, &T::Msg, &Vec) -> Result<(), String>; [INFO] [stdout] | + +++++++++++++++ [INFO] [stdout] help: fully qualify this associated type [INFO] [stdout] | [INFO] [stdout] 6 | = fn(&T::Context, &::Context, &T::Msg, &Vec) -> Result<(), String>; [INFO] [stdout] | + +++++++++++++++ [INFO] [stdout] help: fully qualify this associated type [INFO] [stdout] | [INFO] [stdout] 6 | = fn(&T::Context, &T::Context, &::Msg, &Vec) -> Result<(), String>; [INFO] [stdout] | + +++++++++++++++ [INFO] [stdout] help: fully qualify this associated type [INFO] [stdout] | [INFO] [stdout] 6 | = fn(&T::Context, &T::Context, &T::Msg, &Vec<::Output>) -> Result<(), String>; [INFO] [stdout] | + +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "ebc0890dd05c690d58489fec8024a6c48648c8602370160a34d567956a7c5df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc0890dd05c690d58489fec8024a6c48648c8602370160a34d567956a7c5df8", kill_on_drop: false }` [INFO] [stdout] ebc0890dd05c690d58489fec8024a6c48648c8602370160a34d567956a7c5df8