[INFO] cloning repository https://github.com/GramYang/RustAlgorithms
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GramYang/RustAlgorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGramYang%2FRustAlgorithms", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGramYang%2FRustAlgorithms'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fdb2523637ae313fa418a1c6a9d2b6a7796506d7
[INFO] checking GramYang/RustAlgorithms against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGramYang%2FRustAlgorithms" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/GramYang/RustAlgorithms on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/GramYang/RustAlgorithms
[INFO] finished tweaking git repo https://github.com/GramYang/RustAlgorithms
[INFO] tweaked toml for git repo https://github.com/GramYang/RustAlgorithms written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/GramYang/RustAlgorithms 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 214522ba541ec2bae4bf77a721a757aaa097d6f1171309b552e9d8bd0fe0c027
[INFO] running `Command { std: "docker" "start" "-a" "214522ba541ec2bae4bf77a721a757aaa097d6f1171309b552e9d8bd0fe0c027", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "214522ba541ec2bae4bf77a721a757aaa097d6f1171309b552e9d8bd0fe0c027", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "214522ba541ec2bae4bf77a721a757aaa097d6f1171309b552e9d8bd0fe0c027", kill_on_drop: false }`
[INFO] [stdout] 214522ba541ec2bae4bf77a721a757aaa097d6f1171309b552e9d8bd0fe0c027
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4e6deb8e779d0a77ac1dcfa6c02fd5d6c613e6a20886bd88edd05f66e14708a7
[INFO] running `Command { std: "docker" "start" "-a" "4e6deb8e779d0a77ac1dcfa6c02fd5d6c613e6a20886bd88edd05f66e14708a7", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_algorithms v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `1` is never read
[INFO] [stdout]    --> src/data/heap.rs:110:35
[INFO] [stdout]     |
[INFO] [stdout] 110 | struct Point(/* x */ i32, /* y */ i32);
[INFO] [stdout]     |        ----- field in this struct ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/data/rb_tree.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |             Box::from_raw(node);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 215 |             let _ = Box::from_raw(node);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/data/shared_ptr.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let x = self as *const SharedPtr<T> as *mut SharedPtr<T>;
[INFO] [stdout]     |                     ------------------------------------------------ casting happened here
[INFO] [stdout] 101 |             return &mut *x;
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/data/shared_ptr.rs:252:20
[INFO] [stdout]     |
[INFO] [stdout] 251 |             let x = self as *const WeakPtr<T> as *mut WeakPtr<T>;
[INFO] [stdout]     |                     -------------------------------------------- casting happened here
[INFO] [stdout] 252 |             return &mut *x;
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_algorithms` (bin "rust_algorithms" test) due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `1` is never read
[INFO] [stdout]    --> src/data/heap.rs:110:35
[INFO] [stdout]     |
[INFO] [stdout] 110 | struct Point(/* x */ i32, /* y */ i32);
[INFO] [stdout]     |        ----- field in this struct ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/data/rb_tree.rs:215:13
[INFO] [stdout]     |
[INFO] [stdout] 215 |             Box::from_raw(node);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 215 |             let _ = Box::from_raw(node);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/data/shared_ptr.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let x = self as *const SharedPtr<T> as *mut SharedPtr<T>;
[INFO] [stdout]     |                     ------------------------------------------------ casting happened here
[INFO] [stdout] 101 |             return &mut *x;
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/data/shared_ptr.rs:252:20
[INFO] [stdout]     |
[INFO] [stdout] 251 |             let x = self as *const WeakPtr<T> as *mut WeakPtr<T>;
[INFO] [stdout]     |                     -------------------------------------------- casting happened here
[INFO] [stdout] 252 |             return &mut *x;
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_algorithms` (bin "rust_algorithms") due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4e6deb8e779d0a77ac1dcfa6c02fd5d6c613e6a20886bd88edd05f66e14708a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e6deb8e779d0a77ac1dcfa6c02fd5d6c613e6a20886bd88edd05f66e14708a7", kill_on_drop: false }`
[INFO] [stdout] 4e6deb8e779d0a77ac1dcfa6c02fd5d6c613e6a20886bd88edd05f66e14708a7
