[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxjr1300%2Frust-samples" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xjr1300/rust-samples on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-0-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae977e150c67eb2977b74fdf1b74e119082cb73056835d5456c8f02c65250717 [INFO] running `Command { std: "docker" "start" "-a" "ae977e150c67eb2977b74fdf1b74e119082cb73056835d5456c8f02c65250717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae977e150c67eb2977b74fdf1b74e119082cb73056835d5456c8f02c65250717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae977e150c67eb2977b74fdf1b74e119082cb73056835d5456c8f02c65250717", kill_on_drop: false }` [INFO] [stdout] ae977e150c67eb2977b74fdf1b74e119082cb73056835d5456c8f02c65250717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e98025b2b965e4277d3775ffaa03fdc472dae9377a10bf9c839135410cf7d45e [INFO] running `Command { std: "docker" "start" "-a" "e98025b2b965e4277d3775ffaa03fdc472dae9377a10bf9c839135410cf7d45e", 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 rayon-core v1.12.1 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking lazy_static v1.4.0 [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 crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking console v0.15.8 [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: 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/385fa9d845dd326c6bbfd58c22244215e431948a/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: fields `value`, `left`, and `right` are never read [INFO] [stdout] --> examples/binary_tree.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | left: Subtree, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | right: Subtree, [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: 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: field `0` is never read [INFO] [stdout] --> examples/binary_tree.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | struct Subtree(Option>>); [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(()); [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 Node { [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 Subtree { [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 { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 65 | root: Subtree, [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 BinaryTree { [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [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 5.37s [INFO] running `Command { std: "docker" "inspect" "e98025b2b965e4277d3775ffaa03fdc472dae9377a10bf9c839135410cf7d45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e98025b2b965e4277d3775ffaa03fdc472dae9377a10bf9c839135410cf7d45e", kill_on_drop: false }` [INFO] [stdout] e98025b2b965e4277d3775ffaa03fdc472dae9377a10bf9c839135410cf7d45e