[INFO] cloning repository https://github.com/moussetc/letsroll [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moussetc/letsroll" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoussetc%2Fletsroll", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoussetc%2Fletsroll'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b92da7fbddac891ac8c84c1d40a75a5177f97a3 [INFO] testing moussetc/letsroll against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoussetc%2Fletsroll" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moussetc/letsroll on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/moussetc/letsroll [INFO] finished tweaking git repo https://github.com/moussetc/letsroll [INFO] tweaked toml for git repo https://github.com/moussetc/letsroll written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/moussetc/letsroll already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 291d4695132802c2344f51a0d17b0d1ac39a9a65fc267f409f23fc8d08725b0e [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" "291d4695132802c2344f51a0d17b0d1ac39a9a65fc267f409f23fc8d08725b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "291d4695132802c2344f51a0d17b0d1ac39a9a65fc267f409f23fc8d08725b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "291d4695132802c2344f51a0d17b0d1ac39a9a65fc267f409f23fc8d08725b0e", kill_on_drop: false }` [INFO] [stdout] 291d4695132802c2344f51a0d17b0d1ac39a9a65fc267f409f23fc8d08725b0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a647eaf022e978f2e299e0ffc78d741ef2026c29a03c0371e7eee8da6b74bc73 [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" "a647eaf022e978f2e299e0ffc78d741ef2026c29a03c0371e7eee8da6b74bc73", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling syn v0.15.24 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling pest v2.1.0 [INFO] [stderr] Compiling rand v0.6.3 [INFO] [stderr] Compiling pest_meta v2.1.0 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling docopt v1.0.2 [INFO] [stderr] Compiling letsroll v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | dice: &Roll, [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 303 - dice: &Roll, [INFO] [stdout] 303 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls; [INFO] [stdout] 102 + fn reroll(&self, dice: &dyn Roll, t: &Vec) -> Rolls; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 - fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls; [INFO] [stdout] 280 + fn explode(&self, dice: &dyn Roll, explosion_values: &Vec) -> Rolls; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 405 - dice: &Roll, [INFO] [stdout] 405 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:485:16 [INFO] [stdout] | [INFO] [stdout] 485 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 485 - dice: &Roll, [INFO] [stdout] 485 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:553:45 [INFO] [stdout] | [INFO] [stdout] 553 | fn apply(&self, action: &Action, dice: &Roll) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 553 - fn apply(&self, action: &Action, dice: &Roll) -> Result, Error>; [INFO] [stdout] 553 + fn apply(&self, action: &Action, dice: &dyn Roll) -> Result, Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls { [INFO] [stdout] 106 + fn reroll(&self, dice: &dyn Roll, t: &Vec) -> Rolls { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 - fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls { [INFO] [stdout] 284 + fn explode(&self, dice: &dyn Roll, explosion_values: &Vec) -> Rolls { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:448:16 [INFO] [stdout] | [INFO] [stdout] 448 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 448 - dice: &Roll, [INFO] [stdout] 448 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:493:16 [INFO] [stdout] | [INFO] [stdout] 493 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 493 - dice: &Roll, [INFO] [stdout] 493 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:560:16 [INFO] [stdout] | [INFO] [stdout] 560 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 560 - dice: &Roll, [INFO] [stdout] 560 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:587:16 [INFO] [stdout] | [INFO] [stdout] 587 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 587 - dice: &Roll, [INFO] [stdout] 587 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dice.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn roll(&self, dice: &Roll) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 176 - pub fn roll(&self, dice: &Roll) -> Result, Error> [INFO] [stdout] 176 + pub fn roll(&self, dice: &dyn Roll) -> Result, Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dice.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn new(dice_request: RollRequest, dice: &Roll) -> Rolls { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - pub fn new(dice_request: RollRequest, dice: &Roll) -> Rolls { [INFO] [stdout] 196 + pub fn new(dice_request: RollRequest, dice: &dyn Roll) -> Rolls { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `requests` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) requests: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.25s [INFO] running `Command { std: "docker" "inspect" "a647eaf022e978f2e299e0ffc78d741ef2026c29a03c0371e7eee8da6b74bc73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a647eaf022e978f2e299e0ffc78d741ef2026c29a03c0371e7eee8da6b74bc73", kill_on_drop: false }` [INFO] [stdout] a647eaf022e978f2e299e0ffc78d741ef2026c29a03c0371e7eee8da6b74bc73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44191350f6a324ec2d4ce4cce382e608d51614364f11529e329f86ee3caa2cbb [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" "44191350f6a324ec2d4ce4cce382e608d51614364f11529e329f86ee3caa2cbb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling letsroll v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | dice: &Roll, [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 303 - dice: &Roll, [INFO] [stdout] 303 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls; [INFO] [stdout] 102 + fn reroll(&self, dice: &dyn Roll, t: &Vec) -> Rolls; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 - fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls; [INFO] [stdout] 280 + fn explode(&self, dice: &dyn Roll, explosion_values: &Vec) -> Rolls; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 405 - dice: &Roll, [INFO] [stdout] 405 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:485:16 [INFO] [stdout] | [INFO] [stdout] 485 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 485 - dice: &Roll, [INFO] [stdout] 485 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:553:45 [INFO] [stdout] | [INFO] [stdout] 553 | fn apply(&self, action: &Action, dice: &Roll) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 553 - fn apply(&self, action: &Action, dice: &Roll) -> Result, Error>; [INFO] [stdout] 553 + fn apply(&self, action: &Action, dice: &dyn Roll) -> Result, Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls { [INFO] [stdout] 106 + fn reroll(&self, dice: &dyn Roll, t: &Vec) -> Rolls { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 - fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls { [INFO] [stdout] 284 + fn explode(&self, dice: &dyn Roll, explosion_values: &Vec) -> Rolls { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:448:16 [INFO] [stdout] | [INFO] [stdout] 448 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 448 - dice: &Roll, [INFO] [stdout] 448 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:493:16 [INFO] [stdout] | [INFO] [stdout] 493 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 493 - dice: &Roll, [INFO] [stdout] 493 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:560:16 [INFO] [stdout] | [INFO] [stdout] 560 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 560 - dice: &Roll, [INFO] [stdout] 560 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:587:16 [INFO] [stdout] | [INFO] [stdout] 587 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 587 - dice: &Roll, [INFO] [stdout] 587 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dice.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn roll(&self, dice: &Roll) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 176 - pub fn roll(&self, dice: &Roll) -> Result, Error> [INFO] [stdout] 176 + pub fn roll(&self, dice: &dyn Roll) -> Result, Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dice.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn new(dice_request: RollRequest, dice: &Roll) -> Rolls { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - pub fn new(dice_request: RollRequest, dice: &Roll) -> Rolls { [INFO] [stdout] 196 + pub fn new(dice_request: RollRequest, dice: &dyn Roll) -> Rolls { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `requests` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) requests: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | dice: &Roll, [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 303 - dice: &Roll, [INFO] [stdout] 303 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls; [INFO] [stdout] 102 + fn reroll(&self, dice: &dyn Roll, t: &Vec) -> Rolls; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 - fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls; [INFO] [stdout] 280 + fn explode(&self, dice: &dyn Roll, explosion_values: &Vec) -> Rolls; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:405:16 [INFO] [stdout] | [INFO] [stdout] 405 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 405 - dice: &Roll, [INFO] [stdout] 405 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:485:16 [INFO] [stdout] | [INFO] [stdout] 485 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 485 - dice: &Roll, [INFO] [stdout] 485 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:553:45 [INFO] [stdout] | [INFO] [stdout] 553 | fn apply(&self, action: &Action, dice: &Roll) -> Result, Error>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 553 - fn apply(&self, action: &Action, dice: &Roll) -> Result, Error>; [INFO] [stdout] 553 + fn apply(&self, action: &Action, dice: &dyn Roll) -> Result, Error>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls { [INFO] [stdout] 106 + fn reroll(&self, dice: &dyn Roll, t: &Vec) -> Rolls { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 - fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls { [INFO] [stdout] 284 + fn explode(&self, dice: &dyn Roll, explosion_values: &Vec) -> Rolls { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:448:16 [INFO] [stdout] | [INFO] [stdout] 448 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 448 - dice: &Roll, [INFO] [stdout] 448 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:493:16 [INFO] [stdout] | [INFO] [stdout] 493 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 493 - dice: &Roll, [INFO] [stdout] 493 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:560:16 [INFO] [stdout] | [INFO] [stdout] 560 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 560 - dice: &Roll, [INFO] [stdout] 560 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actions.rs:587:16 [INFO] [stdout] | [INFO] [stdout] 587 | dice: &Roll, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 587 - dice: &Roll, [INFO] [stdout] 587 + dice: &dyn Roll, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dice.rs:176:46 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn roll(&self, dice: &Roll) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 176 - pub fn roll(&self, dice: &Roll) -> Result, Error> [INFO] [stdout] 176 + pub fn roll(&self, dice: &dyn Roll) -> Result, Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dice.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn new(dice_request: RollRequest, dice: &Roll) -> Rolls { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 - pub fn new(dice_request: RollRequest, dice: &Roll) -> Rolls { [INFO] [stdout] 196 + pub fn new(dice_request: RollRequest, dice: &dyn Roll) -> Rolls { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.28s [INFO] running `Command { std: "docker" "inspect" "44191350f6a324ec2d4ce4cce382e608d51614364f11529e329f86ee3caa2cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44191350f6a324ec2d4ce4cce382e608d51614364f11529e329f86ee3caa2cbb", kill_on_drop: false }` [INFO] [stdout] 44191350f6a324ec2d4ce4cce382e608d51614364f11529e329f86ee3caa2cbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a83edf7d6a98ff3899a591255a1cb37823c33496a19d53c773b48d74906ef0d1 [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" "a83edf7d6a98ff3899a591255a1cb37823c33496a19d53c773b48d74906ef0d1", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:303:12 [INFO] [stderr] | [INFO] [stderr] 303 | dice: &Roll, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 303 - dice: &Roll, [INFO] [stderr] 303 + dice: &dyn Roll, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:102:29 [INFO] [stderr] | [INFO] [stderr] 102 | fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 102 - fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls; [INFO] [stderr] 102 + fn reroll(&self, dice: &dyn Roll, t: &Vec) -> Rolls; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:280:30 [INFO] [stderr] | [INFO] [stderr] 280 | fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 280 - fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls; [INFO] [stderr] 280 + fn explode(&self, dice: &dyn Roll, explosion_values: &Vec) -> Rolls; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:405:16 [INFO] [stderr] | [INFO] [stderr] 405 | dice: &Roll, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 405 - dice: &Roll, [INFO] [stderr] 405 + dice: &dyn Roll, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:485:16 [INFO] [stderr] | [INFO] [stderr] 485 | dice: &Roll, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 485 - dice: &Roll, [INFO] [stderr] 485 + dice: &dyn Roll, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:553:45 [INFO] [stderr] | [INFO] [stderr] 553 | fn apply(&self, action: &Action, dice: &Roll) -> Result, Error>; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 553 - fn apply(&self, action: &Action, dice: &Roll) -> Result, Error>; [INFO] [stderr] 553 + fn apply(&self, action: &Action, dice: &dyn Roll) -> Result, Error>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:106:29 [INFO] [stderr] | [INFO] [stderr] 106 | fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 106 - fn reroll(&self, dice: &Roll, t: &Vec) -> Rolls { [INFO] [stderr] 106 + fn reroll(&self, dice: &dyn Roll, t: &Vec) -> Rolls { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:284:30 [INFO] [stderr] | [INFO] [stderr] 284 | fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 284 - fn explode(&self, dice: &Roll, explosion_values: &Vec) -> Rolls { [INFO] [stderr] 284 + fn explode(&self, dice: &dyn Roll, explosion_values: &Vec) -> Rolls { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:448:16 [INFO] [stderr] | [INFO] [stderr] 448 | dice: &Roll, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 448 - dice: &Roll, [INFO] [stderr] 448 + dice: &dyn Roll, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:493:16 [INFO] [stderr] | [INFO] [stderr] 493 | dice: &Roll, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 493 - dice: &Roll, [INFO] [stderr] 493 + dice: &dyn Roll, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:560:16 [INFO] [stderr] | [INFO] [stderr] 560 | dice: &Roll, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 560 - dice: &Roll, [INFO] [stderr] 560 + dice: &dyn Roll, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/actions.rs:587:16 [INFO] [stderr] | [INFO] [stderr] 587 | dice: &Roll, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 587 - dice: &Roll, [INFO] [stderr] 587 + dice: &dyn Roll, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dice.rs:176:46 [INFO] [stderr] | [INFO] [stderr] 176 | pub fn roll(&self, dice: &Roll) -> Result, Error> [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 176 - pub fn roll(&self, dice: &Roll) -> Result, Error> [INFO] [stderr] 176 + pub fn roll(&self, dice: &dyn Roll) -> Result, Error> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dice.rs:196:53 [INFO] [stderr] | [INFO] [stderr] 196 | pub fn new(dice_request: RollRequest, dice: &Roll) -> Rolls { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 196 - pub fn new(dice_request: RollRequest, dice: &Roll) -> Rolls { [INFO] [stderr] 196 + pub fn new(dice_request: RollRequest, dice: &dyn Roll) -> Rolls { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `requests` [INFO] [stderr] --> src/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub(crate) requests: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `letsroll` (lib) generated 15 warnings [INFO] [stderr] warning: `letsroll` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/letsroll-0d1cdb684ca9e32d) [INFO] [stdout] running 29 tests [INFO] [stdout] test actions::tests::transform_keep_best ... ok [INFO] [stdout] test actions::tests::transform_keep_worst ... ok [INFO] [stdout] test actions::tests::aggregation_count_values ... ok [INFO] [stdout] test actions::tests::transform_flipflop ... ok [INFO] [stdout] test actions::tests::action_type_compatibilty ... ok [INFO] [stdout] test actions::tests::transform_multiply ... ok [INFO] [stdout] test actions::tests::transform_concat ... ok [INFO] [stdout] test actions::tests::transform_total_sum ... ok [INFO] [stdout] test actions::tests::transform_explode ... ok [INFO] [stdout] test io::write::tests::fudge_dice_to_string ... ok [INFO] [stdout] test dice::tests::numbered_dice_generation ... ok [INFO] [stdout] test io::write::tests::fudge_roll_to_string ... ok [INFO] [stdout] test actions::tests::transform_reroll_best ... ok [INFO] [stdout] test io::read::tests::read_ko ... ok [INFO] [stdout] test io::read::tests::read_request_with_id ... ok [INFO] [stdout] test io::read::tests::read_numbered_dice ... ok [INFO] [stdout] test actions::tests::transform_reroll_num ... ok [INFO] [stdout] test io::write::tests::dice_request_to_string ... ok [INFO] [stdout] test io::write::tests::const_dice_to_string ... ok [INFO] [stdout] test io::write::tests::numeric_roll_to_string ... ok [INFO] [stdout] test io::write::tests::numbered_dice_to_string ... ok [INFO] [stdout] test io::write::tests::repeating_dice_to_string ... ok [INFO] [stdout] test actions::tests::transform_sum ... ok [INFO] [stdout] test actions::tests::transform_reroll_worst ... ok [INFO] [stdout] test actions::tests::transform_reroll_fudge ... ok [INFO] [stdout] test dice::tests::repeating_dice ... ok [INFO] [stdout] test dice::tests::const_generation ... ok [INFO] [stdout] test io::read::tests::read_fudge_dice ... ok [INFO] [stdout] test io::read::tests::read_const_dice ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/letsroll-689c6c99a9cdbaf1) [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 letsroll [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/actions.rs - actions::RerollBest (line 393) ... ok [INFO] [stdout] test src/actions.rs - actions::Sum (line 182) ... ok [INFO] [stdout] test src/actions.rs - actions::Explode (line 265) ... ok [INFO] [stdout] test src/actions.rs - actions::Reroll (line 92) ... ok [INFO] [stdout] test src/actions.rs - actions::KeepWorst (line 412) ... ok [INFO] [stdout] test src/actions.rs - actions::FlipFlop (line 142) ... ok [INFO] [stdout] test src/actions.rs - actions::RerollWorst (line 473) ... ok [INFO] [stdout] test src/actions.rs - actions::Concat (line 212) ... ok [INFO] [stdout] test src/actions.rs - actions::MultiplyBy (line 67) ... ok [INFO] [stdout] test src/actions.rs - actions::KeepBest (line 356) ... ok [INFO] [stdout] test src/actions.rs - actions::FlipFlop (line 133) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.25s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a83edf7d6a98ff3899a591255a1cb37823c33496a19d53c773b48d74906ef0d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83edf7d6a98ff3899a591255a1cb37823c33496a19d53c773b48d74906ef0d1", kill_on_drop: false }` [INFO] [stdout] a83edf7d6a98ff3899a591255a1cb37823c33496a19d53c773b48d74906ef0d1