[INFO] cloning repository https://github.com/nviennot/stm32-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nviennot/stm32-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnviennot%2Fstm32-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnviennot%2Fstm32-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6622f2ce5047910a401ca958b7f6e91a0000f1b6 [INFO] building nviennot/stm32-emulator against try#334963c956d25708feab489a3816ae63f639355d for pr-135216-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnviennot%2Fstm32-emulator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nviennot/stm32-emulator on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nviennot/stm32-emulator [INFO] finished tweaking git repo https://github.com/nviennot/stm32-emulator [INFO] tweaked toml for git repo https://github.com/nviennot/stm32-emulator written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nviennot/stm32-emulator 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" "+334963c956d25708feab489a3816ae63f639355d" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83dce2782afdd7879baebf69592e85ea1cf969caf955afd965fc06781866a25b [INFO] running `Command { std: "docker" "start" "-a" "83dce2782afdd7879baebf69592e85ea1cf969caf955afd965fc06781866a25b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83dce2782afdd7879baebf69592e85ea1cf969caf955afd965fc06781866a25b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83dce2782afdd7879baebf69592e85ea1cf969caf955afd965fc06781866a25b", kill_on_drop: false }` [INFO] [stdout] 83dce2782afdd7879baebf69592e85ea1cf969caf955afd965fc06781866a25b [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] febf2b2c201b02902a46ff107c2ab9e434582174d730f16303db276b48d2e82a [INFO] running `Command { std: "docker" "start" "-a" "febf2b2c201b02902a46ff107c2ab9e434582174d730f16303db276b48d2e82a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling capstone-sys v0.15.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicorn-engine v2.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling roxmltree v0.14.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling stm32-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling svd-rs v0.13.1 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling svd-parser v0.13.1 [INFO] [stderr] Compiling clap-num v1.0.0 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling capstone v0.11.0 [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ext_devices/touchscreen.rs:91:61 [INFO] [stdout] | [INFO] [stdout] 91 | (Operation::MeasureX, Some(true), _) => (MAX - v), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - (Operation::MeasureX, Some(true), _) => (MAX - v), [INFO] [stdout] 91 + (Operation::MeasureX, Some(true), _) => MAX - v, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ext_devices/touchscreen.rs:92:61 [INFO] [stdout] | [INFO] [stdout] 92 | (Operation::MeasureY, _, Some(true)) => (MAX - v), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - (Operation::MeasureY, _, Some(true)) => (MAX - v), [INFO] [stdout] 92 + (Operation::MeasureY, _, Some(true)) => MAX - v, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/peripherals/dma.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | Reg(u32), [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] 205 | Reg(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FsmcDevice` is never used [INFO] [stdout] --> src/peripherals/fsmc.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait FsmcDevice { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/peripherals/sw_spi.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SoftwareSpi { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 24 | pub config: SoftwareSpiConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ext_devices/lcd.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | struct Reply(VecDeque); [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Reply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "febf2b2c201b02902a46ff107c2ab9e434582174d730f16303db276b48d2e82a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "febf2b2c201b02902a46ff107c2ab9e434582174d730f16303db276b48d2e82a", kill_on_drop: false }` [INFO] [stdout] febf2b2c201b02902a46ff107c2ab9e434582174d730f16303db276b48d2e82a [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26167fbf38aa7fa4a6a699ca14ab91a36ea82182e2263c2360252b4d5462c092 [INFO] running `Command { std: "docker" "start" "-a" "26167fbf38aa7fa4a6a699ca14ab91a36ea82182e2263c2360252b4d5462c092", kill_on_drop: false }` [INFO] [stderr] Compiling stm32-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ext_devices/touchscreen.rs:91:61 [INFO] [stdout] | [INFO] [stdout] 91 | (Operation::MeasureX, Some(true), _) => (MAX - v), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - (Operation::MeasureX, Some(true), _) => (MAX - v), [INFO] [stdout] 91 + (Operation::MeasureX, Some(true), _) => MAX - v, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ext_devices/touchscreen.rs:92:61 [INFO] [stdout] | [INFO] [stdout] 92 | (Operation::MeasureY, _, Some(true)) => (MAX - v), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - (Operation::MeasureY, _, Some(true)) => (MAX - v), [INFO] [stdout] 92 + (Operation::MeasureY, _, Some(true)) => MAX - v, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/peripherals/dma.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | Reg(u32), [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] 205 | Reg(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FsmcDevice` is never used [INFO] [stdout] --> src/peripherals/fsmc.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub trait FsmcDevice { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/peripherals/sw_spi.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SoftwareSpi { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 24 | pub config: SoftwareSpiConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ext_devices/lcd.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | struct Reply(VecDeque); [INFO] [stdout] | ----- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Reply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "26167fbf38aa7fa4a6a699ca14ab91a36ea82182e2263c2360252b4d5462c092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26167fbf38aa7fa4a6a699ca14ab91a36ea82182e2263c2360252b4d5462c092", kill_on_drop: false }` [INFO] [stdout] 26167fbf38aa7fa4a6a699ca14ab91a36ea82182e2263c2360252b4d5462c092