[INFO] cloning repository https://github.com/xjr1300/rust-samples
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xjr1300/rust-samples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxjr1300%2Frust-samples", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxjr1300%2Frust-samples'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1620da52c8a95ea1700faf6e118da530c993f59b
[INFO] checking xjr1300/rust-samples against master#b3bd7058c139e71bae0862ef8f8ac936208873e9 for pr-123752
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxjr1300%2Frust-samples" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/xjr1300/rust-samples on toolchain b3bd7058c139e71bae0862ef8f8ac936208873e9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/xjr1300/rust-samples
[INFO] finished tweaking git repo https://github.com/xjr1300/rust-samples
[INFO] tweaked toml for git repo https://github.com/xjr1300/rust-samples written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/xjr1300/rust-samples 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" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6ad3c43ae2a55294b12e09bc4ccd5aa273bf38865c7d1556180dff177adbcee3
[INFO] running `Command { std: "docker" "start" "-a" "6ad3c43ae2a55294b12e09bc4ccd5aa273bf38865c7d1556180dff177adbcee3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ad3c43ae2a55294b12e09bc4ccd5aa273bf38865c7d1556180dff177adbcee3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ad3c43ae2a55294b12e09bc4ccd5aa273bf38865c7d1556180dff177adbcee3", kill_on_drop: false }`
[INFO] [stdout] 6ad3c43ae2a55294b12e09bc4ccd5aa273bf38865c7d1556180dff177adbcee3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc83a3f6253b5ee77dbeb4d3716a0e2adb439cb2e3405e4e1c85e7eec9f9e794
[INFO] running `Command { std: "docker" "start" "-a" "cc83a3f6253b5ee77dbeb4d3716a0e2adb439cb2e3405e4e1c85e7eec9f9e794", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling portable-atomic v1.6.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking console v0.15.8
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking rayon v1.8.1
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]     Checking indicatif v0.17.7
[INFO] [stderr]     Checking rust-samples v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `value`, `left`, and `right` are never read
[INFO] [stdout]  --> examples/binary_tree.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Node<T: Ord> {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 6 |     value: T,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     left: Subtree<T>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 8 |     right: Subtree<T>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `TryInto` is imported redundantly
[INFO] [stdout]  --> examples/vec_to_fixed_array.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b3bd7058c139e71bae0862ef8f8ac936208873e9/library/std/src/prelude/mod.rs:148:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `TryInto` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> examples/binary_tree.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Subtree<T: Ord>(Option<Box<Node<T>>>);
[INFO] [stdout]    |        -------         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Subtree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Subtree<T: Ord>(());
[INFO] [stdout]    |                        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> examples/binary_tree.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T: Ord> Node<T> {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 16 |     fn new(value: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, `has`, and `len` are never used
[INFO] [stdout]   --> examples/binary_tree.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl<T: Ord> Subtree<T> {
[INFO] [stdout]    | ----------------------- associated items in this implementation
[INFO] [stdout] 26 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     fn insert(&mut self, value: T) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn has(&self, value: &T) -> bool {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `root` is never read
[INFO] [stdout]   --> examples/binary_tree.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct BinaryTree<T: Ord> {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 65 |     root: Subtree<T>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BinaryTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, `has`, and `len` are never used
[INFO] [stdout]   --> examples/binary_tree.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | impl<T: Ord> BinaryTree<T> {
[INFO] [stdout]    | -------------------------- associated items in this implementation
[INFO] [stdout] 71 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     fn insert(&mut self, value: T) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     fn has(&self, value: &T) -> bool {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     fn len(&self) -> usize {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> examples/enums.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 |     B(i32),       // content: 4byte
[INFO] [stdout]   |     - ^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 |     B(()),       // content: 4byte
[INFO] [stdout]   |       ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> examples/enums.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 |     C([i32; 10]), // content: 40byte
[INFO] [stdout]   |     - ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 |     C(()), // content: 40byte
[INFO] [stdout]   |       ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OtherError` is never constructed
[INFO] [stdout]    --> examples/results.rs:803:12
[INFO] [stdout]     |
[INFO] [stdout] 803 |     struct OtherError;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.46s
[INFO] running `Command { std: "docker" "inspect" "cc83a3f6253b5ee77dbeb4d3716a0e2adb439cb2e3405e4e1c85e7eec9f9e794", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc83a3f6253b5ee77dbeb4d3716a0e2adb439cb2e3405e4e1c85e7eec9f9e794", kill_on_drop: false }`
[INFO] [stdout] cc83a3f6253b5ee77dbeb4d3716a0e2adb439cb2e3405e4e1c85e7eec9f9e794
