[INFO] fetching crate aristeia 0.2.3... [INFO] testing aristeia-0.2.3 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] extracting crate aristeia 0.2.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate aristeia 0.2.3 [INFO] finished tweaking crates.io crate aristeia 0.2.3 [INFO] tweaked toml for crates.io crate aristeia 0.2.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate aristeia 0.2.3 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8df0c1ee26cfe04bd9659577fe8ff6209035dd3eade382f188fb52c24e31cd4 [INFO] running `Command { std: "docker" "start" "-a" "e8df0c1ee26cfe04bd9659577fe8ff6209035dd3eade382f188fb52c24e31cd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8df0c1ee26cfe04bd9659577fe8ff6209035dd3eade382f188fb52c24e31cd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8df0c1ee26cfe04bd9659577fe8ff6209035dd3eade382f188fb52c24e31cd4", kill_on_drop: false }` [INFO] [stdout] e8df0c1ee26cfe04bd9659577fe8ff6209035dd3eade382f188fb52c24e31cd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 210db48937a36853756e87380f59e666e22422e6329ce629327867576b2ae5d9 [INFO] running `Command { std: "docker" "start" "-a" "210db48937a36853756e87380f59e666e22422e6329ce629327867576b2ae5d9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling aristeia v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | score_provider: &mut ScoreProvider [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 | score_provider: &mut dyn ScoreProvider [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | score_provider: &mut ScoreProvider [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 174 | score_provider: &mut dyn ScoreProvider [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | score_provider: &mut ScoreProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 | score_provider: &mut dyn ScoreProvider, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:138:88 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run (&self, population: Population, data: &Data, score_provider: &mut ScoreProvider) -> Population [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run (&self, population: Population, data: &Data, score_provider: &mut dyn ScoreProvider) -> Population [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/operations.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | for (_, mut agent) in agents { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "210db48937a36853756e87380f59e666e22422e6329ce629327867576b2ae5d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "210db48937a36853756e87380f59e666e22422e6329ce629327867576b2ae5d9", kill_on_drop: false }` [INFO] [stdout] 210db48937a36853756e87380f59e666e22422e6329ce629327867576b2ae5d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b40a65fa54d3471491c57df0d95567f8953cfb3ff7eb89f96a2b4e159e34b42c [INFO] running `Command { std: "docker" "start" "-a" "b40a65fa54d3471491c57df0d95567f8953cfb3ff7eb89f96a2b4e159e34b42c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | score_provider: &mut ScoreProvider [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 | score_provider: &mut dyn ScoreProvider [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | score_provider: &mut ScoreProvider [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 174 | score_provider: &mut dyn ScoreProvider [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | score_provider: &mut ScoreProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 | score_provider: &mut dyn ScoreProvider, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aristeia v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:138:88 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run (&self, population: Population, data: &Data, score_provider: &mut ScoreProvider) -> Population [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run (&self, population: Population, data: &Data, score_provider: &mut dyn ScoreProvider) -> Population [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/operations.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | for (_, mut agent) in agents { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | score_provider: &mut ScoreProvider [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 | score_provider: &mut dyn ScoreProvider [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | score_provider: &mut ScoreProvider [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 174 | score_provider: &mut dyn ScoreProvider [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | score_provider: &mut ScoreProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 | score_provider: &mut dyn ScoreProvider, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations.rs:138:88 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run (&self, population: Population, data: &Data, score_provider: &mut ScoreProvider) -> Population [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn run (&self, population: Population, data: &Data, score_provider: &mut dyn ScoreProvider) -> Population [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/operations.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | for (_, mut agent) in agents { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `Command { std: "docker" "inspect" "b40a65fa54d3471491c57df0d95567f8953cfb3ff7eb89f96a2b4e159e34b42c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b40a65fa54d3471491c57df0d95567f8953cfb3ff7eb89f96a2b4e159e34b42c", kill_on_drop: false }` [INFO] [stdout] b40a65fa54d3471491c57df0d95567f8953cfb3ff7eb89f96a2b4e159e34b42c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a0013a2c430ce4d7d9d2c2f8cecec426ccf9b1b068c75c252ecc15a6a43a910 [INFO] running `Command { std: "docker" "start" "-a" "2a0013a2c430ce4d7d9d2c2f8cecec426ccf9b1b068c75c252ecc15a6a43a910", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/operations.rs:152:26 [INFO] [stderr] | [INFO] [stderr] 152 | score_provider: &mut ScoreProvider [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 152 | score_provider: &mut dyn ScoreProvider [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/operations.rs:174:26 [INFO] [stderr] | [INFO] [stderr] 174 | score_provider: &mut ScoreProvider [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 174 | score_provider: &mut dyn ScoreProvider [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/operations.rs:230:26 [INFO] [stderr] | [INFO] [stderr] 230 | score_provider: &mut ScoreProvider, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 230 | score_provider: &mut dyn ScoreProvider, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/operations.rs:138:88 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn run (&self, population: Population, data: &Data, score_provider: &mut ScoreProvider) -> Population [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 138 | pub fn run (&self, population: Population, data: &Data, score_provider: &mut dyn ScoreProvider) -> Population [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/operations.rs:219:13 [INFO] [stderr] | [INFO] [stderr] 219 | for (_, mut agent) in agents { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `aristeia` (lib) generated 5 warnings (run `cargo fix --lib -p aristeia` to apply 5 suggestions) [INFO] [stderr] warning: `aristeia` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aristeia-1cb0986d0858097c) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test agent::tests::new_no_genes ... ok [INFO] [stdout] test agent::tests::crossover_parents ... ok [INFO] [stdout] test agent::tests::crossover_some_genes_longer_other ... ok [INFO] [stdout] test agent::tests::crossover_some_genes_same_length_other ... ok [INFO] [stdout] test evolution::tests::run_iterations_nothing_to_do ... ok [INFO] [stdout] test agent::tests::crossover_some_genes_shorter_other ... ok [INFO] [stdout] test operations::tests::rate_to_number_full_proportion ... ok [INFO] [stdout] test operations::tests::rate_to_number_minimum_preference_greater_than_population ... ok [INFO] [stdout] test operations::tests::rate_to_number_population_is_zero ... ok [INFO] [stdout] test operations::tests::rate_to_number_minimum_preference_less_than_proportion ... ok [INFO] [stdout] test operations::tests::rate_to_number_rounds_down ... ok [INFO] [stdout] test operations::tests::rate_to_number_minimum_preference_greater_than_proportion ... ok [INFO] [stdout] test operations::tests::rate_to_number_standard_proportion ... ok [INFO] [stdout] test operations::tests::selection_lowest_score_returns_lowest ... ok [INFO] [stdout] test operations::tests::selection_highest_score_returns_highest ... ok [INFO] [stdout] test population::tests::new_empty ... ok [INFO] [stdout] test population::tests::cull_all_below ... ok [INFO] [stdout] test population::tests::new_with_false_unique ... ok [INFO] [stdout] test population::tests::new_with_true_unique ... ok [INFO] [stdout] test agent::tests::mutate ... ok [INFO] [stdout] test agent::tests::new_with_genes ... ok [INFO] [stdout] test operations::tests::selection_random_any_returns_correct_proportion ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- operations::tests::selection_random_any_returns_correct_proportion stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'operations::tests::selection_random_any_returns_correct_proportion' (42) panicked at src/operations.rs:391:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 2 [INFO] [stdout] right: 1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ff0703de242 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ff0703de242 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ff0703de242 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5ff0703de242 - <::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5ff0703f2dea - ::fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5ff0703f2dea - core[c5ed12ab89cc536a]::fmt::write [INFO] [stdout] 6: 0x5ff0703e3186 - std[716c9a7a72e5c14e]::io::default_write_fmt::> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ff0703e3186 - as std[716c9a7a72e5c14e]::io::Write>::write_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5ff0703bc70f - ::print [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5ff0703bc70f - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5ff0703d6529 - std[716c9a7a72e5c14e]::panicking::default_hook [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5ff07034ea0e - core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5ff07034ea0e - test[64760d2bdea328cc]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ff0703d66e2 - core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5ff0703d66e2 - std[716c9a7a72e5c14e]::panicking::panic_with_hook [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5ff0703bc7c8 - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5ff0703b4169 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5ff0703bd61d - __rustc[4f0b026143eab78e]::rust_begin_unwind [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5ff0703f34bc - core[c5ed12ab89cc536a]::panicking::panic_fmt [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5ff0703f3373 - core[c5ed12ab89cc536a]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5ff0703ef73d - core[c5ed12ab89cc536a]::panicking::assert_failed:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5ff07033ac59 - aristeia[2f0394beb978a2f7]::operations::tests::selection_random_any_returns_correct_proportion [INFO] [stdout] at /opt/rustwide/workdir/src/operations.rs:391:9 [INFO] [stdout] 22: 0x5ff0703388f7 - aristeia[2f0394beb978a2f7]::operations::tests::selection_random_any_returns_correct_proportion::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/operations.rs:385:57 [INFO] [stdout] 23: 0x5ff0703371a6 - >::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ff070342dbb - core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5ff070342dbb - test[64760d2bdea328cc]::__rust_begin_short_backtrace::, fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5ff07034f61a - test[64760d2bdea328cc]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5ff07034f61a - as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5ff07034f61a - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5ff07034f61a - std[716c9a7a72e5c14e]::panicking::catch_unwind::, core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5ff07034f61a - std[716c9a7a72e5c14e]::panic::catch_unwind::, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5ff07034f61a - test[64760d2bdea328cc]::run_test_in_process [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5ff07034f61a - test[64760d2bdea328cc]::run_test::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5ff070349ae4 - test[64760d2bdea328cc]::run_test::{closure#1} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5ff070349ae4 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5ff070352112 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5ff070352112 - ::{closure#1}::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5ff070352112 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5ff070352112 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<(), core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5ff070352112 - std[716c9a7a72e5c14e]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5ff070352112 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5ff070352112 - ::{closure#1} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5ff0703ddaef - + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 43: 0x5ff0703ddaef - ::new::thread_start [INFO] [stdout] at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/thread/unix.rs:119:17 [INFO] [stdout] 44: 0x72e8c4d16aa4 - [INFO] [stdout] 45: 0x72e8c4da3a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] operations::tests::selection_random_any_returns_correct_proportion [INFO] [stdout] [INFO] [stdout] test result: FAILED. 21 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "2a0013a2c430ce4d7d9d2c2f8cecec426ccf9b1b068c75c252ecc15a6a43a910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a0013a2c430ce4d7d9d2c2f8cecec426ccf9b1b068c75c252ecc15a6a43a910", kill_on_drop: false }` [INFO] [stdout] 2a0013a2c430ce4d7d9d2c2f8cecec426ccf9b1b068c75c252ecc15a6a43a910