[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#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fletterbeezps%2Frustlearn" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/letterbeezps/rustlearn on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "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-4-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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d64ccca0df8273ea5e0875c1eb32435bd3920942f90c47fd018fc940e841900a [INFO] running `Command { std: "docker" "start" "-a" "d64ccca0df8273ea5e0875c1eb32435bd3920942f90c47fd018fc940e841900a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d64ccca0df8273ea5e0875c1eb32435bd3920942f90c47fd018fc940e841900a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d64ccca0df8273ea5e0875c1eb32435bd3920942f90c47fd018fc940e841900a", kill_on_drop: false }` [INFO] [stdout] d64ccca0df8273ea5e0875c1eb32435bd3920942f90c47fd018fc940e841900a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f0e1ed313930f20731b4653a18230cdd09dad8a1394af0f5a24e82e1476d306 [INFO] running `Command { std: "docker" "start" "-a" "0f0e1ed313930f20731b4653a18230cdd09dad8a1394af0f5a24e82e1476d306", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.11 [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] Compiling quote v1.0.35 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.53 [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 18.52s [INFO] running `Command { std: "docker" "inspect" "0f0e1ed313930f20731b4653a18230cdd09dad8a1394af0f5a24e82e1476d306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f0e1ed313930f20731b4653a18230cdd09dad8a1394af0f5a24e82e1476d306", kill_on_drop: false }` [INFO] [stdout] 0f0e1ed313930f20731b4653a18230cdd09dad8a1394af0f5a24e82e1476d306