[INFO] cloning repository https://github.com/yasyx/hello-algo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yasyx/hello-algo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasyx%2Fhello-algo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasyx%2Fhello-algo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b986f1b178bac731f33201136560c3cc9fb57b79 [INFO] checking yasyx/hello-algo against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasyx%2Fhello-algo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yasyx/hello-algo on toolchain 5fee451ebd94296ea05214e819c311e164b30af6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yasyx/hello-algo [INFO] finished tweaking git repo https://github.com/yasyx/hello-algo [INFO] tweaked toml for git repo https://github.com/yasyx/hello-algo written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yasyx/hello-algo 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a14063fa89a4e6ac66edce55e0b7ad908b6ac3a7830dbfa6307f67aeae27bb4 [INFO] running `Command { std: "docker" "start" "-a" "8a14063fa89a4e6ac66edce55e0b7ad908b6ac3a7830dbfa6307f67aeae27bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a14063fa89a4e6ac66edce55e0b7ad908b6ac3a7830dbfa6307f67aeae27bb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a14063fa89a4e6ac66edce55e0b7ad908b6ac3a7830dbfa6307f67aeae27bb4", kill_on_drop: false }` [INFO] [stdout] 8a14063fa89a4e6ac66edce55e0b7ad908b6ac3a7830dbfa6307f67aeae27bb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a4b571ea742a09c10123493862b07ec138c44b8e33c977113dcc81c6edf052b [INFO] running `Command { std: "docker" "start" "-a" "7a4b571ea742a09c10123493862b07ec138c44b8e33c977113dcc81c6edf052b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking hello-algo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `parent` is never used [INFO] [stdout] --> src/binary_tree.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl ArrayBinaryTree { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn parent(&self, i: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AvlTreeNode` is never constructed [INFO] [stdout] --> src/avl_tree.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct AvlTreeNode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AvlTreeNode` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `OptionTreeNodeRc` is never used [INFO] [stdout] --> src/avl_tree.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type OptionTreeNodeRc = Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/avl_tree.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl AvlTreeNode { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 16 | fn new(val: i32) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn height(node: OptionTreeNodeRc) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn update_height(node: OptionTreeNodeRc) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn balance_factor(node: OptionTreeNodeRc) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn right_rotate(node: OptionTreeNodeRc) -> OptionTreeNodeRc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn left_rotate(node: OptionTreeNodeRc) -> OptionTreeNodeRc { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn rotate(node: OptionTreeNodeRc) -> OptionTreeNodeRc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parent` is never used [INFO] [stdout] --> src/binary_tree.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl ArrayBinaryTree { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn parent(&self, i: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AvlTreeNode` is never constructed [INFO] [stdout] --> src/avl_tree.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct AvlTreeNode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AvlTreeNode` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `OptionTreeNodeRc` is never used [INFO] [stdout] --> src/avl_tree.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type OptionTreeNodeRc = Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/avl_tree.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl AvlTreeNode { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 16 | fn new(val: i32) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn height(node: OptionTreeNodeRc) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn update_height(node: OptionTreeNodeRc) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn balance_factor(node: OptionTreeNodeRc) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn right_rotate(node: OptionTreeNodeRc) -> OptionTreeNodeRc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn left_rotate(node: OptionTreeNodeRc) -> OptionTreeNodeRc { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn rotate(node: OptionTreeNodeRc) -> OptionTreeNodeRc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.68s [INFO] running `Command { std: "docker" "inspect" "7a4b571ea742a09c10123493862b07ec138c44b8e33c977113dcc81c6edf052b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a4b571ea742a09c10123493862b07ec138c44b8e33c977113dcc81c6edf052b", kill_on_drop: false }` [INFO] [stdout] 7a4b571ea742a09c10123493862b07ec138c44b8e33c977113dcc81c6edf052b