[INFO] cloning repository https://github.com/strout/worthy-opponent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/strout/worthy-opponent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrout%2Fworthy-opponent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrout%2Fworthy-opponent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b3b0dcc7fbcb179cbb98e0a1e789c200c480147 [INFO] checking strout/worthy-opponent against try#44e31dee3cf6f37b4f652572897bb0eb25c477ee for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrout%2Fworthy-opponent" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/strout/worthy-opponent on toolchain 44e31dee3cf6f37b4f652572897bb0eb25c477ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/strout/worthy-opponent [INFO] finished tweaking git repo https://github.com/strout/worthy-opponent [INFO] tweaked toml for git repo https://github.com/strout/worthy-opponent written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/strout/worthy-opponent 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" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5d88bba8954ab74064c5e8c054e0d01e78f649252b8766258a29268dbd01701 [INFO] running `Command { std: "docker" "start" "-a" "d5d88bba8954ab74064c5e8c054e0d01e78f649252b8766258a29268dbd01701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5d88bba8954ab74064c5e8c054e0d01e78f649252b8766258a29268dbd01701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5d88bba8954ab74064c5e8c054e0d01e78f649252b8766258a29268dbd01701", kill_on_drop: false }` [INFO] [stdout] d5d88bba8954ab74064c5e8c054e0d01e78f649252b8766258a29268dbd01701 [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" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+44e31dee3cf6f37b4f652572897bb0eb25c477ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63ccc711e7067bc345746500e2fe978e679f585144239b3a150be786239618b4 [INFO] running `Command { std: "docker" "start" "-a" "63ccc711e7067bc345746500e2fe978e679f585144239b3a150be786239618b4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Compiling rand v0.6.3 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand_os v0.1.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking tiny_http v0.8.0 [INFO] [stderr] Checking bit-set v0.5.0 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking criterion-stats v0.3.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking worthy-opponent v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking failure v0.1.5 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn play(&mut self, &Self::Move); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Move` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | try!(write!(fmt, "({}", name)); [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/ggp.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | try!(write!(fmt, " {}", arg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | try!(write!(fmt, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | try!(write_interned(fmt, self.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | try!(write!(fmt, " {}", arg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:254:31 [INFO] [stdout] | [INFO] [stdout] 254 | let (arg, next) = try!(parse_sexpr(rest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | try!(write!(fmt, "(<= {}", self.head)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | try!(write!(fmt, " {}", p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let f: isize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let t: usize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let r: isize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | try!(self.from.map(|x| x as isize).unwrap_or(-1).fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(','.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | try!(self.to.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(','.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/connectfour.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/connectfour.rs:16:75 [INFO] [stdout] | [INFO] [stdout] 16 | let mut b = unsafe /* hold on to your hat, 'cause here we go */ { uninitialized::<[Space; WIDTH * HEIGHT]>() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:371:95 [INFO] [stdout] | [INFO] [stdout] 371 | fn add_arg<'a, 'b, I: Iterator>> + 'a>(sofar: I, arg: &'a Expr<'b>) -> Box>> + 'a> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 | fn add_arg<'a, 'b, I: Iterator>> + 'a>(sofar: I, arg: &'a Expr<'b>) -> Box>> + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:384:89 [INFO] [stdout] | [INFO] [stdout] 384 | fn add_args<'a, 'b, I: Iterator>>(head: &'a Expr<'b>, from: I) -> Box> + 'a> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 384 | fn add_args<'a, 'b, I: Iterator>>(head: &'a Expr<'b>, from: I) -> Box> + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:510:56 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn query<'b>(&'b self, expr: &'b IExpr) -> Box + 'b> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 510 | pub fn query<'b>(&'b self, expr: &'b IExpr) -> Box + 'b> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:521:74 [INFO] [stdout] | [INFO] [stdout] 521 | fn query_inner<'b>(&'b self, expr: ValExpr, asg: Assignments) -> Box + 'b> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 521 | fn query_inner<'b>(&'b self, expr: ValExpr, asg: Assignments) -> Box + 'b> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking itertools-num v0.1.3 [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/ggp.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | let mut s = s.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 214 - let mut s = s.trim_left(); [INFO] [stdout] 214 + let mut s = s.trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/ggp.rs:216:51 [INFO] [stdout] | [INFO] [stdout] 216 | s = &s[s.find('\n').unwrap_or(s.len())..].trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 216 - s = &s[s.find('\n').unwrap_or(s.len())..].trim_left(); [INFO] [stdout] 216 + s = &s[s.find('\n').unwrap_or(s.len())..].trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion-plot v0.2.7 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:375:71 [INFO] [stdout] | [INFO] [stdout] 375 | "and" => Box::new(args.iter().fold(Box::new(sofar) as Box>, add_arg)), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 375 | "and" => Box::new(args.iter().fold(Box::new(sofar) as Box>, add_arg)), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:385:46 [INFO] [stdout] | [INFO] [stdout] 385 | let base = Box::new(once(vec![])) as 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 | let base = Box::new(once(vec![])) as Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:529:118 [INFO] [stdout] | [INFO] [stdout] 529 | ...|asg| (asg, vars)).into_iter()) as Box)> + 'b>, move |asgs, t| { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 529 | body.iter().fold(Box::new(asg.unify_val(&expr, &head).map(|asg| (asg, vars)).into_iter()) as Box)> + 'b>, move |asgs, t| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quickcheck v0.7.2 [INFO] [stdout] warning: the type `[basics::Space; 42]` does not permit being left uninitialized [INFO] [stdout] --> src/connectfour.rs:16:75 [INFO] [stdout] | [INFO] [stdout] 16 | let mut b = unsafe /* hold on to your hat, 'cause here we go */ { uninitialized::<[Space; WIDTH * HEIGHT]>() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> src/basics.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum Space { Empty, Black, White } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 28 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 28 + for &p in neighbors(p).iter().flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 28 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 28 + for &p in IntoIterator::into_iter(neighbors(p)).flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | if neighbors(p).into_iter().flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 60 - if neighbors(p).into_iter().flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stdout] 60 + if neighbors(p).iter().flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 60 - if neighbors(p).into_iter().flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stdout] 60 + if IntoIterator::into_iter(neighbors(p)).flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 123 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 123 + for &p in neighbors(p).iter().flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 123 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 123 + for &p in IntoIterator::into_iter(neighbors(p)).flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 136 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 136 + for &p in neighbors(p).iter().flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 136 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 136 + for &p in IntoIterator::into_iter(neighbors(p)).flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | if neighbors(p).into_iter().flat_map(|x| x).any(|&p| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 151 - if neighbors(p).into_iter().flat_map(|x| x).any(|&p| { [INFO] [stdout] 151 + if neighbors(p).iter().flat_map(|x| x).any(|&p| { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 151 - if neighbors(p).into_iter().flat_map(|x| x).any(|&p| { [INFO] [stdout] 151 + if IntoIterator::into_iter(neighbors(p)).flat_map(|x| x).any(|&p| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:155:35 [INFO] [stdout] | [INFO] [stdout] 155 | c => neighbors(p).into_iter().filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 155 - c => neighbors(p).into_iter().filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stdout] 155 + c => neighbors(p).iter().filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 155 - c => neighbors(p).into_iter().filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stdout] 155 + c => IntoIterator::into_iter(neighbors(p)).filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/worthy-opponent.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | Preview(SExpr<'a>, u64), [INFO] [stdout] | ------- ^^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 121 - Preview(SExpr<'a>, u64), [INFO] [stdout] 121 + Preview((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/bin/worthy-opponent.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | Stop(&'a str, Vec>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 124 - Stop(&'a str, Vec>), [INFO] [stdout] 124 + Stop(&'a str, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.34 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking handlebars v1.0.5 [INFO] [stderr] Checking criterion v0.2.7 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn play(&mut self, &Self::Move); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Move` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | try!(write!(fmt, "({}", name)); [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/ggp.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | try!(write!(fmt, " {}", arg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | try!(write!(fmt, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | try!(write_interned(fmt, self.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | try!(write!(fmt, " {}", arg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:254:31 [INFO] [stdout] | [INFO] [stdout] 254 | let (arg, next) = try!(parse_sexpr(rest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | try!(write!(fmt, "(<= {}", self.head)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | try!(write!(fmt, " {}", p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let f: isize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let t: usize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let r: isize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | try!(self.from.map(|x| x as isize).unwrap_or(-1).fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(','.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | try!(self.to.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(','.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/worthy-opponent.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | Preview(SExpr<'a>, u64), [INFO] [stdout] | ------- ^^^^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 121 - Preview(SExpr<'a>, u64), [INFO] [stdout] 121 + Preview((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/bin/worthy-opponent.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | Stop(&'a str, Vec>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 124 - Stop(&'a str, Vec>), [INFO] [stdout] 124 + Stop(&'a str, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/connectfour.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/connectfour.rs:16:75 [INFO] [stdout] | [INFO] [stdout] 16 | let mut b = unsafe /* hold on to your hat, 'cause here we go */ { uninitialized::<[Space; WIDTH * HEIGHT]>() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basics.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | fn shrink(self: &Space) -> 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | fn shrink(self: &Space) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:371:95 [INFO] [stdout] | [INFO] [stdout] 371 | fn add_arg<'a, 'b, I: Iterator>> + 'a>(sofar: I, arg: &'a Expr<'b>) -> Box>> + 'a> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 | fn add_arg<'a, 'b, I: Iterator>> + 'a>(sofar: I, arg: &'a Expr<'b>) -> Box>> + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:384:89 [INFO] [stdout] | [INFO] [stdout] 384 | fn add_args<'a, 'b, I: Iterator>>(head: &'a Expr<'b>, from: I) -> Box> + 'a> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 384 | fn add_args<'a, 'b, I: Iterator>>(head: &'a Expr<'b>, from: I) -> Box> + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:510:56 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn query<'b>(&'b self, expr: &'b IExpr) -> Box + 'b> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 510 | pub fn query<'b>(&'b self, expr: &'b IExpr) -> Box + 'b> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:521:74 [INFO] [stdout] | [INFO] [stdout] 521 | fn query_inner<'b>(&'b self, expr: ValExpr, asg: Assignments) -> Box + 'b> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 521 | fn query_inner<'b>(&'b self, expr: ValExpr, asg: Assignments) -> Box + 'b> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/ggp.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | let mut s = s.trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 214 - let mut s = s.trim_left(); [INFO] [stdout] 214 + let mut s = s.trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/ggp.rs:216:51 [INFO] [stdout] | [INFO] [stdout] 216 | s = &s[s.find('\n').unwrap_or(s.len())..].trim_left(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 216 - s = &s[s.find('\n').unwrap_or(s.len())..].trim_left(); [INFO] [stdout] 216 + s = &s[s.find('\n').unwrap_or(s.len())..].trim_start(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:375:71 [INFO] [stdout] | [INFO] [stdout] 375 | "and" => Box::new(args.iter().fold(Box::new(sofar) as Box>, add_arg)), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 375 | "and" => Box::new(args.iter().fold(Box::new(sofar) as Box>, add_arg)), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:385:46 [INFO] [stdout] | [INFO] [stdout] 385 | let base = Box::new(once(vec![])) as 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 | let base = Box::new(once(vec![])) as Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:529:118 [INFO] [stdout] | [INFO] [stdout] 529 | ...|asg| (asg, vars)).into_iter()) as Box)> + 'b>, move |asgs, t| { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 529 | body.iter().fold(Box::new(asg.unify_val(&expr, &head).map(|asg| (asg, vars)).into_iter()) as Box)> + 'b>, move |asgs, t| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[basics::Space; 42]` does not permit being left uninitialized [INFO] [stdout] --> src/connectfour.rs:16:75 [INFO] [stdout] | [INFO] [stdout] 16 | let mut b = unsafe /* hold on to your hat, 'cause here we go */ { uninitialized::<[Space; WIDTH * HEIGHT]>() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> src/basics.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum Space { Empty, Black, White } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 28 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 28 + for &p in neighbors(p).iter().flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 28 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 28 + for &p in IntoIterator::into_iter(neighbors(p)).flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | if neighbors(p).into_iter().flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 60 - if neighbors(p).into_iter().flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stdout] 60 + if neighbors(p).iter().flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 60 - if neighbors(p).into_iter().flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stdout] 60 + if IntoIterator::into_iter(neighbors(p)).flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 123 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 123 + for &p in neighbors(p).iter().flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 123 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 123 + for &p in IntoIterator::into_iter(neighbors(p)).flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 136 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 136 + for &p in neighbors(p).iter().flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 136 - for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stdout] 136 + for &p in IntoIterator::into_iter(neighbors(p)).flat_map(|x| x) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | if neighbors(p).into_iter().flat_map(|x| x).any(|&p| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 151 - if neighbors(p).into_iter().flat_map(|x| x).any(|&p| { [INFO] [stdout] 151 + if neighbors(p).iter().flat_map(|x| x).any(|&p| { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 151 - if neighbors(p).into_iter().flat_map(|x| x).any(|&p| { [INFO] [stdout] 151 + if IntoIterator::into_iter(neighbors(p)).flat_map(|x| x).any(|&p| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/go.rs:155:35 [INFO] [stdout] | [INFO] [stdout] 155 | c => neighbors(p).into_iter().filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 155 - c => neighbors(p).into_iter().filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stdout] 155 + c => neighbors(p).iter().filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 155 - c => neighbors(p).into_iter().filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stdout] 155 + c => IntoIterator::into_iter(neighbors(p)).filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "63ccc711e7067bc345746500e2fe978e679f585144239b3a150be786239618b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ccc711e7067bc345746500e2fe978e679f585144239b3a150be786239618b4", kill_on_drop: false }` [INFO] [stdout] 63ccc711e7067bc345746500e2fe978e679f585144239b3a150be786239618b4