[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#fc545c6b951a304df08b327c158f92678582f435 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletterbeezps%2Frustlearn" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/letterbeezps/rustlearn on toolchain fc545c6b951a304df08b327c158f92678582f435 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+fc545c6b951a304df08b327c158f92678582f435" "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] 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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b183c4f9cbdbdfd2672fdc908695dcb3fb962fd12aa2b16b73ef2b50ef89f637 [INFO] running `Command { std: "docker" "start" "-a" "b183c4f9cbdbdfd2672fdc908695dcb3fb962fd12aa2b16b73ef2b50ef89f637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b183c4f9cbdbdfd2672fdc908695dcb3fb962fd12aa2b16b73ef2b50ef89f637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b183c4f9cbdbdfd2672fdc908695dcb3fb962fd12aa2b16b73ef2b50ef89f637", kill_on_drop: false }` [INFO] [stdout] b183c4f9cbdbdfd2672fdc908695dcb3fb962fd12aa2b16b73ef2b50ef89f637 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc4069d57bac824d030d361a9feeada234ba3c74fcd2830d97b84a54d2ac7b22 [INFO] running `Command { std: "docker" "start" "-a" "dc4069d57bac824d030d361a9feeada234ba3c74fcd2830d97b84a54d2ac7b22", 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] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking rand v0.8.5 [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.66s [INFO] running `Command { std: "docker" "inspect" "dc4069d57bac824d030d361a9feeada234ba3c74fcd2830d97b84a54d2ac7b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc4069d57bac824d030d361a9feeada234ba3c74fcd2830d97b84a54d2ac7b22", kill_on_drop: false }` [INFO] [stdout] dc4069d57bac824d030d361a9feeada234ba3c74fcd2830d97b84a54d2ac7b22