[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 try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGramYang%2FRustAlgorithms" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/GramYang/RustAlgorithms on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 60cf0deae95415d50907c2daae5dd632a2298ebafaf97a2d9343c2bf084448b9
[INFO] running `Command { std: "docker" "start" "-a" "60cf0deae95415d50907c2daae5dd632a2298ebafaf97a2d9343c2bf084448b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "60cf0deae95415d50907c2daae5dd632a2298ebafaf97a2d9343c2bf084448b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60cf0deae95415d50907c2daae5dd632a2298ebafaf97a2d9343c2bf084448b9", kill_on_drop: false }`
[INFO] [stdout] 60cf0deae95415d50907c2daae5dd632a2298ebafaf97a2d9343c2bf084448b9
[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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7761eae96b2c49f6b438df3a06583242be63c324e98695a40bbdcecf82d9f8f8
[INFO] running `Command { std: "docker" "start" "-a" "7761eae96b2c49f6b438df3a06583242be63c324e98695a40bbdcecf82d9f8f8", 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" "7761eae96b2c49f6b438df3a06583242be63c324e98695a40bbdcecf82d9f8f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7761eae96b2c49f6b438df3a06583242be63c324e98695a40bbdcecf82d9f8f8", kill_on_drop: false }`
[INFO] [stdout] 7761eae96b2c49f6b438df3a06583242be63c324e98695a40bbdcecf82d9f8f8
