[INFO] fetching crate genetic-rs 1.4.1... [INFO] testing genetic-rs-1.4.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate genetic-rs 1.4.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate genetic-rs 1.4.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate genetic-rs 1.4.1 [INFO] tweaked toml for crates.io crate genetic-rs 1.4.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate genetic-rs 1.4.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate genetic-rs 1.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e92c08b6d77e112b89e7a926e65611fae0b400364247dbf78788894af101085 [INFO] running `Command { std: "docker" "start" "-a" "6e92c08b6d77e112b89e7a926e65611fae0b400364247dbf78788894af101085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e92c08b6d77e112b89e7a926e65611fae0b400364247dbf78788894af101085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e92c08b6d77e112b89e7a926e65611fae0b400364247dbf78788894af101085", kill_on_drop: false }` [INFO] [stdout] 6e92c08b6d77e112b89e7a926e65611fae0b400364247dbf78788894af101085 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fba98b8ece30e01cf2407f751dd652a59c7f85768aa50cbda2cdb8102cb75a59 [INFO] running `Command { std: "docker" "start" "-a" "fba98b8ece30e01cf2407f751dd652a59c7f85768aa50cbda2cdb8102cb75a59", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling genetic-rs-common v1.4.1 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling genetic-rs-macros v1.4.1 [INFO] [stderr] Compiling genetic-rs v1.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.94s [INFO] running `Command { std: "docker" "inspect" "fba98b8ece30e01cf2407f751dd652a59c7f85768aa50cbda2cdb8102cb75a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fba98b8ece30e01cf2407f751dd652a59c7f85768aa50cbda2cdb8102cb75a59", kill_on_drop: false }` [INFO] [stdout] fba98b8ece30e01cf2407f751dd652a59c7f85768aa50cbda2cdb8102cb75a59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f43a25fefb9b3eee99efce540d7ea4c910778228d1b5e73b21c64f7061fe147 [INFO] running `Command { std: "docker" "start" "-a" "1f43a25fefb9b3eee99efce540d7ea4c910778228d1b5e73b21c64f7061fe147", kill_on_drop: false }` [INFO] [stderr] Compiling genetic-rs v1.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.52s [INFO] running `Command { std: "docker" "inspect" "1f43a25fefb9b3eee99efce540d7ea4c910778228d1b5e73b21c64f7061fe147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f43a25fefb9b3eee99efce540d7ea4c910778228d1b5e73b21c64f7061fe147", kill_on_drop: false }` [INFO] [stdout] 1f43a25fefb9b3eee99efce540d7ea4c910778228d1b5e73b21c64f7061fe147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2cd77a4ae5907d1dfbd380aa47730e0f0e23140ce96f4d30e467655506b0c397 [INFO] running `Command { std: "docker" "start" "-a" "2cd77a4ae5907d1dfbd380aa47730e0f0e23140ce96f4d30e467655506b0c397", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test layered_observer_clone ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/genetic_rs-ca3fe8de13096ee1) [INFO] [stderr] Running tests/eliminator.rs (/opt/rustwide/target/debug/deps/eliminator-c9ddbd9a89fb6c97) [INFO] [stdout] test layered_observer_debug ... ok [INFO] [stdout] test layered_observer_default ... ok [INFO] [stdout] test layered_observer_calls_both ... ok [INFO] [stdout] test layered_observer_triple_layer ... ok [INFO] [stdout] test layered_observer_partial_eq_not_equal ... ok [INFO] [stdout] test layered_observer_partial_eq ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stderr] Running tests/knockout.rs (/opt/rustwide/target/debug/deps/knockout-508b4cae7d75ffa4) [INFO] [stdout] test knockout_action_if_odd_delete_single ... ok [INFO] [stdout] test fitness_knockout_fn_delegates_to_fitness_fn ... ok [INFO] [stdout] test knockout_action_if_odd_keep_single ... ok [INFO] [stdout] test knockout_correct_genome_survives ... ok [INFO] [stdout] test knockout_single_genome_returns_unchanged ... ok [INFO] [stdout] test knockout_output_half_size_even_input ... ok [INFO] [stdout] test knockout_winner_from_ordering ... ok [INFO] [stdout] test knockout_winner_into_usize ... ok [INFO] [stdout] test knockout_winner_not_impl ... ok [INFO] [stdout] test knockout_action_if_odd_panic_panics - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/repopulator.rs (/opt/rustwide/target/debug/deps/repopulator-41cf1e29bfddda86) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test crossover_child_is_average_of_parents ... ok [INFO] [stdout] test crossover_repopulator_fills_to_target ... ok [INFO] [stdout] test from_parent_creates_correct_count ... ok [INFO] [stdout] test mitosis_repopulator_fills_to_target ... ok [INFO] [stdout] test mitosis_repopulator_no_op_when_at_target ... ok [INFO] [stdout] test mitosis_zero_mutation_rate_produces_clone ... ok [INFO] [stdout] test population_size_constant_with_crossover_sim ... ok [INFO] [stdout] test crossover_repopulator_no_op_when_at_target ... ok [INFO] [stdout] test from_parent_includes_original_parent ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/simulation.rs (/opt/rustwide/target/debug/deps/simulation-1f1cb9d8cae65e23) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test fitness_eliminator_builder ... ok [INFO] [stdout] test fitness_eliminator_highest_fitness_always_survives ... ok [INFO] [stdout] test fitness_eliminator_custom_threshold ... ok [INFO] [stdout] test fitness_eliminator_keeps_top_by_fitness ... ok [INFO] [stdout] test fitness_eliminator_sorts_descending ... ok [INFO] [stdout] test observer_called_once_per_generation ... ok [INFO] [stdout] test population_size_preserved_after_next_generation ... ok [INFO] [stdout] test gen_random_collection_produces_correct_size ... ok [INFO] [stdout] test fitness_eliminator_lowest_fitness_never_survives ... ok [INFO] [stdout] test fitness_eliminator_invalid_threshold_panics - should panic ... ok [INFO] [stdout] test population_size_preserved_over_many_generations ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Running tests/speciation.rs (/opt/rustwide/target/debug/deps/speciation-7e4e5d80012aa3ad) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test different_class_genomes_in_different_species ... ok [INFO] [stdout] test identical_genomes_in_same_species ... ok [INFO] [stdout] test insert_genome_creates_new_species_for_novel_genome ... ok [INFO] [stdout] test high_threshold_groups_all_genomes ... ok [INFO] [stdout] test insert_genome_joins_existing_species_for_similar_genome ... ok [INFO] [stdout] test observer_receives_fitness_sorted_by_raw_descending ... ok [INFO] [stdout] test round_robin_covers_all_genomes ... ok [INFO] [stdout] test observer_receives_pre_division_fitness ... ok [INFO] [stdout] test round_robin_enumerate_species_index_is_valid ... ok [INFO] [stdout] test every_genome_index_appears_exactly_once ... ok [INFO] [stdout] test speciated_sim_population_size_preserved ... ok [INFO] [stdout] test speciation_protects_rare_species ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests genetic_rs [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 25) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 25) stdout ---- [INFO] [stdout] error: cannot find derive macro `Mitosis` in this scope [INFO] [stdout] --> src/lib.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Clone, Debug, Mitosis)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mitosis` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use genetic_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 27 + use genetic_rs_macros::Mitosis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `mitosis` in this scope [INFO] [stdout] --> src/lib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[mitosis(use_randmut = true)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyGenome: genetic_rs::prelude::Mitosis` is not satisfied [INFO] [stdout] --> src/lib.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let mut sim = GeneticSim::new( [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `genetic_rs::prelude::Mitosis` is not implemented for `MyGenome` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct MyGenome { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `genetic_rs::prelude::Mitosis` is implemented for `Vec` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genetic-rs-common-1.4.1/src/builtin/repopulator.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl Mitosis for Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `genetic_rs::prelude::MitosisRepopulator` to implement `Repopulator` [INFO] [stdout] = note: required for `genetic_rs::prelude::MitosisRepopulator` to implement `genetic_rs::FeatureBoundedRepopulator` [INFO] [stdout] note: required by a bound in `genetic_rs::GeneticSim` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genetic-rs-common-1.4.1/src/lib.rs:72:68 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct GeneticSim, R: FeatureBoundedRepopulator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `GeneticSim` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyGenome: genetic_rs::prelude::Mitosis` is not satisfied [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | MitosisRepopulator::new(0.25, ()), // 25% mutation rate, empty context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `genetic_rs::prelude::Mitosis` is not implemented for `MyGenome` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct MyGenome { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `genetic_rs::prelude::Mitosis` is implemented for `Vec` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genetic-rs-common-1.4.1/src/builtin/repopulator.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl Mitosis for Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `genetic_rs::prelude::MitosisRepopulator` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genetic-rs-common-1.4.1/src/builtin/repopulator.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct MitosisRepopulator { [INFO] [stdout] | ^^^^^^^ required by this bound in `MitosisRepopulator` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyGenome: genetic_rs::prelude::Mitosis` is not satisfied [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | MitosisRepopulator::new(0.25, ()), // 25% mutation rate, empty context [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `genetic_rs::prelude::Mitosis` is not implemented for `MyGenome` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct MyGenome { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `genetic_rs::prelude::Mitosis` is implemented for `Vec` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genetic-rs-common-1.4.1/src/builtin/repopulator.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl Mitosis for Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `genetic_rs::prelude::MitosisRepopulator::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genetic-rs-common-1.4.1/src/builtin/repopulator.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl MitosisRepopulator { [INFO] [stdout] | ^^^^^^^ required by this bound in `MitosisRepopulator::::new` [INFO] [stdout] 59 | /// Creates a new [`MitosisRepopulator`]. [INFO] [stdout] 60 | pub fn new(mutation_rate: f32, ctx: G::Context) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyGenome: genetic_rs::prelude::Mitosis` is not satisfied [INFO] [stdout] --> src/lib.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let mut sim = GeneticSim::new( [INFO] [stdout] | ___________________^ [INFO] [stdout] ... | [INFO] [stdout] 66 | | MitosisRepopulator::new(0.25, ()), // 25% mutation rate, empty context [INFO] [stdout] 67 | | ); [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `genetic_rs::prelude::Mitosis` is not implemented for `MyGenome` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct MyGenome { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `genetic_rs::prelude::Mitosis` is implemented for `Vec` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genetic-rs-common-1.4.1/src/builtin/repopulator.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl Mitosis for Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `genetic_rs::prelude::MitosisRepopulator` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genetic-rs-common-1.4.1/src/builtin/repopulator.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct MitosisRepopulator { [INFO] [stdout] | ^^^^^^^ required by this bound in `MitosisRepopulator` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `perform_generations` exists for struct `GeneticSim, ...>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 32 | struct MyGenome { [INFO] [stdout] | --------------- doesn't satisfy `MyGenome: genetic_rs::prelude::Mitosis` [INFO] [stdout] ... [INFO] [stdout] 70 | sim.perform_generations(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genetic-rs-common-1.4.1/src/builtin/repopulator.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct MitosisRepopulator { [INFO] [stdout] | ----------------------------------------- doesn't satisfy `_: FeatureBoundedRepopulator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyGenome: genetic_rs::prelude::Mitosis` [INFO] [stdout] which is required by `genetic_rs::prelude::MitosisRepopulator: genetic_rs::FeatureBoundedRepopulator` [INFO] [stdout] note: the trait `genetic_rs::prelude::Mitosis` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genetic-rs-common-1.4.1/src/builtin/repopulator.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Mitosis: Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestaNKDd6/rust_out.long-type-15549117545181222118.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyGenome: genetic_rs::prelude::Mitosis` is not satisfied [INFO] [stdout] --> src/lib.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | MitosisRepopulator::new(0.25, ()), // 25% mutation rate, empty context [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `genetic_rs::prelude::Mitosis` is not implemented for `MyGenome` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct MyGenome { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `genetic_rs::prelude::Mitosis` is implemented for `Vec` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/genetic-rs-common-1.4.1/src/builtin/repopulator.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl Mitosis for Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 25) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2cd77a4ae5907d1dfbd380aa47730e0f0e23140ce96f4d30e467655506b0c397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd77a4ae5907d1dfbd380aa47730e0f0e23140ce96f4d30e467655506b0c397", kill_on_drop: false }` [INFO] [stdout] 2cd77a4ae5907d1dfbd380aa47730e0f0e23140ce96f4d30e467655506b0c397