[INFO] fetching crate suppositions 0.1.4... [INFO] checking suppositions-0.1.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate suppositions 0.1.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate suppositions 0.1.4 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate suppositions 0.1.4 [INFO] finished tweaking crates.io crate suppositions 0.1.4 [INFO] tweaked toml for crates.io crate suppositions 0.1.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.6.10 (available: v1.1.3) [INFO] [stderr] Adding env_logger v0.4.3 (available: v0.11.5) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding regex v0.2.11 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.5.6 (available: v0.8.4) [INFO] [stderr] Adding thread_local v0.3.6 (available: v1.1.8) [INFO] [stderr] Adding ucd-util v0.1.10 (available: v0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c166594be0dc018e9138def7ce3b37498bbc08d1dcd3d6f4d1d5ee3d17c207c [INFO] running `Command { std: "docker" "start" "-a" "6c166594be0dc018e9138def7ce3b37498bbc08d1dcd3d6f4d1d5ee3d17c207c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c166594be0dc018e9138def7ce3b37498bbc08d1dcd3d6f4d1d5ee3d17c207c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c166594be0dc018e9138def7ce3b37498bbc08d1dcd3d6f4d1d5ee3d17c207c", kill_on_drop: false }` [INFO] [stdout] 6c166594be0dc018e9138def7ce3b37498bbc08d1dcd3d6f4d1d5ee3d17c207c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4b46dbd5fab9d7d18768b407f1ef138706fe3c17919da619bce9d5baa40fb56 [INFO] running `Command { std: "docker" "start" "-a" "e4b46dbd5fab9d7d18768b407f1ef138706fe3c17919da619bce9d5baa40fb56", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking hex-slice v0.1.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking suppositions v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 157 | fn generate_obj(&self, src: &mut Iterator) -> Maybe; [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] 157 | fn generate_obj(&self, src: &mut dyn Iterator) -> Maybe; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | fn boxed(self) -> Box>; [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 | fn boxed(self) -> Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | fn boxed(self) -> Box> { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | fn boxed(self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | fn generate_obj(&self, mut src: &mut Iterator) -> Maybe { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 182 | fn generate_obj(&self, mut src: &mut dyn Iterator) -> Maybe { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | impl Generator for Box> { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 | impl Generator for Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:190:43 [INFO] [stdout] | [INFO] [stdout] 190 | (**self).generate_obj(src as &mut Iterator) [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 190 | (**self).generate_obj(src as &mut dyn Iterator) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/smoketest.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | property((booleans())).check(|_| false) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - property((booleans())).check(|_| false) [INFO] [stdout] 57 + property(booleans()).check(|_| false) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/smoketest.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | property((booleans())).check(|_| true) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - property((booleans())).check(|_| true) [INFO] [stdout] 62 + property(booleans()).check(|_| true) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/smoketest.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | property((booleans())).check(|_| -> Result<(), ()> { Err(()) }) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - property((booleans())).check(|_| -> Result<(), ()> { Err(()) }) [INFO] [stdout] 77 + property(booleans()).check(|_| -> Result<(), ()> { Err(()) }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/smoketest.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | property((booleans())).check(|_| -> Result<(), &'static str> { Err("horrible failure") }) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - property((booleans())).check(|_| -> Result<(), &'static str> { Err("horrible failure") }) [INFO] [stdout] 83 + property(booleans()).check(|_| -> Result<(), &'static str> { Err("horrible failure") }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/smoketest.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | property((booleans())).check(|_| -> Result<(), ()> { Ok(()) }) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - property((booleans())).check(|_| -> Result<(), ()> { Ok(()) }) [INFO] [stdout] 89 + property(booleans()).check(|_| -> Result<(), ()> { Ok(()) }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/smoketest.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | property((booleans())).check(|_| -> () { panic!("Big bad boom") }) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - property((booleans())).check(|_| -> () { panic!("Big bad boom") }) [INFO] [stdout] 95 + property(booleans()).check(|_| -> () { panic!("Big bad boom") }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> tests/smoketest.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | property((booleans())).check(|_| -> () { panic!("Big bad boom") }) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - property((booleans())).check(|_| -> () { panic!("Big bad boom") }) [INFO] [stdout] 101 + property(booleans()).check(|_| -> () { panic!("Big bad boom") }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/die-hard.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | fn ops() -> Box> { [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] 70 | fn ops() -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/recursive.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | fn expr_gen() -> Box> { [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] 36 | fn expr_gen() -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 157 | fn generate_obj(&self, src: &mut Iterator) -> Maybe; [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] 157 | fn generate_obj(&self, src: &mut dyn Iterator) -> Maybe; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | fn boxed(self) -> Box>; [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 | fn boxed(self) -> Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | fn boxed(self) -> Box> { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | fn boxed(self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | fn generate_obj(&self, mut src: &mut Iterator) -> Maybe { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 182 | fn generate_obj(&self, mut src: &mut dyn Iterator) -> Maybe { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | impl Generator for Box> { [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 | impl Generator for Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:321:17 [INFO] [stdout] | [INFO] [stdout] 321 | let _: &Iterator = &p.replay(); [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 321 | let _: &dyn Iterator = &p.replay(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | let _: &Iterator = &p.replay(); [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 330 | let _: &dyn Iterator = &p.replay(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generators.rs:190:43 [INFO] [stdout] | [INFO] [stdout] 190 | (**self).generate_obj(src as &mut Iterator) [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 190 | (**self).generate_obj(src as &mut dyn Iterator) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::iter::Take, {closure@src/generators.rs:737:18: 737:21}>, {closure@src/generators.rs:738:18: 738:22}>, Result<(data::InfoPool, data::InfoPool, ::Item, ::Item), data::DataError>, {closure@src/generators.rs:739:23: 739:33}>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generators.rs:736:33 [INFO] [stdout] | [INFO] [stdout] 732 | fn should_generate_same_output_given_same_input(gen: G) [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 736 | for (p0, p1, v0, v1) in iter::repeat(()) [INFO] [stdout] | _________________________________^ [INFO] [stdout] 737 | | .map(|_| gen_random_vec()) [INFO] [stdout] 738 | | .map(|v0| (InfoPool::of_vec(v0.clone()), InfoPool::of_vec(v0))) [INFO] [stdout] 739 | | .flat_map(|(p0, p1)| { [INFO] [stdout] ... | [INFO] [stdout] 743 | | }) [INFO] [stdout] 744 | | .take(100) [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::iter::Take, {closure@src/generators.rs:790:18: 790:21}>, {closure@src/generators.rs:791:21: 791:40}>, {closure@src/generators.rs:792:18: 792:28}>, Result<(data::InfoPool, data::InfoPool, ::Item, ::Item), data::DataError>, {closure@src/generators.rs:793:23: 793:33}>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generators.rs:789:33 [INFO] [stdout] | [INFO] [stdout] 783 | gen: G, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 784 | key: F, [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 789 | for (p0, p1, v0, v1) in iter::repeat(()) [INFO] [stdout] | _________________________________^ [INFO] [stdout] 790 | | .map(|_| (gen_random_vec(), gen_random_vec())) [INFO] [stdout] 791 | | .filter(|&(ref v0, ref v1)| v0 < v1) [INFO] [stdout] 792 | | .map(|(v0, v1)| (InfoPool::of_vec(v0), InfoPool::of_vec(v1))) [INFO] [stdout] ... | [INFO] [stdout] 797 | | }) [INFO] [stdout] 798 | | .take(nitems) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `suppositions` (lib test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e4b46dbd5fab9d7d18768b407f1ef138706fe3c17919da619bce9d5baa40fb56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b46dbd5fab9d7d18768b407f1ef138706fe3c17919da619bce9d5baa40fb56", kill_on_drop: false }` [INFO] [stdout] e4b46dbd5fab9d7d18768b407f1ef138706fe3c17919da619bce9d5baa40fb56