[INFO] updating cached repository https://github.com/tuzz/supermutation [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] eafbd87c5cb2e3c1926035910f6f21323a976f03 [INFO] testing tuzz/supermutation against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuzz%2Fsupermutation" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tuzz/supermutation on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/tuzz/supermutation [INFO] finished tweaking git repo https://github.com/tuzz/supermutation [INFO] tweaked toml for git repo https://github.com/tuzz/supermutation written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/tuzz/supermutation already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0ea6fb4fab480b1d164a7b1b8a9794b8a8863c713bc73f7dd86c3c8f7f3008c9 [INFO] running `"docker" "start" "-a" "0ea6fb4fab480b1d164a7b1b8a9794b8a8863c713bc73f7dd86c3c8f7f3008c9"` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bindgen v0.37.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling bucket_queue v2.0.0 [INFO] [stderr] Compiling lehmer v3.0.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling croaring-sys v0.3.7 [INFO] [stderr] Compiling croaring v0.3.7 [INFO] [stderr] Compiling supermutation v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: method is never used: `len` [INFO] [stderr] --> src/closed_set/mod.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `len` [INFO] [stderr] --> src/open_set/mod.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `maximum_f_cost` [INFO] [stderr] --> src/open_set/mod.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn maximum_f_cost(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `open_set_len` [INFO] [stderr] --> src/search/mod.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn open_set_len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `closed_set_len` [INFO] [stderr] --> src/search/mod.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn closed_set_len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(uniform_paths)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `"docker" "inspect" "0ea6fb4fab480b1d164a7b1b8a9794b8a8863c713bc73f7dd86c3c8f7f3008c9"` [INFO] running `"docker" "rm" "-f" "0ea6fb4fab480b1d164a7b1b8a9794b8a8863c713bc73f7dd86c3c8f7f3008c9"` [INFO] [stdout] 0ea6fb4fab480b1d164a7b1b8a9794b8a8863c713bc73f7dd86c3c8f7f3008c9 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9e4657118561338f0b2e1260b383b495060a8d20d6a73eaf97525d9e67819873 [INFO] running `"docker" "start" "-a" "9e4657118561338f0b2e1260b383b495060a8d20d6a73eaf97525d9e67819873"` [INFO] [stderr] Compiling supermutation v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(uniform_paths)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `"docker" "inspect" "9e4657118561338f0b2e1260b383b495060a8d20d6a73eaf97525d9e67819873"` [INFO] running `"docker" "rm" "-f" "9e4657118561338f0b2e1260b383b495060a8d20d6a73eaf97525d9e67819873"` [INFO] [stdout] 9e4657118561338f0b2e1260b383b495060a8d20d6a73eaf97525d9e67819873 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stdout] 7df8a0263cc8701ce0192ff176e02d9f224437f7fb6524dc66e98c4f58a79f24 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "7df8a0263cc8701ce0192ff176e02d9f224437f7fb6524dc66e98c4f58a79f24"` [INFO] [stderr] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(uniform_paths)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/supermutation-74f871379c0a5251 [INFO] [stdout] [INFO] [stdout] running 62 tests [INFO] [stdout] test candidate::test::maximum_permutations::it_returns_the_factorial_of_the_number_of_symbols ... ok [INFO] [stdout] test candidate::test::ord::it_orders_candidates_with_fewer_bits_first ... ok [INFO] [stdout] test candidate::test::expand::it_adds_a_new_permutation_when_the_zero_symbol_is_expanded ... ok [INFO] [stdout] test candidate::test::seed::it_has_seen_the_first_permutation ... ok [INFO] [stdout] test closed_set::test::len::it_returns_the_number_of_candidates_in_the_closed_set ... ok [INFO] [stdout] test closed_set::test::add::it_adds_a_candidate_to_the_closed_set_with_its_g_cost ... ok [INFO] [stdout] test closed_set::test::contains::it_returns_true_if_the_closed_set_contains_the_candidate ... ok [INFO] [stdout] test candidate::test::expand::it_sets_counter_bits_based_on_the_expanded_symbol ... ok [INFO] [stdout] test candidate::test::number_of_permutations::it_returns_the_number_of_permutations_that_have_been_seen ... ok [INFO] [stdout] test candidate::test::number_of_bits::it_returns_the_number_of_bits_that_are_set_in_the_bitmap ... ok [INFO] [stdout] test candidate::test::expand::it_maps_the_permutation_to_its_canonical_form ... ok [INFO] [stdout] test candidate::test::ord::it_consistently_orders_candidates ... ok [INFO] [stdout] test candidate::test::seed::it_sets_all_the_counter_bits ... ok [INFO] [stdout] test candidate::test::expand::it_adds_removed_counter_bits_based_on_the_expanded_symbol ... ok [INFO] [stdout] test heuristic::test::improve_based_on::it_adds_the_full_shortest_path_distance_for_indexes_below_starting_perms ... ok [INFO] [stdout] test heuristic::test::cost::it_returns_zero_distance_if_already_at_the_goal ... ok [INFO] [stdout] test closed_set::test::contains::it_returns_false_if_it_contains_the_candidate_with_a_higher_g_cost ... ok [INFO] [stdout] test candidate::test::expand::it_incrementally_adds_new_permutations ... ok [INFO] [stdout] test heuristic::test::improve_based_on::it_sets_the_new_lower_bound_to_zero_for_the_next_goal ... ok [INFO] [stdout] test heuristic::test::improve_based_on::it_increases_the_lower_bound_of_the_next_goal_based_on_previous_knowledge ... ok [INFO] [stdout] test heuristic::test::improve_based_on::it_keeps_a_max_depth_of_zero_for_indexes_below_starting_perms ... ok [INFO] [stdout] test heuristic::test::first_goal::it_returns_the_number_of_perms_in_the_first_subgoal ... ok [INFO] [stdout] test heuristic::test::improve_based_on::it_adds_a_new_max_depth_for_the_next_goal ... ok [INFO] [stdout] test heuristic::test::improve_based_on::it_adds_a_new_lower_bound_for_the_next_goal ... ok [INFO] [stdout] test heuristic::test::improve_based_on::it_sets_max_depth_to_the_furthest_distance_from_the_start_for_each_number_of_perms ... ok [INFO] [stdout] test heuristic::test::improve_based_on::it_adds_the_new_distance_to_its_shortest_path_distances ... ok [INFO] [stdout] test heuristic::test::cost::it_returns_the_shortest_distance_for_candidates_off_the_optimal_path ... ok [INFO] [stdout] test heuristic::test::cost::it_returns_the_cumulative_distance_for_candidates_with_less_than_starting_perms ... ok [INFO] [stdout] test heuristic::test::cost::it_returns_the_shortest_distance_for_candidates_on_the_optimal_path ... ok [INFO] [stdout] test heuristic::test::improve_based_on::it_sets_lower_bound_to_the_nearest_distance_to_the_end_for_each_number_of_perms ... ok [INFO] [stdout] test open_set::test::len::it_returns_the_number_of_candidates_in_the_open_set ... ok [INFO] [stdout] test open_set::test::next::when_candidates_have_the_same_f_cost::it_returns_the_candidates_ordered_by_g_cost_descending ... ok [INFO] [stdout] test open_set::test::minimum_f_cost::it_returns_the_minimum_f_cost_in_the_open_set ... ok [INFO] [stdout] test open_set::test::new::it_builds_an_empty_open_set ... ok [INFO] [stdout] test heuristic::test::seed::it_sets_starting_perms_from_the_seed_candidate ... ok [INFO] [stdout] test open_set::test::add::it_adds_the_candidate_and_sets_their_g_cost ... ok [INFO] [stdout] test heuristic::test::seed::it_sets_lower_bounds_to_descending_distances ... ok [INFO] [stdout] test heuristic::test::seed::it_sets_the_length_of_lower_bounds_so_that_the_next_goal_can_be_used_as_an_index ... ok [INFO] [stdout] test heuristic::test::next_goal::it_returns_the_number_of_perms_in_the_next_subgoal ... ok [INFO] [stdout] test heuristic::test::seed::it_sets_max_depth_elements_to_zero ... ok [INFO] [stdout] test interface::test::ask_for_symbols::it_returns_five_symbols_in_the_test_environment ... ok [INFO] [stdout] test open_set::test::add::it_adds_the_candidate_and_sets_their_f_cost ... ok [INFO] [stdout] test open_set::test::maximum_f_cost::it_returns_the_maximum_f_cost_in_the_open_set ... ok [INFO] [stdout] test search::test::closed_set_len::it_returns_the_number_of_candidates_in_the_closed_set ... ok [INFO] [stdout] test heuristic::test::improve_based_on::it_sets_the_new_max_depth_to_zero_for_the_next_goal ... ok [INFO] [stdout] test heuristic::test::seed::it_sets_the_length_of_max_depth_so_that_the_next_goal_can_be_used_as_an_index ... ok [INFO] [stdout] test open_set::test::next::it_returns_the_candidates_ordered_by_f_cost_ascending ... ok [INFO] [stdout] test search::test::shortest_path::it_reuses_the_open_and_closed_sets_in_between_searches ... ok [INFO] [stdout] test search::test::shortest_path::it_calculates_the_correct_costs_for_the_expanded_candidates ... ok [INFO] [stdout] test search::test::update_heuristic::it_appends_buckets ... ok [INFO] [stdout] test utility::test::factorial::it_calculates_the_factorial_of_a_number ... ok [INFO] [stdout] test search::test::seed::it_adds_the_candidate_to_the_open_set ... ok [INFO] [stdout] test search::test::open_set_len::it_returns_the_number_of_candidates_in_the_open_set ... ok [INFO] [stdout] test symmetry::test::counter_mappings::it_returns_mappings_to_update_the_counter_bits_at_the_end_of_the_bitmap ... ok [INFO] [stdout] test symmetry::test::transpositions::it_returns_the_transposed_permutations_for_all_possible_string_expansions ... ok [INFO] [stdout] test symmetry::test::permutation_mappings::it_returns_the_index_mappings_to_transpose_each_permutation ... ok [INFO] [stdout] test symmetry::test::mapping::it_chooses_the_mapping_resulting_in_the_bitset_with_leftmost_bits_set ... ok [INFO] [stdout] test search::test::update_heuristic::it_recalculates_the_open_set_costs ... ok [INFO] [stdout] test search::test::update_heuristic::it_sets_the_new_heuristic_for_the_search ... ok [INFO] [stdout] test search::test::update_heuristic::it_does_not_change_the_g_costs_for_nested_buckets ... ok [INFO] [stdout] test search::test::shortest_path::it_finds_the_length_of_the_shortest_path_to_the_goal_number_of_permutations ... ok [INFO] [stdout] test search::test::update_heuristic::it_does_not_reorder_candidates_in_buckets_with_the_same_g_cost ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 62 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "7df8a0263cc8701ce0192ff176e02d9f224437f7fb6524dc66e98c4f58a79f24"` [INFO] running `"docker" "rm" "-f" "7df8a0263cc8701ce0192ff176e02d9f224437f7fb6524dc66e98c4f58a79f24"` [INFO] [stdout] 7df8a0263cc8701ce0192ff176e02d9f224437f7fb6524dc66e98c4f58a79f24