[INFO] updating cached repository https://github.com/moussetc/letsroll [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b92da7fbddac891ac8c84c1d40a75a5177f97a3 [INFO] testing moussetc/letsroll/3b92da7fbddac891ac8c84c1d40a75a5177f97a3 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoussetc%2Fletsroll" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moussetc/letsroll on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-7/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" "+beta-2022-04-10" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99062abeb84b5dc281fd0debfe846ee17bb1c1dbc78d40e7e03d60dda346eedc [INFO] running `Command { std: "docker" "start" "-a" "99062abeb84b5dc281fd0debfe846ee17bb1c1dbc78d40e7e03d60dda346eedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99062abeb84b5dc281fd0debfe846ee17bb1c1dbc78d40e7e03d60dda346eedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99062abeb84b5dc281fd0debfe846ee17bb1c1dbc78d40e7e03d60dda346eedc", kill_on_drop: false }` [INFO] [stdout] 99062abeb84b5dc281fd0debfe846ee17bb1c1dbc78d40e7e03d60dda346eedc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edf07d95c62783832ec02dd884cc13ff3586766892cbba3e12586405f43642dc [INFO] running `Command { std: "docker" "start" "-a" "edf07d95c62783832ec02dd884cc13ff3586766892cbba3e12586405f43642dc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling pest v2.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.1.2 [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_os v0.1.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling pest_meta v2.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.24 [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] note: `TypedRollSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "edf07d95c62783832ec02dd884cc13ff3586766892cbba3e12586405f43642dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edf07d95c62783832ec02dd884cc13ff3586766892cbba3e12586405f43642dc", kill_on_drop: false }` [INFO] [stdout] edf07d95c62783832ec02dd884cc13ff3586766892cbba3e12586405f43642dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03a45e27d75d9ddc1853e3c6218c063837a6d4afebcd60b7254db0b88c10dd88 [INFO] running `Command { std: "docker" "start" "-a" "03a45e27d75d9ddc1853e3c6218c063837a6d4afebcd60b7254db0b88c10dd88", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] note: `TypedRollSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.05s [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/letsroll-a844a0cf52a7fdd1) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/letsroll-cc7716bd8fb68944) [INFO] running `Command { std: "docker" "inspect" "03a45e27d75d9ddc1853e3c6218c063837a6d4afebcd60b7254db0b88c10dd88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a45e27d75d9ddc1853e3c6218c063837a6d4afebcd60b7254db0b88c10dd88", kill_on_drop: false }` [INFO] [stdout] 03a45e27d75d9ddc1853e3c6218c063837a6d4afebcd60b7254db0b88c10dd88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0cd716396afcbf775bbd36b7f4974850a4588dae5e34fe5d2dd77f7354fa1bc2 [INFO] running `Command { std: "docker" "start" "-a" "0cd716396afcbf775bbd36b7f4974850a4588dae5e34fe5d2dd77f7354fa1bc2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] note: `TypedRollSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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 1.82s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/letsroll-a844a0cf52a7fdd1) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test actions::tests::action_type_compatibilty ... ok [INFO] [stdout] test actions::tests::transform_concat ... ok [INFO] [stdout] test actions::tests::transform_explode ... ok [INFO] [stdout] test actions::tests::transform_flipflop ... ok [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_multiply ... ok [INFO] [stdout] test actions::tests::transform_reroll_best ... ok [INFO] [stdout] test actions::tests::transform_reroll_num ... ok [INFO] [stdout] test actions::tests::transform_reroll_fudge ... ok [INFO] [stdout] test actions::tests::transform_reroll_worst ... ok [INFO] [stdout] test dice::tests::const_generation ... ok [INFO] [stdout] test actions::tests::transform_total_sum ... ok [INFO] [stdout] test actions::tests::transform_sum ... ok [INFO] [stdout] test dice::tests::numbered_dice_generation ... ok [INFO] [stdout] test io::read::tests::read_ko ... ok [INFO] [stdout] test dice::tests::repeating_dice ... ok [INFO] [stdout] test io::write::tests::const_dice_to_string ... ok [INFO] [stdout] test io::read::tests::read_const_dice ... ok [INFO] [stdout] test io::write::tests::dice_request_to_string ... ok [INFO] [stdout] test io::read::tests::read_fudge_dice ... ok [INFO] [stdout] test io::write::tests::fudge_dice_to_string ... ok [INFO] [stdout] test io::read::tests::read_request_with_id ... ok [INFO] [stdout] test io::write::tests::numbered_dice_to_string ... ok [INFO] [stdout] test io::read::tests::read_numbered_dice ... ok [INFO] [stdout] test io::write::tests::fudge_roll_to_string ... ok [INFO] [stdout] test io::write::tests::repeating_dice_to_string ... ok [INFO] [stdout] test io::write::tests::numeric_roll_to_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/letsroll-cc7716bd8fb68944) [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::Concat (line 212) ... ok [INFO] [stdout] test src/actions.rs - actions::KeepBest (line 356) ... ok [INFO] [stdout] test src/actions.rs - actions::Explode (line 265) ... ok [INFO] [stdout] test src/actions.rs - actions::KeepWorst (line 412) ... ok [INFO] [stdout] test src/actions.rs - actions::MultiplyBy (line 67) ... ok [INFO] [stdout] test src/actions.rs - actions::Reroll (line 92) ... ok [INFO] [stdout] test src/actions.rs - actions::FlipFlop (line 142) ... ok [INFO] [stdout] test src/actions.rs - actions::Sum (line 182) ... ok [INFO] [stdout] test src/actions.rs - actions::RerollWorst (line 473) ... ok [INFO] [stdout] test src/actions.rs - actions::RerollBest (line 393) ... 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 1.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0cd716396afcbf775bbd36b7f4974850a4588dae5e34fe5d2dd77f7354fa1bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd716396afcbf775bbd36b7f4974850a4588dae5e34fe5d2dd77f7354fa1bc2", kill_on_drop: false }` [INFO] [stdout] 0cd716396afcbf775bbd36b7f4974850a4588dae5e34fe5d2dd77f7354fa1bc2