[INFO] cloning repository https://github.com/fdegmecic/CrackingTheCodingInterviewRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fdegmecic/CrackingTheCodingInterviewRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffdegmecic%2FCrackingTheCodingInterviewRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffdegmecic%2FCrackingTheCodingInterviewRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1dd6be8cd13dbb4b03d49e55021871c46ef8c15a [INFO] testing fdegmecic/CrackingTheCodingInterviewRust against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffdegmecic%2FCrackingTheCodingInterviewRust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fdegmecic/CrackingTheCodingInterviewRust on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fdegmecic/CrackingTheCodingInterviewRust [INFO] finished tweaking git repo https://github.com/fdegmecic/CrackingTheCodingInterviewRust [INFO] tweaked toml for git repo https://github.com/fdegmecic/CrackingTheCodingInterviewRust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fdegmecic/CrackingTheCodingInterviewRust 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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9cb57190de5df6ee27c543634af37300cf56b96d02f72fe0157820e5d5b68b1 [INFO] running `Command { std: "docker" "start" "-a" "e9cb57190de5df6ee27c543634af37300cf56b96d02f72fe0157820e5d5b68b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9cb57190de5df6ee27c543634af37300cf56b96d02f72fe0157820e5d5b68b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9cb57190de5df6ee27c543634af37300cf56b96d02f72fe0157820e5d5b68b1", kill_on_drop: false }` [INFO] [stdout] e9cb57190de5df6ee27c543634af37300cf56b96d02f72fe0157820e5d5b68b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc66f0a27792ca72ba44068a3199d05bc0faf0968b32ccb5fc9a78038b1d9c09 [INFO] running `Command { std: "docker" "start" "-a" "cc66f0a27792ca72ba44068a3199d05bc0faf0968b32ccb5fc9a78038b1d9c09", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cracking_the_coding_interview_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chapter4/q9.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | &mut Vec::from(left.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chapter4/q9.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | &mut Vec::from(right.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "cc66f0a27792ca72ba44068a3199d05bc0faf0968b32ccb5fc9a78038b1d9c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc66f0a27792ca72ba44068a3199d05bc0faf0968b32ccb5fc9a78038b1d9c09", kill_on_drop: false }` [INFO] [stdout] cc66f0a27792ca72ba44068a3199d05bc0faf0968b32ccb5fc9a78038b1d9c09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47a57eaa7bbfc724a881ca30319717674302a39dfaee68d15df4dd9332233405 [INFO] running `Command { std: "docker" "start" "-a" "47a57eaa7bbfc724a881ca30319717674302a39dfaee68d15df4dd9332233405", kill_on_drop: false }` [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chapter4/q9.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | &mut Vec::from(left.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chapter4/q9.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | &mut Vec::from(right.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cracking_the_coding_interview_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cell::RefCell`, `rc::Rc` [INFO] [stdout] --> src/chapter4/q6.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | use std::{cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chapter4/q9.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | &mut Vec::from(left.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/chapter4/q9.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | &mut Vec::from(right.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "47a57eaa7bbfc724a881ca30319717674302a39dfaee68d15df4dd9332233405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a57eaa7bbfc724a881ca30319717674302a39dfaee68d15df4dd9332233405", kill_on_drop: false }` [INFO] [stdout] 47a57eaa7bbfc724a881ca30319717674302a39dfaee68d15df4dd9332233405 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1697c53e2ebf574dbc17d3388ee04b4eae8fdd5e671b506b232a7c6b1935cb85 [INFO] running `Command { std: "docker" "start" "-a" "1697c53e2ebf574dbc17d3388ee04b4eae8fdd5e671b506b232a7c6b1935cb85", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/chapter4/q9.rs:46:28 [INFO] [stderr] | [INFO] [stderr] 46 | &mut Vec::from(left.clone()), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/chapter4/q9.rs:47:29 [INFO] [stderr] | [INFO] [stderr] 47 | &mut Vec::from(right.clone()), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: unused imports: `cell::RefCell`, `rc::Rc` [INFO] [stderr] --> src/chapter4/q6.rs:76:15 [INFO] [stderr] | [INFO] [stderr] 76 | use std::{cell::RefCell, rc::Rc}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `cracking_the_coding_interview_rust` (lib) generated 2 warnings (run `cargo fix --lib -p cracking_the_coding_interview_rust` to apply 2 suggestions) [INFO] [stderr] warning: `cracking_the_coding_interview_rust` (lib test) generated 3 warnings (2 duplicates) (run `cargo fix --lib -p cracking_the_coding_interview_rust --tests` to apply 1 suggestion) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cracking_the_coding_interview_rust-db945bf155835600) [INFO] [stdout] running 43 tests [INFO] [stdout] test chapter1::q1::tests::should_be_unqiue ... ok [INFO] [stdout] test chapter1::q1::tests::should_not_be_unqiue ... ok [INFO] [stdout] test chapter1::q3::tests::should_urlify ... ok [INFO] [stdout] test chapter1::q5::test::should_be_one_away ... ok [INFO] [stdout] test chapter1::q7::tests::should_rotate ... ok [INFO] [stdout] test chapter1::q5::test::should_not_be_one_away ... ok [INFO] [stdout] test chapter1::q9::tests::should_be_rotation ... ok [INFO] [stdout] test chapter1::q6::tests::should_compress_string ... ok [INFO] [stdout] test chapter1::q2::tests::should_be_permutation ... ok [INFO] [stdout] test chapter1::q4::tests::should_be_palindome_permutation ... ok [INFO] [stdout] test chapter1::q2::tests::should_not_be_permutation ... ok [INFO] [stdout] test chapter2::q2::tests::should_return_kth_to_last ... ok [INFO] [stdout] test chapter2::q6::tests::should_be_palindrome ... ok [INFO] [stdout] test chapter2::q6::tests::should_not_be_palindrome ... ok [INFO] [stdout] test chapter2::q7::tests::should_find_intersetion ... ok [INFO] [stdout] test chapter2::q7::tests::should_not_find_intersetion ... ok [INFO] [stdout] test chapter2::q8::tests::should_find_loop ... ok [INFO] [stdout] test chapter2::q8::tests::should_not_find_loop ... ok [INFO] [stdout] test chapter3::q2::tests::should_return_min ... ok [INFO] [stdout] test chapter3::q3::tests::should_add_stacks ... ok [INFO] [stdout] test chapter3::q4::tests::should_pop_push ... ok [INFO] [stdout] test chapter3::q5::tests::should_sort ... ok [INFO] [stdout] test chapter3::q6::tests::should_shelter ... ok [INFO] [stdout] test chapter4::q10::tests::should_detect_sub_tree ... ok [INFO] [stdout] test chapter1::q4::tests::should_not_be_palindome_permutation ... ok [INFO] [stdout] test chapter2::q3::tests::should_delete_middle_node ... ok [INFO] [stdout] test chapter4::q1::tests::should_find_route ... ok [INFO] [stdout] test chapter4::q2::tests::should_build_tree ... ok [INFO] [stdout] test chapter4::q3::tests::should_list_depths ... ok [INFO] [stdout] test chapter4::q4::tests::should_be_balanced ... ok [INFO] [stdout] test chapter4::q5::tests::should_be_valid_bst ... ok [INFO] [stdout] test chapter4::q5::tests::should_not_be_valid_bst ... ok [INFO] [stdout] test chapter4::q6::tests::should_get_in_order_successor ... ok [INFO] [stdout] test chapter4::q12::tests::should_return_paths_with_sum ... ok [INFO] [stdout] test chapter1::q6::tests::should_not_compress_string ... ok [INFO] [stdout] test chapter4::q11::tests::should_get_random_nodes ... ok [INFO] [stdout] test chapter2::q4::tests::should_partition ... ok [INFO] [stdout] test chapter1::q9::tests::should_not_be_rotation ... ok [INFO] [stdout] test chapter2::q1::tests::should_remove_duplicates ... ok [INFO] [stdout] test chapter4::q9::tests::should_get_all_permutations ... ok [INFO] [stdout] test chapter2::q5::tests::should_sum_lists ... ok [INFO] [stdout] test chapter4::q8::tests::should_find_lca ... ok [INFO] [stdout] test chapter4::q7::tests::should_topological_sort ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- chapter4::q7::tests::should_topological_sort stdout ---- [INFO] [stdout] thread 'chapter4::q7::tests::should_topological_sort' panicked at src/chapter4/q7.rs:154:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "['f', 'c', 'b', 'a', 'e', 'd', 'g']" [INFO] [stdout] right: "['d', 'g', 'f', 'b', 'c', 'a', 'e']" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5567e84456cc - std::backtrace_rs::backtrace::libunwind::trace::h03859d238dbdd93c [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x5567e84456cc - std::backtrace_rs::backtrace::trace_unsynchronized::h2e251246e2581a42 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5567e84456cc - std::sys_common::backtrace::_print_fmt::h5baa2f175792666a [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x5567e84456cc - ::fmt::h00d759009813d8ca [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x5567e846f440 - core::fmt::rt::Argument::fmt::hcd158635f297e549 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x5567e846f440 - core::fmt::write::h9c5087e04fe38018 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x5567e844310f - std::io::Write::write_fmt::h34541c3dfc0362f2 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/io/mod.rs:1810:15 [INFO] [stdout] 7: 0x5567e84454b4 - std::sys_common::backtrace::_print::h25969b404f42f4bb [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x5567e84454b4 - std::sys_common::backtrace::print::h68d3414e8c63fb83 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x5567e84471e7 - std::panicking::default_hook::{{closure}}::hccfef51edabebb9a [INFO] [stdout] 10: 0x5567e8446ed3 - std::panicking::default_hook::hdec7a4759fa427e8 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x5567e83dc927 - as core::ops::function::Fn>::call::h6770dc7dbbc843da [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 12: 0x5567e83dc927 - test::test_main::{{closure}}::h037f0e9a244755ad [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:138:21 [INFO] [stdout] 13: 0x5567e84477f8 - as core::ops::function::Fn>::call::h284e61fdb096ca02 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/alloc/src/boxed.rs:2029:9 [INFO] [stdout] 14: 0x5567e84477f8 - std::panicking::rust_panic_with_hook::h9d502a4da1912fba [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:783:13 [INFO] [stdout] 15: 0x5567e844754e - std::panicking::begin_panic_handler::{{closure}}::h3a68181f2e6a785b [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:657:13 [INFO] [stdout] 16: 0x5567e8445b96 - std::sys_common::backtrace::__rust_end_short_backtrace::hc1d088e8c1328911 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x5567e84472b2 - rust_begin_unwind [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:645:5 [INFO] [stdout] 18: 0x5567e8345235 - core::panicking::panic_fmt::h15511a438b78bb2f [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x5567e834566b - core::panicking::assert_failed_inner::hc4a5497346231c8a [INFO] [stdout] 20: 0x5567e838bbb2 - core::panicking::assert_failed::hc31d1462bb0715b7 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/panicking.rs:297:5 [INFO] [stdout] 21: 0x5567e8388e74 - cracking_the_coding_interview_rust::chapter4::q7::tests::should_topological_sort::h5fdbdfaa96d415bc [INFO] [stdout] at /opt/rustwide/workdir/src/chapter4/q7.rs:154:9 [INFO] [stdout] 22: 0x5567e8388a57 - cracking_the_coding_interview_rust::chapter4::q7::tests::should_topological_sort::{{closure}}::h0b508393a24c0cea [INFO] [stdout] at /opt/rustwide/workdir/src/chapter4/q7.rs:138:33 [INFO] [stdout] 23: 0x5567e8369e36 - core::ops::function::FnOnce::call_once::h8f86248099ea4d3f [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5567e83e201f - core::ops::function::FnOnce::call_once::h0dce7fb8ca7c533f [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5567e83e201f - test::__rust_begin_short_backtrace::h75b023f3061039b8 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:627:18 [INFO] [stdout] 26: 0x5567e83e0f95 - test::run_test_in_process::{{closure}}::hb995e3036449b1d2 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:650:60 [INFO] [stdout] 27: 0x5567e83e0f95 - as core::ops::function::FnOnce<()>>::call_once::h63d3d9d9e7447cac [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5567e83e0f95 - std::panicking::try::do_call::hf358e48b8451abe8 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:552:40 [INFO] [stdout] 29: 0x5567e83e0f95 - std::panicking::try::hdfb727124dd74530 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:516:19 [INFO] [stdout] 30: 0x5567e83e0f95 - std::panic::catch_unwind::h384458a7c85f353a [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x5567e83e0f95 - test::run_test_in_process::h2b217e4014561d06 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:650:27 [INFO] [stdout] 32: 0x5567e83e0f95 - test::run_test::{{closure}}::h2b7f88f2ebf46b48 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:573:43 [INFO] [stdout] 33: 0x5567e83a91d6 - test::run_test::{{closure}}::h320ebf4a972a385e [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/test/src/lib.rs:601:41 [INFO] [stdout] 34: 0x5567e83a91d6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3ed64afcc71df931 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 35: 0x5567e83ae3b7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb4c68cb7b0f88b9d [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 36: 0x5567e83ae3b7 - as core::ops::function::FnOnce<()>>::call_once::h2a26cae7fae50093 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5567e83ae3b7 - std::panicking::try::do_call::h24f674b7fb619491 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:552:40 [INFO] [stdout] 38: 0x5567e83ae3b7 - std::panicking::try::h7f5877eebc0c4325 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panicking.rs:516:19 [INFO] [stdout] 39: 0x5567e83ae3b7 - std::panic::catch_unwind::h91815042a13af893 [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x5567e83ae3b7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h5f5155c83af4a50e [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 41: 0x5567e83ae3b7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5d62a6061c9ba69b [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5567e844c255 - as core::ops::function::FnOnce>::call_once::h861fc3b698de2ffb [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 43: 0x5567e844c255 - as core::ops::function::FnOnce>::call_once::hc66d40344bf1789e [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/alloc/src/boxed.rs:2015:9 [INFO] [stdout] 44: 0x5567e844c255 - std::sys::unix::thread::Thread::new::thread_start::h425b008cdc0113be [INFO] [stdout] at /rustc/ff2c56344c764af598ad33027e9c7a48881808ef/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7fac47f53ac3 - [INFO] [stdout] 46: 0x7fac47fe4bf4 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] chapter4::q7::tests::should_topological_sort [INFO] [stdout] [INFO] [stdout] test result: FAILED. 42 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "1697c53e2ebf574dbc17d3388ee04b4eae8fdd5e671b506b232a7c6b1935cb85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1697c53e2ebf574dbc17d3388ee04b4eae8fdd5e671b506b232a7c6b1935cb85", kill_on_drop: false }` [INFO] [stdout] 1697c53e2ebf574dbc17d3388ee04b4eae8fdd5e671b506b232a7c6b1935cb85