[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] testing strout/worthy-opponent against master#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrout%2Fworthy-opponent" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/strout/worthy-opponent on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/strout/worthy-opponent [INFO] finished tweaking git repo https://github.com/strout/worthy-opponent [INFO] tweaked toml for git repo https://github.com/strout/worthy-opponent written to /workspace/builds/worker-2-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" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tiny_http v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ccbb55f3e5d44d5c6bd2c59da176a67870589cf3bc802ec7f953fa59a816cf3 [INFO] running `Command { std: "docker" "start" "-a" "2ccbb55f3e5d44d5c6bd2c59da176a67870589cf3bc802ec7f953fa59a816cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ccbb55f3e5d44d5c6bd2c59da176a67870589cf3bc802ec7f953fa59a816cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ccbb55f3e5d44d5c6bd2c59da176a67870589cf3bc802ec7f953fa59a816cf3", kill_on_drop: false }` [INFO] [stdout] 2ccbb55f3e5d44d5c6bd2c59da176a67870589cf3bc802ec7f953fa59a816cf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfd1a41595fd9bee85877590d100de17e4ac1c4b28c6262135aa178e8a5f06b8 [INFO] running `Command { std: "docker" "start" "-a" "bfd1a41595fd9bee85877590d100de17e4ac1c4b28c6262135aa178e8a5f06b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling ascii v1.0.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.3 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling rand_os v0.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tiny_http v0.8.0 [INFO] [stderr] Compiling 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: 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] [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: 34 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.65s [INFO] running `Command { std: "docker" "inspect" "bfd1a41595fd9bee85877590d100de17e4ac1c4b28c6262135aa178e8a5f06b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd1a41595fd9bee85877590d100de17e4ac1c4b28c6262135aa178e8a5f06b8", kill_on_drop: false }` [INFO] [stdout] bfd1a41595fd9bee85877590d100de17e4ac1c4b28c6262135aa178e8a5f06b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6d82c5551d1c683c75f9ae9b87b391ea6455d0276b29dc7aa9c2c283788bc0d [INFO] running `Command { std: "docker" "start" "-a" "c6d82c5551d1c683c75f9ae9b87b391ea6455d0276b29dc7aa9c2c283788bc0d", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling itertools-num v0.1.3 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn play(&mut self, &Self::Move); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Move` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | try!(write!(fmt, "({}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | try!(write!(fmt, " {}", arg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | try!(write!(fmt, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | try!(write_interned(fmt, self.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | try!(write!(fmt, " {}", arg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:254:31 [INFO] [stdout] | [INFO] [stdout] 254 | let (arg, next) = try!(parse_sexpr(rest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | try!(write!(fmt, "(<= {}", self.head)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | try!(write!(fmt, " {}", p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let f: isize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let t: usize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let r: isize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | try!(self.from.map(|x| x as isize).unwrap_or(-1).fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(','.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | try!(self.to.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(','.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/connectfour.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/connectfour.rs:16:75 [INFO] [stdout] | [INFO] [stdout] 16 | let mut b = unsafe /* hold on to your hat, 'cause here we go */ { uninitialized::<[Space; WIDTH * HEIGHT]>() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:371:95 [INFO] [stdout] | [INFO] [stdout] 371 | fn add_arg<'a, 'b, I: Iterator>> + 'a>(sofar: I, arg: &'a Expr<'b>) -> Box>> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is 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: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling criterion-stats v0.3.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling quickcheck v0.7.2 [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `regex` (lib) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `clap` (lib) [INFO] [stderr] error: could not compile `env_logger` (lib) [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stdout] error: failed to write to `/opt/rustwide/target/debug/deps/rmetaQekEgk/lib.rmeta`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `synstructure` (lib) due to 1 previous error [INFO] [stdout] error: failed to write to `/opt/rustwide/target/debug/deps/rmeta6zDpBe/lib.rmeta`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde` (lib) due to 2 previous errors [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetacQuosp" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quickcheck` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c6d82c5551d1c683c75f9ae9b87b391ea6455d0276b29dc7aa9c2c283788bc0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6d82c5551d1c683c75f9ae9b87b391ea6455d0276b29dc7aa9c2c283788bc0d", kill_on_drop: false }` [INFO] [stdout] c6d82c5551d1c683c75f9ae9b87b391ea6455d0276b29dc7aa9c2c283788bc0d [INFO] testing strout/worthy-opponent against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrout%2Fworthy-opponent" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/strout/worthy-opponent on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/strout/worthy-opponent [INFO] finished tweaking git repo https://github.com/strout/worthy-opponent [INFO] tweaked toml for git repo https://github.com/strout/worthy-opponent written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/strout/worthy-opponent already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9795758fddc481c4529ec04be52d55db26bbf6a28c5aa9b906855400dbaa7a6b [INFO] running `Command { std: "docker" "start" "-a" "9795758fddc481c4529ec04be52d55db26bbf6a28c5aa9b906855400dbaa7a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9795758fddc481c4529ec04be52d55db26bbf6a28c5aa9b906855400dbaa7a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9795758fddc481c4529ec04be52d55db26bbf6a28c5aa9b906855400dbaa7a6b", kill_on_drop: false }` [INFO] [stdout] 9795758fddc481c4529ec04be52d55db26bbf6a28c5aa9b906855400dbaa7a6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4508171b13ef18ef0cb36c09783bf91e3110a36e6ed953fb24e6fcff54c17a1f [INFO] running `Command { std: "docker" "start" "-a" "4508171b13ef18ef0cb36c09783bf91e3110a36e6ed953fb24e6fcff54c17a1f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling ascii v1.0.0 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.3 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling rand_os v0.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tiny_http v0.8.0 [INFO] [stderr] Compiling 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: 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] [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: 34 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.84s [INFO] running `Command { std: "docker" "inspect" "4508171b13ef18ef0cb36c09783bf91e3110a36e6ed953fb24e6fcff54c17a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4508171b13ef18ef0cb36c09783bf91e3110a36e6ed953fb24e6fcff54c17a1f", kill_on_drop: false }` [INFO] [stdout] 4508171b13ef18ef0cb36c09783bf91e3110a36e6ed953fb24e6fcff54c17a1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37e51bffa7ccbb951022bb4839d91012548a2a8183446c6dc936a4c4b6eec8fd [INFO] running `Command { std: "docker" "start" "-a" "37e51bffa7ccbb951022bb4839d91012548a2a8183446c6dc936a4c4b6eec8fd", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling itertools-num v0.1.3 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn play(&mut self, &Self::Move); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Move` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | try!(write!(fmt, "({}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | try!(write!(fmt, " {}", arg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | try!(write!(fmt, "(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | try!(write_interned(fmt, self.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | try!(write!(fmt, " {}", arg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:254:31 [INFO] [stdout] | [INFO] [stdout] 254 | let (arg, next) = try!(parse_sexpr(rest)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | try!(write!(fmt, "(<= {}", self.head)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ggp.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | try!(write!(fmt, " {}", p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let f: isize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let t: usize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let r: isize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | try!(self.from.map(|x| x as isize).unwrap_or(-1).fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(','.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | try!(self.to.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ninemensmorris.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(','.fmt(formatter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/connectfour.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/connectfour.rs:16:75 [INFO] [stdout] | [INFO] [stdout] 16 | let mut b = unsafe /* hold on to your hat, 'cause here we go */ { uninitialized::<[Space; WIDTH * HEIGHT]>() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ggp.rs:371:95 [INFO] [stdout] | [INFO] [stdout] 371 | fn add_arg<'a, 'b, I: Iterator>> + 'a>(sofar: I, arg: &'a Expr<'b>) -> Box>> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is 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: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion-stats v0.3.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling quickcheck v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Compiling serde_json v1.0.34 [INFO] [stderr] Compiling csv v1.0.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling criterion-plot v0.2.7 [INFO] [stderr] Compiling handlebars v1.0.5 [INFO] [stderr] Compiling criterion v0.2.7 [INFO] [stderr] Compiling 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: 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/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: 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: 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: 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: 2 warnings emitted [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: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "37e51bffa7ccbb951022bb4839d91012548a2a8183446c6dc936a4c4b6eec8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37e51bffa7ccbb951022bb4839d91012548a2a8183446c6dc936a4c4b6eec8fd", kill_on_drop: false }` [INFO] [stdout] 37e51bffa7ccbb951022bb4839d91012548a2a8183446c6dc936a4c4b6eec8fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 163d992596479f28b72e9dc8678285ae4055447bbcb8de11645fc0f355166a7e [INFO] running `Command { std: "docker" "start" "-a" "163d992596479f28b72e9dc8678285ae4055447bbcb8de11645fc0f355166a7e", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/game.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | fn play(&mut self, &Self::Move); [INFO] [stderr] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Move` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ggp.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | try!(write!(fmt, "({}", name)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ggp.rs:48:25 [INFO] [stderr] | [INFO] [stderr] 48 | try!(write!(fmt, " {}", arg)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ggp.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | try!(write!(fmt, "(")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ggp.rs:77:13 [INFO] [stderr] | [INFO] [stderr] 77 | try!(write_interned(fmt, self.name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ggp.rs:79:17 [INFO] [stderr] | [INFO] [stderr] 79 | try!(write!(fmt, " {}", arg)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ggp.rs:254:31 [INFO] [stderr] | [INFO] [stderr] 254 | let (arg, next) = try!(parse_sexpr(rest)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ggp.rs:362:13 [INFO] [stderr] | [INFO] [stderr] 362 | try!(write!(fmt, "(<= {}", self.head)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ggp.rs:364:17 [INFO] [stderr] | [INFO] [stderr] 364 | try!(write!(fmt, " {}", p)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ninemensmorris.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 23 | let f: isize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ninemensmorris.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | let t: usize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ninemensmorris.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | let r: isize = try!(ss.next().and_then(|s| s.parse().ok()).ok_or(())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ninemensmorris.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | try!(self.from.map(|x| x as isize).unwrap_or(-1).fmt(formatter)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ninemensmorris.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | try!(','.fmt(formatter)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ninemensmorris.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | try!(self.to.fmt(formatter)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ninemensmorris.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | try!(','.fmt(formatter)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/connectfour.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | use std::mem::uninitialized; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/connectfour.rs:16:75 [INFO] [stderr] | [INFO] [stderr] 16 | let mut b = unsafe /* hold on to your hat, 'cause here we go */ { uninitialized::<[Space; WIDTH * HEIGHT]>() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ggp.rs:371:95 [INFO] [stderr] | [INFO] [stderr] 371 | fn add_arg<'a, 'b, I: Iterator>> + 'a>(sofar: I, arg: &'a Expr<'b>) -> Box>> + 'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 371 | fn add_arg<'a, 'b, I: Iterator>> + 'a>(sofar: I, arg: &'a Expr<'b>) -> Box>> + 'a> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ggp.rs:384:89 [INFO] [stderr] | [INFO] [stderr] 384 | fn add_args<'a, 'b, I: Iterator>>(head: &'a Expr<'b>, from: I) -> Box> + 'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 384 | fn add_args<'a, 'b, I: Iterator>>(head: &'a Expr<'b>, from: I) -> Box> + 'a> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ggp.rs:510:56 [INFO] [stderr] | [INFO] [stderr] 510 | pub fn query<'b>(&'b self, expr: &'b IExpr) -> Box + 'b> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 510 | pub fn query<'b>(&'b self, expr: &'b IExpr) -> Box + 'b> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ggp.rs:521:74 [INFO] [stderr] | [INFO] [stderr] 521 | fn query_inner<'b>(&'b self, expr: ValExpr, asg: Assignments) -> Box + 'b> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 521 | fn query_inner<'b>(&'b self, expr: ValExpr, asg: Assignments) -> Box + 'b> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/ggp.rs:214:19 [INFO] [stderr] | [INFO] [stderr] 214 | let mut s = s.trim_left(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 214 | let mut s = s.trim_start(); [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> src/ggp.rs:216:51 [INFO] [stderr] | [INFO] [stderr] 216 | s = &s[s.find('\n').unwrap_or(s.len())..].trim_left(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 216 | s = &s[s.find('\n').unwrap_or(s.len())..].trim_start(); [INFO] [stderr] | ~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ggp.rs:375:71 [INFO] [stderr] | [INFO] [stderr] 375 | "and" => Box::new(args.iter().fold(Box::new(sofar) as Box>, add_arg)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 375 | "and" => Box::new(args.iter().fold(Box::new(sofar) as Box>, add_arg)), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ggp.rs:385:46 [INFO] [stderr] | [INFO] [stderr] 385 | let base = Box::new(once(vec![])) as Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 385 | let base = Box::new(once(vec![])) as Box>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ggp.rs:529:118 [INFO] [stderr] | [INFO] [stderr] 529 | ...|asg| (asg, vars)).into_iter()) as Box)> + 'b>, move |asgs, t| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 529 | body.iter().fold(Box::new(asg.unify_val(&expr, &head).map(|asg| (asg, vars)).into_iter()) as Box)> + 'b>, move |asgs, t| { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: the type `[basics::Space; 42]` does not permit being left uninitialized [INFO] [stderr] --> src/connectfour.rs:16:75 [INFO] [stderr] | [INFO] [stderr] 16 | let mut b = unsafe /* hold on to your hat, 'cause here we go */ { uninitialized::<[Space; WIDTH * HEIGHT]>() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stderr] --> src/basics.rs:86:1 [INFO] [stderr] | [INFO] [stderr] 86 | pub enum Space { Empty, Black, White } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/go.rs:28:32 [INFO] [stderr] | [INFO] [stderr] 28 | for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 28 | for &p in neighbors(p).iter().flat_map(|x| x) { [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 28 | for &p in IntoIterator::into_iter(neighbors(p)).flat_map(|x| x) { [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/go.rs:60:33 [INFO] [stderr] | [INFO] [stderr] 60 | if neighbors(p).into_iter().flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 60 | if neighbors(p).iter().flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 60 | if IntoIterator::into_iter(neighbors(p)).flat_map(|x| x).any(|&p| !capture_inner(c, p, b, captured)) { return false } [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/go.rs:123:32 [INFO] [stderr] | [INFO] [stderr] 123 | for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 123 | for &p in neighbors(p).iter().flat_map(|x| x) { [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 123 | for &p in IntoIterator::into_iter(neighbors(p)).flat_map(|x| x) { [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/go.rs:136:32 [INFO] [stderr] | [INFO] [stderr] 136 | for &p in neighbors(p).into_iter().flat_map(|x| x) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 136 | for &p in neighbors(p).iter().flat_map(|x| x) { [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 136 | for &p in IntoIterator::into_iter(neighbors(p)).flat_map(|x| x) { [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/go.rs:151:25 [INFO] [stderr] | [INFO] [stderr] 151 | if neighbors(p).into_iter().flat_map(|x| x).any(|&p| { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 151 | if neighbors(p).iter().flat_map(|x| x).any(|&p| { [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 151 | if IntoIterator::into_iter(neighbors(p)).flat_map(|x| x).any(|&p| { [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/go.rs:155:35 [INFO] [stderr] | [INFO] [stderr] 155 | c => neighbors(p).into_iter().filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 155 | c => neighbors(p).iter().filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 155 | c => IntoIterator::into_iter(neighbors(p)).filter_map(|&x| x).filter(|&p| self.board[p] != c.enemy()).count() == 1 [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] warning: `worthy-opponent` (lib) generated 34 warnings (run `cargo fix --lib -p worthy-opponent` to apply 16 suggestions) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/basics.rs:120:36 [INFO] [stderr] | [INFO] [stderr] 120 | fn shrink(self: &Space) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 120 | fn shrink(self: &Space) -> Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ggp.rs:371:95 [INFO] [stderr] | [INFO] [stderr] 371 | fn add_arg<'a, 'b, I: Iterator>> + 'a>(sofar: I, arg: &'a Expr<'b>) -> Box>> + 'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 371 | fn add_arg<'a, 'b, I: Iterator>> + 'a>(sofar: I, arg: &'a Expr<'b>) -> Box>> + 'a> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/bin/worthy-opponent.rs:121:13 [INFO] [stderr] | [INFO] [stderr] 121 | Preview(SExpr<'a>, u64), [INFO] [stderr] | ------- ^^^^^^^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 121 | Preview((), ()), [INFO] [stderr] | ~~ ~~ [INFO] [stderr] [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/bin/worthy-opponent.rs:124:19 [INFO] [stderr] | [INFO] [stderr] 124 | Stop(&'a str, Vec>), [INFO] [stderr] | ---- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 124 | Stop(&'a str, ()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: `worthy-opponent` (lib test) generated 35 warnings (33 duplicates) (run `cargo fix --lib -p worthy-opponent --tests` to apply 2 suggestions) [INFO] [stderr] warning: `worthy-opponent` (bin "worthy-opponent" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.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 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/worthy_opponent-43a3d3fc7eba1e07) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test ninemensmorris::tests::adjacency_is_mutual ... ok [INFO] [stdout] test ggp::tests::atoms ... ok [INFO] [stdout] test ggp::tests::preds ... ok [INFO] [stdout] test ninemensmorris::tests::all_spaces_in_seen_by_four ... ok [INFO] [stdout] test ggp::tests::tic_tac_toe ... ok [INFO] [stdout] test basics::tests::history_present_iff_added ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.49s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/two-player.rs (/opt/rustwide/target/debug/deps/two_player-ec4cccdb824ba480) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/worthy-opponent.rs (/opt/rustwide/target/debug/deps/worthy_opponent-daef4933ce452eef) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests worthy_opponent [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "163d992596479f28b72e9dc8678285ae4055447bbcb8de11645fc0f355166a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "163d992596479f28b72e9dc8678285ae4055447bbcb8de11645fc0f355166a7e", kill_on_drop: false }` [INFO] [stdout] 163d992596479f28b72e9dc8678285ae4055447bbcb8de11645fc0f355166a7e