[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] 6b5ca0410ab62a200ca90420c8a5537d38f6b41d [INFO] documenting strout/worthy-opponent against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrout%2Fworthy-opponent" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/strout/worthy-opponent on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-14/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] feb095be36dcf27c53622938182616fa1f4d5ecdd6c1debff313f01646c4c676 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "feb095be36dcf27c53622938182616fa1f4d5ecdd6c1debff313f01646c4c676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "feb095be36dcf27c53622938182616fa1f4d5ecdd6c1debff313f01646c4c676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb095be36dcf27c53622938182616fa1f4d5ecdd6c1debff313f01646c4c676", kill_on_drop: false }` [INFO] [stdout] feb095be36dcf27c53622938182616fa1f4d5ecdd6c1debff313f01646c4c676 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4e16ab8990dd70b746d00c568c96b7d5357b0cbf21ec62455604602a2227af28 [INFO] running `Command { std: "docker" "start" "-a" "4e16ab8990dd70b746d00c568c96b7d5357b0cbf21ec62455604602a2227af28", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking chunked_transfer v0.3.1 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking bit-set v0.5.0 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking rand_os v0.1.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking tiny_http v0.6.1 [INFO] [stderr] Documenting worthy-opponent v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking worthy-opponent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn play(&mut self, &Self::Move); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Move` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] = note: `#[warn(bare_trait_objects)]` on by default [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: 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] 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 384 - fn add_args<'a, 'b, I: Iterator>>(head: &'a Expr<'b>, from: I) -> Box> + 'a> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 510 - pub fn query<'b>(&'b self, expr: &'b IExpr) -> Box + 'b> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 521 - fn query_inner<'b>(&'b self, expr: ValExpr, asg: Assignments) -> Box + 'b> { [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 associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 375 - "and" => Box::new(args.iter().fold(Box::new(sofar) as Box>, add_arg)), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 - let base = Box::new(once(vec![])) as Box>; [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: 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] 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: 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] = note: `#[warn(array_into_iter)]` on by default [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] 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: 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: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums 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] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.84s [INFO] running `Command { std: "docker" "inspect" "4e16ab8990dd70b746d00c568c96b7d5357b0cbf21ec62455604602a2227af28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e16ab8990dd70b746d00c568c96b7d5357b0cbf21ec62455604602a2227af28", kill_on_drop: false }` [INFO] [stdout] 4e16ab8990dd70b746d00c568c96b7d5357b0cbf21ec62455604602a2227af28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 234e7bf61e01e6b0b86c95b068fad185d462e4bf553bfaefaea2e1c269ea22b2 [INFO] running `Command { std: "docker" "start" "-a" "234e7bf61e01e6b0b86c95b068fad185d462e4bf553bfaefaea2e1c269ea22b2", kill_on_drop: false }` [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling libc v0.2.46 [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] Checking matches v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking chunked_transfer v0.3.1 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking bit-set v0.5.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift 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] Checking encoding v0.2.33 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking rand_os v0.1.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tiny_http v0.6.1 [INFO] [stderr] Documenting worthy-opponent v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.64s [INFO] running `Command { std: "docker" "inspect" "234e7bf61e01e6b0b86c95b068fad185d462e4bf553bfaefaea2e1c269ea22b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "234e7bf61e01e6b0b86c95b068fad185d462e4bf553bfaefaea2e1c269ea22b2", kill_on_drop: false }` [INFO] [stdout] 234e7bf61e01e6b0b86c95b068fad185d462e4bf553bfaefaea2e1c269ea22b2