[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrout%2Fworthy-opponent" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/strout/worthy-opponent on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-3-tc1/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded num_cpus v1.9.0 [INFO] [stderr] Downloaded csv-core v0.1.5 [INFO] [stderr] Downloaded pest v1.0.6 [INFO] [stderr] Downloaded bit-set v0.5.0 [INFO] [stderr] Downloaded criterion-stats v0.3.0 [INFO] [stderr] Downloaded criterion-plot v0.2.7 [INFO] [stderr] Downloaded pest_derive v1.0.8 [INFO] [stderr] Downloaded handlebars v1.0.5 [INFO] [stderr] Downloaded serde_json v1.0.34 [INFO] [stderr] Downloaded tiny_http v0.8.0 [INFO] [stderr] Downloaded criterion v0.2.7 [INFO] [stderr] Downloaded csv v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a36f5f397f525220ca95bfb740fed579d01942f076dc8d3e478661442775142b [INFO] running `Command { std: "docker" "start" "-a" "a36f5f397f525220ca95bfb740fed579d01942f076dc8d3e478661442775142b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a36f5f397f525220ca95bfb740fed579d01942f076dc8d3e478661442775142b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36f5f397f525220ca95bfb740fed579d01942f076dc8d3e478661442775142b", kill_on_drop: false }` [INFO] [stdout] a36f5f397f525220ca95bfb740fed579d01942f076dc8d3e478661442775142b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64b91668a75271454c8267c0a4930e9ce50898e38ef2ff7afb30d486e0148944 [INFO] running `Command { std: "docker" "start" "-a" "64b91668a75271454c8267c0a4930e9ce50898e38ef2ff7afb30d486e0148944", kill_on_drop: false }` [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] Checking tinyvec v1.6.0 [INFO] [stderr] Checking log v0.4.6 [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 cc v1.0.28 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling rand v0.6.3 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand_os v0.1.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking url v2.2.2 [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 bit-set v0.5.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking tiny_http v0.8.0 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking walkdir v2.2.7 [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 byteorder v1.2.7 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking criterion-stats v0.3.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking worthy-opponent v0.1.0 (/opt/rustwide/workdir) [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: the item `Result` is imported redundantly [INFO] [stdout] --> src/ggp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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] Compiling synstructure v0.10.1 [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_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_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 an object-safe 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 an object-safe 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 an object-safe 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] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking bencher v0.1.5 [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).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 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).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 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).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 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).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 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).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 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).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 => 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: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quickcheck v0.7.2 [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((), ()), [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, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Checking serde_json v1.0.34 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking criterion-plot v0.2.7 [INFO] [stderr] Checking handlebars v1.0.5 [INFO] [stderr] Checking criterion v0.2.7 [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> benches/benchmarks.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 6 | use ::rand::{Rng, FromEntropy, rngs::SmallRng, distributions::Standard, seq::SliceRandom}; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 169 | use rand::{seq::SliceRandom, FromEntropy, rngs::SmallRng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromEntropy` is imported redundantly [INFO] [stdout] --> benches/benchmarks.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 6 | use ::rand::{Rng, FromEntropy, rngs::SmallRng, distributions::Standard, seq::SliceRandom}; [INFO] [stdout] | ----------- the item `FromEntropy` is already imported here [INFO] [stdout] ... [INFO] [stdout] 169 | use rand::{seq::SliceRandom, FromEntropy, rngs::SmallRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallRng` is imported redundantly [INFO] [stdout] --> benches/benchmarks.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 6 | use ::rand::{Rng, FromEntropy, rngs::SmallRng, distributions::Standard, seq::SliceRandom}; [INFO] [stdout] | -------------- the item `SmallRng` is already imported here [INFO] [stdout] ... [INFO] [stdout] 169 | use rand::{seq::SliceRandom, FromEntropy, rngs::SmallRng}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: the item `Result` is imported redundantly [INFO] [stdout] --> src/ggp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: the item `Labeler` is imported redundantly [INFO] [stdout] --> src/ggp.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 666 | use super::*; [INFO] [stdout] | -------- the item `Labeler` is already imported here [INFO] [stdout] 667 | use labeler::Labeler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/ggp.rs:668:9 [INFO] [stdout] | [INFO] [stdout] 666 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] 667 | use labeler::Labeler; [INFO] [stdout] 668 | use std::collections::HashMap; [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: 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((), ()), [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, ()), [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | fn shrink(self: &Space) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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_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_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 an object-safe 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 an object-safe 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 an object-safe 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).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 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).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 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).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 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).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 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).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 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).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 => 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: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.06s [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 3` [INFO] running `Command { std: "docker" "inspect" "64b91668a75271454c8267c0a4930e9ce50898e38ef2ff7afb30d486e0148944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64b91668a75271454c8267c0a4930e9ce50898e38ef2ff7afb30d486e0148944", kill_on_drop: false }` [INFO] [stdout] 64b91668a75271454c8267c0a4930e9ce50898e38ef2ff7afb30d486e0148944 [INFO] checking strout/worthy-opponent against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrout%2Fworthy-opponent" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/strout/worthy-opponent on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-3-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce778f4257454ed952208d9e486475b9b636a249c9963314993b2aa8d97cacf1 [INFO] running `Command { std: "docker" "start" "-a" "ce778f4257454ed952208d9e486475b9b636a249c9963314993b2aa8d97cacf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce778f4257454ed952208d9e486475b9b636a249c9963314993b2aa8d97cacf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce778f4257454ed952208d9e486475b9b636a249c9963314993b2aa8d97cacf1", kill_on_drop: false }` [INFO] [stdout] ce778f4257454ed952208d9e486475b9b636a249c9963314993b2aa8d97cacf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53e5a5baf1a090266e07f622555f624d374db8f2ffe9319ca21eddf45b237efd [INFO] running `Command { std: "docker" "start" "-a" "53e5a5baf1a090266e07f622555f624d374db8f2ffe9319ca21eddf45b237efd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling autocfg v0.1.1 [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] Checking tinyvec v1.6.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling rand v0.6.3 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking rand_os v0.1.0 [INFO] [stderr] Checking atty v0.2.11 [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 bit-vec v0.5.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Compiling syn v0.11.11 [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] Checking either v1.5.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking tiny_http v0.8.0 [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 bitflags v1.0.4 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking worthy-opponent v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking criterion-stats v0.3.0 [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: the item `Result` is imported redundantly [INFO] [stdout] --> src/ggp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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_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_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 an object-safe 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 an object-safe 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 an object-safe 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 itertools-num v0.1.3 [INFO] [stderr] Checking bencher v0.1.5 [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).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 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).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 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).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 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).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 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).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 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).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 => 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: 35 warnings emitted [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((), ()), [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, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.34 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Checking quickcheck v0.7.2 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking handlebars v1.0.5 [INFO] [stderr] Checking criterion-plot v0.2.7 [INFO] [stderr] Checking criterion v0.2.7 [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> benches/benchmarks.rs:169:16 [INFO] [stdout] | [INFO] [stdout] 6 | use ::rand::{Rng, FromEntropy, rngs::SmallRng, distributions::Standard, seq::SliceRandom}; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 169 | use rand::{seq::SliceRandom, FromEntropy, rngs::SmallRng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromEntropy` is imported redundantly [INFO] [stdout] --> benches/benchmarks.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 6 | use ::rand::{Rng, FromEntropy, rngs::SmallRng, distributions::Standard, seq::SliceRandom}; [INFO] [stdout] | ----------- the item `FromEntropy` is already imported here [INFO] [stdout] ... [INFO] [stdout] 169 | use rand::{seq::SliceRandom, FromEntropy, rngs::SmallRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SmallRng` is imported redundantly [INFO] [stdout] --> benches/benchmarks.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 6 | use ::rand::{Rng, FromEntropy, rngs::SmallRng, distributions::Standard, seq::SliceRandom}; [INFO] [stdout] | -------------- the item `SmallRng` is already imported here [INFO] [stdout] ... [INFO] [stdout] 169 | use rand::{seq::SliceRandom, FromEntropy, rngs::SmallRng}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: the item `Result` is imported redundantly [INFO] [stdout] --> src/ggp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: the item `Labeler` is imported redundantly [INFO] [stdout] --> src/ggp.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 666 | use super::*; [INFO] [stdout] | -------- the item `Labeler` is already imported here [INFO] [stdout] 667 | use labeler::Labeler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/ggp.rs:668:9 [INFO] [stdout] | [INFO] [stdout] 666 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] 667 | use labeler::Labeler; [INFO] [stdout] 668 | use std::collections::HashMap; [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: 3 warnings emitted [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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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: 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((), ()), [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 an object-safe 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: 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, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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_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_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 an object-safe 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 an object-safe 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 an object-safe 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).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 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).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 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).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 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).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 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).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 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).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 => 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: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.71s [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 3` [INFO] running `Command { std: "docker" "inspect" "53e5a5baf1a090266e07f622555f624d374db8f2ffe9319ca21eddf45b237efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e5a5baf1a090266e07f622555f624d374db8f2ffe9319ca21eddf45b237efd", kill_on_drop: false }` [INFO] [stdout] 53e5a5baf1a090266e07f622555f624d374db8f2ffe9319ca21eddf45b237efd