[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] checking letterbeezps/rustlearn against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletterbeezps%2Frustlearn" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/letterbeezps/rustlearn on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "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] [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95745d179a2550fdade39e105e89ccbc7d1ab3d24cd9217b481d260ab6927a46 [INFO] running `Command { std: "docker" "start" "-a" "95745d179a2550fdade39e105e89ccbc7d1ab3d24cd9217b481d260ab6927a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95745d179a2550fdade39e105e89ccbc7d1ab3d24cd9217b481d260ab6927a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95745d179a2550fdade39e105e89ccbc7d1ab3d24cd9217b481d260ab6927a46", kill_on_drop: false }` [INFO] [stdout] 95745d179a2550fdade39e105e89ccbc7d1ab3d24cd9217b481d260ab6927a46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c50eae7781884dffe7cb5233faafb895d00b2370bd47435d9258d5b098bcd3f [INFO] running `Command { std: "docker" "start" "-a" "8c50eae7781884dffe7cb5233faafb895d00b2370bd47435d9258d5b098bcd3f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking 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] [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 5.44s [INFO] running `Command { std: "docker" "inspect" "8c50eae7781884dffe7cb5233faafb895d00b2370bd47435d9258d5b098bcd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c50eae7781884dffe7cb5233faafb895d00b2370bd47435d9258d5b098bcd3f", kill_on_drop: false }` [INFO] [stdout] 8c50eae7781884dffe7cb5233faafb895d00b2370bd47435d9258d5b098bcd3f