[INFO] cloning repository https://github.com/letterbeezps/rustlearn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/letterbeezps/rustlearn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletterbeezps%2Frustlearn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletterbeezps%2Frustlearn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5174d8af34a69e597c8e6dbccc6436cdacf3602c [INFO] testing letterbeezps/rustlearn against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletterbeezps%2Frustlearn" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/letterbeezps/rustlearn [INFO] finished tweaking git repo https://github.com/letterbeezps/rustlearn [INFO] tweaked toml for git repo https://github.com/letterbeezps/rustlearn written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/letterbeezps/rustlearn on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/letterbeezps/rustlearn 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59fd65f035a744002a80dc96167a97c5203b13ea5421cb841f1825eb15287539 [INFO] running `Command { std: "docker" "start" "-a" "59fd65f035a744002a80dc96167a97c5203b13ea5421cb841f1825eb15287539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59fd65f035a744002a80dc96167a97c5203b13ea5421cb841f1825eb15287539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59fd65f035a744002a80dc96167a97c5203b13ea5421cb841f1825eb15287539", kill_on_drop: false }` [INFO] [stdout] 59fd65f035a744002a80dc96167a97c5203b13ea5421cb841f1825eb15287539 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6f1a86e3521562c549bf7b320be560574350ef63f14cccb9457b4fc92d7b9c6 [INFO] running `Command { std: "docker" "start" "-a" "f6f1a86e3521562c549bf7b320be560574350ef63f14cccb9457b4fc92d7b9c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling rustlearn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/leetcode/leetcode150stage2.rs:1201:5 [INFO] [stdout] | [INFO] [stdout] 1198 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stdout] | -------------------------------------------------------------------------------- move the `impl` block outside of this function `merge_k_lists` [INFO] [stdout] ... [INFO] [stdout] 1201 | impl PartialOrd for ListNode { [INFO] [stdout] | ^^^^^----------^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `ListNode` is not local [INFO] [stdout] | `PartialOrd` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/leetcode/leetcode150stage2.rs:1207:5 [INFO] [stdout] | [INFO] [stdout] 1198 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stdout] | -------------------------------------------------------------------------------- move the `impl` block outside of this function `merge_k_lists` [INFO] [stdout] ... [INFO] [stdout] 1207 | impl Ord for ListNode { [INFO] [stdout] | ^^^^^---^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `ListNode` is not local [INFO] [stdout] | `Ord` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.65s [INFO] running `Command { std: "docker" "inspect" "f6f1a86e3521562c549bf7b320be560574350ef63f14cccb9457b4fc92d7b9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f1a86e3521562c549bf7b320be560574350ef63f14cccb9457b4fc92d7b9c6", kill_on_drop: false }` [INFO] [stdout] f6f1a86e3521562c549bf7b320be560574350ef63f14cccb9457b4fc92d7b9c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa78fd0ced4a5a8770e7567b631471f3406e4ba8caa1ac4b0798239d84d46063 [INFO] running `Command { std: "docker" "start" "-a" "fa78fd0ced4a5a8770e7567b631471f3406e4ba8caa1ac4b0798239d84d46063", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/leetcode/leetcode150stage2.rs:1201:5 [INFO] [stdout] | [INFO] [stdout] 1198 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stdout] | -------------------------------------------------------------------------------- move the `impl` block outside of this function `merge_k_lists` [INFO] [stdout] ... [INFO] [stdout] 1201 | impl PartialOrd for ListNode { [INFO] [stdout] | ^^^^^----------^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `ListNode` is not local [INFO] [stdout] | `PartialOrd` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/leetcode/leetcode150stage2.rs:1207:5 [INFO] [stdout] | [INFO] [stdout] 1198 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stdout] | -------------------------------------------------------------------------------- move the `impl` block outside of this function `merge_k_lists` [INFO] [stdout] ... [INFO] [stdout] 1207 | impl Ord for ListNode { [INFO] [stdout] | ^^^^^---^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `ListNode` is not local [INFO] [stdout] | `Ord` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustlearn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/leetcode/leetcode150stage2.rs:1201:5 [INFO] [stdout] | [INFO] [stdout] 1198 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stdout] | -------------------------------------------------------------------------------- move the `impl` block outside of this function `merge_k_lists` [INFO] [stdout] ... [INFO] [stdout] 1201 | impl PartialOrd for ListNode { [INFO] [stdout] | ^^^^^----------^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `ListNode` is not local [INFO] [stdout] | `PartialOrd` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/leetcode/leetcode150stage2.rs:1207:5 [INFO] [stdout] | [INFO] [stdout] 1198 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stdout] | -------------------------------------------------------------------------------- move the `impl` block outside of this function `merge_k_lists` [INFO] [stdout] ... [INFO] [stdout] 1207 | impl Ord for ListNode { [INFO] [stdout] | ^^^^^---^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | `ListNode` is not local [INFO] [stdout] | `Ord` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "fa78fd0ced4a5a8770e7567b631471f3406e4ba8caa1ac4b0798239d84d46063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa78fd0ced4a5a8770e7567b631471f3406e4ba8caa1ac4b0798239d84d46063", kill_on_drop: false }` [INFO] [stdout] fa78fd0ced4a5a8770e7567b631471f3406e4ba8caa1ac4b0798239d84d46063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0e6e08a8e8563a4649e67e365a15a359d9611cb8283912c1a1f4c910dc67e02 [INFO] running `Command { std: "docker" "start" "-a" "b0e6e08a8e8563a4649e67e365a15a359d9611cb8283912c1a1f4c910dc67e02", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/leetcode/leetcode150stage2.rs:1201:5 [INFO] [stderr] | [INFO] [stderr] 1198 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stderr] | -------------------------------------------------------------------------------- move the `impl` block outside of this function `merge_k_lists` [INFO] [stderr] ... [INFO] [stderr] 1201 | impl PartialOrd for ListNode { [INFO] [stderr] | ^^^^^----------^^^^^-------- [INFO] [stderr] | | | [INFO] [stderr] | | `ListNode` is not local [INFO] [stderr] | `PartialOrd` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/leetcode/leetcode150stage2.rs:1207:5 [INFO] [stderr] | [INFO] [stderr] 1198 | pub fn merge_k_lists(lists: Vec>>) -> Option> { [INFO] [stderr] | -------------------------------------------------------------------------------- move the `impl` block outside of this function `merge_k_lists` [INFO] [stderr] ... [INFO] [stderr] 1207 | impl Ord for ListNode { [INFO] [stderr] | ^^^^^---^^^^^-------- [INFO] [stderr] | | | [INFO] [stderr] | | `ListNode` is not local [INFO] [stderr] | `Ord` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] [INFO] [stderr] warning: `rustlearn` (lib) generated 2 warnings [INFO] [stderr] warning: `rustlearn` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustlearn-06f548653631f2e9) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test container::radix_tree::test_common_prefix ... ok [INFO] [stdout] test smart_pointer::rc::test::test_list_with_box ... ok [INFO] [stdout] test smart_pointer::refcell1::test::test_list_rc_refcell ... ok [INFO] [stdout] test onefile::enumjson::test::test_enum ... ok [INFO] [stdout] test smart_pointer::cycle_reverence::test::test_lru ... ok [INFO] [stderr] [INFO] [stderr] thread 'leetcode::leetcode150stage1::test::test_lru' (18) has overflowed its stack [INFO] [stderr] fatal runtime error: stack overflow, aborting [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/rustlearn-06f548653631f2e9` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "b0e6e08a8e8563a4649e67e365a15a359d9611cb8283912c1a1f4c910dc67e02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0e6e08a8e8563a4649e67e365a15a359d9611cb8283912c1a1f4c910dc67e02", kill_on_drop: false }` [INFO] [stdout] b0e6e08a8e8563a4649e67e365a15a359d9611cb8283912c1a1f4c910dc67e02