[INFO] cloning repository https://github.com/xandronak/gdep073e01 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xandronak/gdep073e01" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxandronak%2Fgdep073e01", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxandronak%2Fgdep073e01'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a37e02007dae6886bcd0bc4fa05b187c4b0d2a7 [INFO] checking xandronak/gdep073e01 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxandronak%2Fgdep073e01" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xandronak/gdep073e01 [INFO] finished tweaking git repo https://github.com/xandronak/gdep073e01 [INFO] tweaked toml for git repo https://github.com/xandronak/gdep073e01 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xandronak/gdep073e01 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xandronak/gdep073e01 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 311ac9c9e2f43f544e70a45e4e398819ad4ae44c2936667b830617df7b1609b2 [INFO] running `Command { std: "docker" "start" "-a" "311ac9c9e2f43f544e70a45e4e398819ad4ae44c2936667b830617df7b1609b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "311ac9c9e2f43f544e70a45e4e398819ad4ae44c2936667b830617df7b1609b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "311ac9c9e2f43f544e70a45e4e398819ad4ae44c2936667b830617df7b1609b2", kill_on_drop: false }` [INFO] [stdout] 311ac9c9e2f43f544e70a45e4e398819ad4ae44c2936667b830617df7b1609b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc0071394861f971c865403273935a22a2ba8ac645fa5d2aff0fd3341225e525 [INFO] running `Command { std: "docker" "start" "-a" "bc0071394861f971c865403273935a22a2ba8ac645fa5d2aff0fd3341225e525", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Checking gdep073e01 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:592:13 [INFO] [stdout] | [INFO] [stdout] 592 | let mut spi = MockSpiDevice::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:593:13 [INFO] [stdout] | [INFO] [stdout] 593 | let mut cs = MockOutputPin{ name: "cs", ..Default::default() }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:594:13 [INFO] [stdout] | [INFO] [stdout] 594 | let mut dc = MockOutputPin{ name: "dc", ..Default::default() }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | let mut rst = MockOutputPin{ name: "rst", ..Default::default() }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:596:13 [INFO] [stdout] | [INFO] [stdout] 596 | let mut busy = MockInputPin{ name: "busy", ..Default::default() }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:597:13 [INFO] [stdout] | [INFO] [stdout] 597 | let mut delay = MockDelay::default(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:624:13 [INFO] [stdout] | [INFO] [stdout] 624 | let mut spi = MockSpiDevice::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:625:13 [INFO] [stdout] | [INFO] [stdout] 625 | let mut cs = MockOutputPin{ name: "cs", ..Default::default() }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | let mut dc = MockOutputPin{ name: "dc", ..Default::default() }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:627:13 [INFO] [stdout] | [INFO] [stdout] 627 | let mut rst = MockOutputPin{ name: "rst", ..Default::default() }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | let mut busy = MockInputPin{ name: "busy", ..Default::default() }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:629:13 [INFO] [stdout] | [INFO] [stdout] 629 | let mut delay = MockDelay::default(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | let mut spi = MockSpiDevice::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | let mut cs = MockOutputPin{ name: "cs", ..Default::default() }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:644:13 [INFO] [stdout] | [INFO] [stdout] 644 | let mut dc = MockOutputPin{ name: "dc", ..Default::default() }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | let mut rst = MockOutputPin{ name: "rst", ..Default::default() }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | let mut delay = MockDelay::default(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:697:13 [INFO] [stdout] | [INFO] [stdout] 697 | let mut spi = MockSpiDevice::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:698:13 [INFO] [stdout] | [INFO] [stdout] 698 | let mut cs = MockOutputPin{ name: "cs", ..Default::default() }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:699:13 [INFO] [stdout] | [INFO] [stdout] 699 | let mut dc = MockOutputPin{ name: "dc", ..Default::default() }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | let mut rst = MockOutputPin{ name: "rst", ..Default::default() }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:702:13 [INFO] [stdout] | [INFO] [stdout] 702 | let mut delay = MockDelay::default(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:732:13 [INFO] [stdout] | [INFO] [stdout] 732 | let mut spi = MockSpiDevice::default(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:733:13 [INFO] [stdout] | [INFO] [stdout] 733 | let mut cs = MockOutputPin{ name: "cs", ..Default::default() }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:734:13 [INFO] [stdout] | [INFO] [stdout] 734 | let mut dc = MockOutputPin{ name: "dc", ..Default::default() }; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:735:13 [INFO] [stdout] | [INFO] [stdout] 735 | let mut rst = MockOutputPin{ name: "rst", ..Default::default() }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:737:13 [INFO] [stdout] | [INFO] [stdout] 737 | let mut delay = MockDelay::default(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/lib.rs:494:56 [INFO] [stdout] | [INFO] [stdout] 494 | struct MockOutputPin { pub actions: Vec, name: &'static str } [INFO] [stdout] | ------------- field in this struct ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockOutputPin` 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 `name` is never read [INFO] [stdout] --> src/lib.rs:504:54 [INFO] [stdout] | [INFO] [stdout] 504 | struct MockInputPin { pub states: Vec, name: &'static str } [INFO] [stdout] | ------------ field in this struct ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockInputPin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:520:15 [INFO] [stdout] | [INFO] [stdout] 520 | Write(Vec), [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RecordedSpiOperation` has derived impls for the traits `Clone` and `Debug`, but these are 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] 520 - Write(Vec), [INFO] [stdout] 520 + Write(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:521:18 [INFO] [stdout] | [INFO] [stdout] 521 | Transfer(Vec), // Record only written data [INFO] [stdout] | -------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RecordedSpiOperation` has derived impls for the traits `Clone` and `Debug`, but these are 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] 521 - Transfer(Vec), // Record only written data [INFO] [stdout] 521 + Transfer(()), // Record only written data [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:522:25 [INFO] [stdout] | [INFO] [stdout] 522 | TransferInPlace(Vec), // Record written data [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RecordedSpiOperation` has derived impls for the traits `Clone` and `Debug`, but these are 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] 522 - TransferInPlace(Vec), // Record written data [INFO] [stdout] 522 + TransferInPlace(()), // Record written data [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:523:14 [INFO] [stdout] | [INFO] [stdout] 523 | Read(usize), // Record length of read buffer [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RecordedSpiOperation` has derived impls for the traits `Clone` and `Debug`, but these are 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] 523 - Read(usize), // Record length of read buffer [INFO] [stdout] 523 + Read(()), // Record length of read buffer [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:524:17 [INFO] [stdout] | [INFO] [stdout] 524 | DelayNs(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RecordedSpiOperation` has derived impls for the traits `Clone` and `Debug`, but these are 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] 524 - DelayNs(u32), [INFO] [stdout] 524 + DelayNs(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.13s [INFO] running `Command { std: "docker" "inspect" "bc0071394861f971c865403273935a22a2ba8ac645fa5d2aff0fd3341225e525", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc0071394861f971c865403273935a22a2ba8ac645fa5d2aff0fd3341225e525", kill_on_drop: false }` [INFO] [stdout] bc0071394861f971c865403273935a22a2ba8ac645fa5d2aff0fd3341225e525