[INFO] cloning repository https://github.com/ficoos/roll [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ficoos/roll" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fficoos%2Froll", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fficoos%2Froll'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7d320663191b72a99cc1aaa8b920c4bdf0869a8 [INFO] checking ficoos/roll against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fficoos%2Froll" "/workspace/builds/worker-85/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-85/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ficoos/roll on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ficoos/roll [INFO] finished tweaking git repo https://github.com/ficoos/roll [INFO] tweaked toml for git repo https://github.com/ficoos/roll written to /workspace/builds/worker-85/source/Cargo.toml [INFO] crate git repo https://github.com/ficoos/roll already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a4bb1219031d5e63404eae45db77db090915658398d733b194c6b17f0f8eaf2 [INFO] running `Command { std: "docker" "start" "-a" "4a4bb1219031d5e63404eae45db77db090915658398d733b194c6b17f0f8eaf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a4bb1219031d5e63404eae45db77db090915658398d733b194c6b17f0f8eaf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a4bb1219031d5e63404eae45db77db090915658398d733b194c6b17f0f8eaf2", kill_on_drop: false }` [INFO] [stdout] 4a4bb1219031d5e63404eae45db77db090915658398d733b194c6b17f0f8eaf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6d7febd4e4224489a8ee176981492f069bb869e67bd7b82b553194fb512b389 [INFO] running `Command { std: "docker" "start" "-a" "b6d7febd4e4224489a8ee176981492f069bb869e67bd7b82b553194fb512b389", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking roll v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | struct Add { lhs: Box, rhs: Box } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | struct Add { lhs: Box, rhs: Box } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | struct Subtract { lhs: Box, rhs: Box } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | struct Subtract { lhs: Box, rhs: Box } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | Some(&'0'...'9') => true, [INFO] [stdout] | ^^^^^^^^^^ help: use `..=` for an inclusive range: `&('0'..='9')` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:103:59 [INFO] [stdout] | [INFO] [stdout] 103 | fn read_operand(chars: &mut Peekable) -> Option> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | Some(&'0'...'9') | Some(&'d') => {}, [INFO] [stdout] | ^^^^^^^^^^ help: use `..=` for an inclusive range: `&('0'..='9')` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:137:43 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn roll(roll_def: &str) -> Result, ParseError> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | struct Add { lhs: Box, rhs: Box } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | struct Add { lhs: Box, rhs: Box } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | struct Subtract { lhs: Box, rhs: Box } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | struct Subtract { lhs: Box, rhs: Box } [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | Some(&'0'...'9') => true, [INFO] [stdout] | ^^^^^^^^^^ help: use `..=` for an inclusive range: `&('0'..='9')` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:103:59 [INFO] [stdout] | [INFO] [stdout] 103 | fn read_operand(chars: &mut Peekable) -> Option> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | Some(&'0'...'9') | Some(&'d') => {}, [INFO] [stdout] | ^^^^^^^^^^ help: use `..=` for an inclusive range: `&('0'..='9')` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:137:43 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn roll(roll_def: &str) -> Result, ParseError> [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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] [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/main.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 205 | ].into_iter() { [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] 205 | ].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 205 - ].into_iter() { [INFO] [stdout] 205 + ] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.61s [INFO] running `Command { std: "docker" "inspect" "b6d7febd4e4224489a8ee176981492f069bb869e67bd7b82b553194fb512b389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d7febd4e4224489a8ee176981492f069bb869e67bd7b82b553194fb512b389", kill_on_drop: false }` [INFO] [stdout] b6d7febd4e4224489a8ee176981492f069bb869e67bd7b82b553194fb512b389