[INFO] cloning repository https://github.com/flavius/playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flavius/playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflavius%2Fplayground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflavius%2Fplayground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b05c504c9696591db10de3235818bd6bda6d13b2 [INFO] testing flavius/playground 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%2Fflavius%2Fplayground" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flavius/playground 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/flavius/playground [INFO] finished tweaking git repo https://github.com/flavius/playground [INFO] tweaked toml for git repo https://github.com/flavius/playground written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/flavius/playground 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-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] 37b92d2c5ac53f6d8ff342a091e427a2e9d912608039e03ccbbf23d6715c3efc [INFO] running `Command { std: "docker" "start" "-a" "37b92d2c5ac53f6d8ff342a091e427a2e9d912608039e03ccbbf23d6715c3efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37b92d2c5ac53f6d8ff342a091e427a2e9d912608039e03ccbbf23d6715c3efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b92d2c5ac53f6d8ff342a091e427a2e9d912608039e03ccbbf23d6715c3efc", kill_on_drop: false }` [INFO] [stdout] 37b92d2c5ac53f6d8ff342a091e427a2e9d912608039e03ccbbf23d6715c3efc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] dd5c67ed697fcdd5dcb83a117690b504efd86765832d394fe3cd5e157cc4658c [INFO] running `Command { std: "docker" "start" "-a" "dd5c67ed697fcdd5dcb83a117690b504efd86765832d394fe3cd5e157cc4658c", kill_on_drop: false }` [INFO] [stderr] Compiling rust-ddd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [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] 55 - fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [INFO] [stdout] 55 + fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&dyn PluginSpecification> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [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] 55 - fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [INFO] [stdout] 55 + fn sort_specifications(specs: Vec<&dyn PluginSpecification>) -> Vec<&PluginSpecification> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | let deps : Vec<&PluginSpecification> = vec![ [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] 222 - let deps : Vec<&PluginSpecification> = vec![ [INFO] [stdout] 222 + let deps : Vec<&dyn PluginSpecification> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sorted_specs` [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let sorted_specs = sort_specifications(deps); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sorted_specs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/main.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | fn new(deps: Self::Specification) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/main.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | fn new(deps: Self::Specification) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/main.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | fn new(deps: Self::Specification) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/main.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | fn new(deps: Self::Specification) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut sorted = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addDependency` should have a snake case name [INFO] [stdout] --> src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn addDependency(&mut self, what: usize, dependency: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_dependency` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.24s [INFO] running `Command { std: "docker" "inspect" "dd5c67ed697fcdd5dcb83a117690b504efd86765832d394fe3cd5e157cc4658c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd5c67ed697fcdd5dcb83a117690b504efd86765832d394fe3cd5e157cc4658c", kill_on_drop: false }` [INFO] [stdout] dd5c67ed697fcdd5dcb83a117690b504efd86765832d394fe3cd5e157cc4658c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] 5c958b5379f317e5c1fba1a7268da187c70a81cab5ed73bbd46a2827e8e5fb10 [INFO] running `Command { std: "docker" "start" "-a" "5c958b5379f317e5c1fba1a7268da187c70a81cab5ed73bbd46a2827e8e5fb10", kill_on_drop: false }` [INFO] [stderr] Compiling rust-ddd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [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] 55 - fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [INFO] [stdout] 55 + fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&dyn PluginSpecification> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [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] 55 - fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [INFO] [stdout] 55 + fn sort_specifications(specs: Vec<&dyn PluginSpecification>) -> Vec<&PluginSpecification> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | let deps : Vec<&PluginSpecification> = vec![ [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] 222 - let deps : Vec<&PluginSpecification> = vec![ [INFO] [stdout] 222 + let deps : Vec<&dyn PluginSpecification> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sorted_specs` [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let sorted_specs = sort_specifications(deps); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sorted_specs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/main.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | fn new(deps: Self::Specification) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/main.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | fn new(deps: Self::Specification) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/main.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | fn new(deps: Self::Specification) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/main.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | fn new(deps: Self::Specification) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let mut sorted = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addDependency` should have a snake case name [INFO] [stdout] --> src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn addDependency(&mut self, what: usize, dependency: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_dependency` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.15s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_ddd-b169766875ac0ccb) [INFO] running `Command { std: "docker" "inspect" "5c958b5379f317e5c1fba1a7268da187c70a81cab5ed73bbd46a2827e8e5fb10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c958b5379f317e5c1fba1a7268da187c70a81cab5ed73bbd46a2827e8e5fb10", kill_on_drop: false }` [INFO] [stdout] 5c958b5379f317e5c1fba1a7268da187c70a81cab5ed73bbd46a2827e8e5fb10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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] a9269530e7622b3cb6d5e12ce59ef16672497fe2a43f0c24fe06eca4ca8a4726 [INFO] running `Command { std: "docker" "start" "-a" "a9269530e7622b3cb6d5e12ce59ef16672497fe2a43f0c24fe06eca4ca8a4726", 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/main.rs:55:66 [INFO] [stderr] | [INFO] [stderr] 55 | fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [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] 55 - fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [INFO] [stderr] 55 + fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&dyn PluginSpecification> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:55:36 [INFO] [stderr] | [INFO] [stderr] 55 | fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [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] 55 - fn sort_specifications(specs: Vec<&PluginSpecification>) -> Vec<&PluginSpecification> { [INFO] [stderr] 55 + fn sort_specifications(specs: Vec<&dyn PluginSpecification>) -> Vec<&PluginSpecification> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:222:21 [INFO] [stderr] | [INFO] [stderr] 222 | let deps : Vec<&PluginSpecification> = vec![ [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] 222 - let deps : Vec<&PluginSpecification> = vec![ [INFO] [stderr] 222 + let deps : Vec<&dyn PluginSpecification> = vec![ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sorted_specs` [INFO] [stderr] --> src/main.rs:228:9 [INFO] [stderr] | [INFO] [stderr] 228 | let sorted_specs = sort_specifications(deps); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sorted_specs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deps` [INFO] [stderr] --> src/main.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | fn new(deps: Self::Specification) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deps` [INFO] [stderr] --> src/main.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | fn new(deps: Self::Specification) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deps` [INFO] [stderr] --> src/main.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 155 | fn new(deps: Self::Specification) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deps` [INFO] [stderr] --> src/main.rs:190:12 [INFO] [stderr] | [INFO] [stderr] 190 | fn new(deps: Self::Specification) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | let mut sorted = vec![]; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `addDependency` should have a snake case name [INFO] [stderr] --> src/main.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | fn addDependency(&mut self, what: usize, dependency: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_dependency` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-ddd` (bin "rust-ddd" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_ddd-b169766875ac0ccb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a9269530e7622b3cb6d5e12ce59ef16672497fe2a43f0c24fe06eca4ca8a4726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9269530e7622b3cb6d5e12ce59ef16672497fe2a43f0c24fe06eca4ca8a4726", kill_on_drop: false }` [INFO] [stdout] a9269530e7622b3cb6d5e12ce59ef16672497fe2a43f0c24fe06eca4ca8a4726