[INFO] fetching crate aristeia 0.2.3... [INFO] testing aristeia-0.2.3 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate aristeia 0.2.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate aristeia 0.2.3 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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.8.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7edecf8f2e60c087de9e11e317d6f1e310b8b036b10e976208791f23f0606dc1 [INFO] running `Command { std: "docker" "start" "-a" "7edecf8f2e60c087de9e11e317d6f1e310b8b036b10e976208791f23f0606dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7edecf8f2e60c087de9e11e317d6f1e310b8b036b10e976208791f23f0606dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7edecf8f2e60c087de9e11e317d6f1e310b8b036b10e976208791f23f0606dc1", kill_on_drop: false }` [INFO] [stdout] 7edecf8f2e60c087de9e11e317d6f1e310b8b036b10e976208791f23f0606dc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 239c95dd0af0eb6491d324ff823608328a2d607f0b96f69434aeeb666a58b3a9 [INFO] running `Command { std: "docker" "start" "-a" "239c95dd0af0eb6491d324ff823608328a2d607f0b96f69434aeeb666a58b3a9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "239c95dd0af0eb6491d324ff823608328a2d607f0b96f69434aeeb666a58b3a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "239c95dd0af0eb6491d324ff823608328a2d607f0b96f69434aeeb666a58b3a9", kill_on_drop: false }` [INFO] [stdout] 239c95dd0af0eb6491d324ff823608328a2d607f0b96f69434aeeb666a58b3a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4a124e03c36e1a7473fbddd491742b1474f4bf3357fdd5b93eb7b5647ac1387 [INFO] running `Command { std: "docker" "start" "-a" "b4a124e03c36e1a7473fbddd491742b1474f4bf3357fdd5b93eb7b5647ac1387", 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)]` 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)]` on by default [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: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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "b4a124e03c36e1a7473fbddd491742b1474f4bf3357fdd5b93eb7b5647ac1387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4a124e03c36e1a7473fbddd491742b1474f4bf3357fdd5b93eb7b5647ac1387", kill_on_drop: false }` [INFO] [stdout] b4a124e03c36e1a7473fbddd491742b1474f4bf3357fdd5b93eb7b5647ac1387 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 40b549d0b8eb4faf78d7724a1c69718c888784e01f9e0e5ff159aaf941a5c4f4 [INFO] running `Command { std: "docker" "start" "-a" "40b549d0b8eb4faf78d7724a1c69718c888784e01f9e0e5ff159aaf941a5c4f4", 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)]` 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)]` 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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aristeia-3b474730137b662c) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test agent::tests::crossover_some_genes_same_length_other ... ok [INFO] [stdout] test agent::tests::crossover_some_genes_longer_other ... ok [INFO] [stdout] test agent::tests::new_no_genes ... ok [INFO] [stdout] test agent::tests::crossover_parents ... ok [INFO] [stdout] test agent::tests::mutate ... ok [INFO] [stdout] test operations::tests::rate_to_number_minimum_preference_greater_than_population ... ok [INFO] [stdout] test operations::tests::rate_to_number_minimum_preference_greater_than_proportion ... 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_population_is_zero ... ok [INFO] [stdout] test operations::tests::rate_to_number_standard_proportion ... ok [INFO] [stdout] test operations::tests::selection_highest_score_returns_highest ... ok [INFO] [stdout] test operations::tests::selection_lowest_score_returns_lowest ... 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 agent::tests::new_with_genes ... ok [INFO] [stdout] test operations::tests::rate_to_number_full_proportion ... ok [INFO] [stdout] test population::tests::new_with_false_unique ... 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_true_unique ... 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] thread 'operations::tests::selection_random_any_returns_correct_proportion' 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: 0x5d6f02c5de1a - std::backtrace_rs::backtrace::libunwind::trace::h3dab7ffe210583a3 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5d6f02c5de1a - std::backtrace_rs::backtrace::trace_unsynchronized::h85ec3139dd4f9047 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5d6f02c5de1a - std::sys::backtrace::_print_fmt::h3447259688950eab [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d6f02c5de1a - ::fmt::ha8d24a0f27cc401d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d6f02c847d3 - core::fmt::rt::Argument::fmt::h650b92642f481125 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5d6f02c847d3 - core::fmt::write::h5becf96591c394eb [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/fmt/mod.rs:1437:21 [INFO] [stdout] 6: 0x5d6f02c5ab13 - std::io::Write::write_fmt::h61fb565ee25d88c6 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5d6f02c5dc62 - std::sys::backtrace::BacktraceLock::print::hae1dc20f39b0ae80 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5d6f02c5f29e - std::panicking::default_hook::{{closure}}::hb3023fc9edf847a9 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:284:22 [INFO] [stdout] 9: 0x5d6f02c5f0a7 - std::panicking::default_hook::h271aee2d85880663 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:308:9 [INFO] [stdout] 10: 0x5d6f02c04328 - as core::ops::function::Fn>::call::hbfe4f2a7834d388d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5d6f02c04328 - test::test_main::{{closure}}::hbb7d4fde4185abc5 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5d6f02c5fab8 - as core::ops::function::Fn>::call::hd4cbe0a9e8955cde [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5d6f02c5fab8 - std::panicking::rust_panic_with_hook::he05f4a167c1908ac [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:825:13 [INFO] [stdout] 14: 0x5d6f02c5f76a - std::panicking::begin_panic_handler::{{closure}}::h79780775730ab9df [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:690:13 [INFO] [stdout] 15: 0x5d6f02c5e2e9 - std::sys::backtrace::__rust_end_short_backtrace::h753217146a30d8a2 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5d6f02c5f3fd - rust_begin_unwind [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:681:5 [INFO] [stdout] 17: 0x5d6f02c83250 - core::panicking::panic_fmt::h9ad4c3d87a3eb4ad [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5d6f02c835a2 - core::panicking::assert_failed_inner::h4bb4a5e09cb36c4e [INFO] [stdout] 19: 0x5d6f02c83459 - core::panicking::assert_failed::hfa64bba645b5a248 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panicking.rs:364:5 [INFO] [stdout] 20: 0x5d6f02bb243d - aristeia::operations::tests::selection_random_any_returns_correct_proportion::he7422d17954e1270 [INFO] [stdout] at /opt/rustwide/workdir/src/operations.rs:391:9 [INFO] [stdout] 21: 0x5d6f02bb2287 - aristeia::operations::tests::selection_random_any_returns_correct_proportion::{{closure}}::h13ffc06eec94e021 [INFO] [stdout] at /opt/rustwide/workdir/src/operations.rs:385:57 [INFO] [stdout] 22: 0x5d6f02bc64d6 - core::ops::function::FnOnce::call_once::hcaafea20f61138d4 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5d6f02c08f6b - core::ops::function::FnOnce::call_once::h651e3187cb632f8b [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d6f02c08f6b - test::__rust_begin_short_backtrace::hf087c08482082584 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x5d6f02c08879 - test::run_test_in_process::{{closure}}::h028b11125eb38b18 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x5d6f02c08879 - as core::ops::function::FnOnce<()>>::call_once::h8a69fc59e5c0ffcd [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5d6f02c08879 - std::panicking::try::do_call::h53d2549af1773521 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:573:40 [INFO] [stdout] 28: 0x5d6f02c08879 - std::panicking::try::h327579c208c8ae37 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:536:19 [INFO] [stdout] 29: 0x5d6f02c08879 - std::panic::catch_unwind::hae7e4a4da155a27e [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x5d6f02c08879 - test::run_test_in_process::hef0a7b0ac1ee3437 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x5d6f02c08879 - test::run_test::{{closure}}::h007633ec4ae045b1 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x5d6f02bcb5ea - test::run_test::{{closure}}::hf3a8c9852b545b46 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x5d6f02bcb5ea - std::sys::backtrace::__rust_begin_short_backtrace::ha442d5d7942f6ee9 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5d6f02bcf056 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc8fd461cdc84b676 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 35: 0x5d6f02bcf056 - as core::ops::function::FnOnce<()>>::call_once::h5a459cc955f063ed [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5d6f02bcf056 - std::panicking::try::do_call::hc249aed3a6c9c972 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:573:40 [INFO] [stdout] 37: 0x5d6f02bcf056 - std::panicking::try::h649add41232b7ab3 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:536:19 [INFO] [stdout] 38: 0x5d6f02bcf056 - std::panic::catch_unwind::h2fd522623ccd57b0 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x5d6f02bcf056 - std::thread::Builder::spawn_unchecked_::{{closure}}::h685de412d0d20b6b [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 40: 0x5d6f02bcf056 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf3391e711cf5434d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5d6f02c6399b - as core::ops::function::FnOnce>::call_once::hc98bb0f9729b604d [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 42: 0x5d6f02c6399b - as core::ops::function::FnOnce>::call_once::h3b479d8e9f1fef9f [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 43: 0x5d6f02c6399b - std::sys::pal::unix::thread::Thread::new::thread_start::he3d5da9652362070 [INFO] [stdout] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x7f6773043ac3 - [INFO] [stdout] 45: 0x7f67730d4a04 - 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.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "40b549d0b8eb4faf78d7724a1c69718c888784e01f9e0e5ff159aaf941a5c4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40b549d0b8eb4faf78d7724a1c69718c888784e01f9e0e5ff159aaf941a5c4f4", kill_on_drop: false }` [INFO] [stdout] 40b549d0b8eb4faf78d7724a1c69718c888784e01f9e0e5ff159aaf941a5c4f4