[INFO] fetching crate xu 0.2.3... [INFO] testing xu-0.2.3 against master#0d13f6afeba4935499abe0c9a07426c94492c94e for pr-96025 [INFO] extracting crate xu 0.2.3 into /workspace/builds/worker-68/source [INFO] validating manifest of crates.io crate xu 0.2.3 on toolchain 0d13f6afeba4935499abe0c9a07426c94492c94e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xu 0.2.3 [INFO] finished tweaking crates.io crate xu 0.2.3 [INFO] tweaked toml for crates.io crate xu 0.2.3 written to /workspace/builds/worker-68/source/Cargo.toml [INFO] crate crates.io crate xu 0.2.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "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-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 834ee5fa0a07ad6be352b1f0ba4d456008ca632707b8c4dfcdb860194e66c01d [INFO] running `Command { std: "docker" "start" "-a" "834ee5fa0a07ad6be352b1f0ba4d456008ca632707b8c4dfcdb860194e66c01d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "834ee5fa0a07ad6be352b1f0ba4d456008ca632707b8c4dfcdb860194e66c01d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834ee5fa0a07ad6be352b1f0ba4d456008ca632707b8c4dfcdb860194e66c01d", kill_on_drop: false }` [INFO] [stdout] 834ee5fa0a07ad6be352b1f0ba4d456008ca632707b8c4dfcdb860194e66c01d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "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" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa657e8061a1aa2ecbd8750962d61ba25ebf2ef384586a6a6c55da55fa2201bb [INFO] running `Command { std: "docker" "start" "-a" "aa657e8061a1aa2ecbd8750962d61ba25ebf2ef384586a6a6c55da55fa2201bb", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling xu 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 - score_provider: &mut ScoreProvider [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 174 - score_provider: &mut ScoreProvider [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 - score_provider: &mut ScoreProvider, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 - pub fn run (&self, population: Population, data: &Data, score_provider: &mut ScoreProvider) -> Population [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 [unoptimized + debuginfo] target(s) in 2.48s [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "aa657e8061a1aa2ecbd8750962d61ba25ebf2ef384586a6a6c55da55fa2201bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa657e8061a1aa2ecbd8750962d61ba25ebf2ef384586a6a6c55da55fa2201bb", kill_on_drop: false }` [INFO] [stdout] aa657e8061a1aa2ecbd8750962d61ba25ebf2ef384586a6a6c55da55fa2201bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "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" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30cbf4599c601b32ab9a7b0dd66513954d75a87ee1829d2aa5862dac88a56809 [INFO] running `Command { std: "docker" "start" "-a" "30cbf4599c601b32ab9a7b0dd66513954d75a87ee1829d2aa5862dac88a56809", kill_on_drop: false }` [INFO] [stderr] Compiling xu 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 - score_provider: &mut ScoreProvider [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 174 - score_provider: &mut ScoreProvider [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 - score_provider: &mut ScoreProvider, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 - pub fn run (&self, population: Population, data: &Data, score_provider: &mut ScoreProvider) -> Population [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] [stdout] warning: 5 warnings emitted [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 - score_provider: &mut ScoreProvider [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 174 - score_provider: &mut ScoreProvider [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 230 - score_provider: &mut ScoreProvider, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 - pub fn run (&self, population: Population, data: &Data, score_provider: &mut ScoreProvider) -> Population [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] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.42s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/xu-695e74aaa51ae12a) [INFO] running `Command { std: "docker" "inspect" "30cbf4599c601b32ab9a7b0dd66513954d75a87ee1829d2aa5862dac88a56809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30cbf4599c601b32ab9a7b0dd66513954d75a87ee1829d2aa5862dac88a56809", kill_on_drop: false }` [INFO] [stdout] 30cbf4599c601b32ab9a7b0dd66513954d75a87ee1829d2aa5862dac88a56809 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "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" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee338c7130831f7e840b9f22578504bf49000a462c95439709cf86d28b656a2f [INFO] running `Command { std: "docker" "start" "-a" "ee338c7130831f7e840b9f22578504bf49000a462c95439709cf86d28b656a2f", kill_on_drop: false }` [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 152 - score_provider: &mut ScoreProvider [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 174 - score_provider: &mut ScoreProvider [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 230 - score_provider: &mut ScoreProvider, [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 138 - pub fn run (&self, population: Population, data: &Data, score_provider: &mut ScoreProvider) -> Population [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: `xu` (lib) generated 5 warnings [INFO] [stderr] warning: `xu` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xu-695e74aaa51ae12a) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test agent::tests::crossover_parents ... ok [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] test agent::tests::crossover_some_genes_same_length_other ... ok [INFO] [stdout] test agent::tests::new_no_genes ... ok [INFO] [stdout] test agent::tests::mutate ... ok [INFO] [stdout] test evolution::tests::run_iterations_nothing_to_do ... ok [INFO] [stdout] test agent::tests::crossover_some_genes_longer_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 agent::tests::new_with_genes ... ok [INFO] [stdout] test operations::tests::rate_to_number_minimum_preference_greater_than_proportion ... 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 agent::tests::crossover_some_genes_shorter_other ... ok [INFO] [stdout] test operations::tests::rate_to_number_rounds_down ... ok [INFO] [stdout] test operations::tests::rate_to_number_standard_proportion ... ok [INFO] [stdout] test population::tests::new_empty ... ok [INFO] [stdout] test population::tests::cull_all_below ... 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 population::tests::new_with_false_unique ... 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 'assertion failed: `(left == right)` [INFO] [stdout] left: `2`, [INFO] [stdout] right: `1`', src/operations.rs:391:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55682d8ad1dd - std::backtrace_rs::backtrace::libunwind::trace::h78ac1a8162560622 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55682d8ad1dd - std::backtrace_rs::backtrace::trace_unsynchronized::h524b37108170e058 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55682d8ad1dd - std::sys_common::backtrace::_print_fmt::h6fc64e306477b488 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55682d8ad1dd - ::fmt::hebf1189a5210d658 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55682d8cfa8c - core::fmt::write::h2ee1c47f226b9713 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55682d8a9cd1 - std::io::Write::write_fmt::hfdd07f3252777e56 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x55682d8aecb5 - std::sys_common::backtrace::_print::h4cf4c3a5df78aa1b [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55682d8aecb5 - std::sys_common::backtrace::print::h563fffe6d3b49d9c [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55682d8aecb5 - std::panicking::default_hook::{{closure}}::h011bf968a019e6ec [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55682d8ae960 - std::panicking::default_hook::hc87bc2048234ee21 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55682d8af288 - std::panicking::rust_panic_with_hook::h51069032b7e7ea9f [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55682d8af137 - std::panicking::begin_panic_handler::{{closure}}::hd6f7b981150e82ee [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55682d8ad694 - std::sys_common::backtrace::__rust_end_short_backtrace::h4e1327824e6ec426 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55682d8aee69 - rust_begin_unwind [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55682d7dd733 - core::panicking::panic_fmt::hab126d972b27847d [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x55682d8ce658 - core::panicking::assert_failed_inner::h71301b10df9a77b2 [INFO] [stdout] 16: 0x55682d88343a - core::panicking::assert_failed::h707559809db3d048 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/panicking.rs:181:5 [INFO] [stdout] 17: 0x55682d824085 - xu::operations::tests::selection_random_any_returns_correct_proportion::h388dedaf3dc6e7d1 [INFO] [stdout] at /opt/rustwide/workdir/src/operations.rs:391:9 [INFO] [stdout] 18: 0x55682d823e9a - xu::operations::tests::selection_random_any_returns_correct_proportion::{{closure}}::hc486141b47c41f08 [INFO] [stdout] at /opt/rustwide/workdir/src/operations.rs:385:5 [INFO] [stdout] 19: 0x55682d8048ae - core::ops::function::FnOnce::call_once::h3b78a685cf5e7786 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 20: 0x55682d85cdc3 - core::ops::function::FnOnce::call_once::hb5269c40ea602927 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 21: 0x55682d85cdc3 - test::__rust_begin_short_backtrace::h39a42cc37c7f7ed5 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/test/src/lib.rs:573:5 [INFO] [stdout] 22: 0x55682d85bb7a - as core::ops::function::FnOnce>::call_once::h00241665904b35f8 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 23: 0x55682d85bb7a - as core::ops::function::FnOnce<()>>::call_once::he7accf8d0443853e [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55682d85bb7a - std::panicking::try::do_call::h8cda4fd0453ea304 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55682d85bb7a - std::panicking::try::heb9894546bccbe80 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55682d85bb7a - std::panic::catch_unwind::hfbd25fb469936dab [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55682d85bb7a - test::run_test_in_process::hcffcac4908c29650 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/test/src/lib.rs:596:18 [INFO] [stdout] 28: 0x55682d85bb7a - test::run_test::run_test_inner::{{closure}}::hdd8d05d3b7659acd [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/test/src/lib.rs:490:39 [INFO] [stdout] 29: 0x55682d827e3d - test::run_test::run_test_inner::{{closure}}::h1b7cafce81b35e92 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/test/src/lib.rs:517:37 [INFO] [stdout] 30: 0x55682d827e3d - std::sys_common::backtrace::__rust_begin_short_backtrace::h08b4f3108673434a [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55682d82d878 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hd589e3bca91eca1f [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55682d82d878 - as core::ops::function::FnOnce<()>>::call_once::h1d80af9fe40fb31c [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55682d82d878 - std::panicking::try::do_call::hf7eabf04235f3bb3 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55682d82d878 - std::panicking::try::h4bdb1612b5a13d83 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55682d82d878 - std::panic::catch_unwind::h62e1449b19ecdfe5 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55682d82d878 - std::thread::Builder::spawn_unchecked_::{{closure}}::h10c97d98a69723ec [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55682d82d878 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0dc62d4cd77dd031 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 38: 0x55682d8b3bd3 - as core::ops::function::FnOnce>::call_once::h94b91777dd72cf4b [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 39: 0x55682d8b3bd3 - as core::ops::function::FnOnce>::call_once::hc38439f882108053 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 40: 0x55682d8b3bd3 - std::sys::unix::thread::Thread::new::thread_start::haa68127701babb00 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f7fe6015609 - start_thread [INFO] [stdout] 42: 0x7f7fe5de5163 - clone [INFO] [stdout] 43: 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] running `Command { std: "docker" "inspect" "ee338c7130831f7e840b9f22578504bf49000a462c95439709cf86d28b656a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee338c7130831f7e840b9f22578504bf49000a462c95439709cf86d28b656a2f", kill_on_drop: false }` [INFO] [stdout] ee338c7130831f7e840b9f22578504bf49000a462c95439709cf86d28b656a2f