[INFO] fetching crate stuw81300 0.2.0... [INFO] testing stuw81300-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate stuw81300 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate stuw81300 0.2.0 [INFO] finished tweaking crates.io crate stuw81300 0.2.0 [INFO] tweaked toml for crates.io crate stuw81300 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stuw81300 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding embedded-hal-mock v0.8.0 (available: v0.11.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f16be44593b492aa596586a88542366e8a48e87d4c6053410c2fbed91162caec [INFO] running `Command { std: "docker" "start" "-a" "f16be44593b492aa596586a88542366e8a48e87d4c6053410c2fbed91162caec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f16be44593b492aa596586a88542366e8a48e87d4c6053410c2fbed91162caec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16be44593b492aa596586a88542366e8a48e87d4c6053410c2fbed91162caec", kill_on_drop: false }` [INFO] [stdout] f16be44593b492aa596586a88542366e8a48e87d4c6053410c2fbed91162caec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 301e69f740683fe31d0255452e5f2932f511cc3c5a5cdfeea833c30a4657ebd2 [INFO] running `Command { std: "docker" "start" "-a" "301e69f740683fe31d0255452e5f2932f511cc3c5a5cdfeea833c30a4657ebd2", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling micromath v2.1.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling stuw81300 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | / register!( [INFO] [stdout] 104 | | ST0, [INFO] [stdout] 105 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | / register!( [INFO] [stdout] 117 | | ST1, [INFO] [stdout] 118 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 130 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | / register!( [INFO] [stdout] 133 | | ST2, [INFO] [stdout] 134 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 143 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / register!( [INFO] [stdout] 146 | | ST3, [INFO] [stdout] 147 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 162 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / register!( [INFO] [stdout] 165 | | ST4, [INFO] [stdout] 166 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 185 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | / register!( [INFO] [stdout] 188 | | ST5, [INFO] [stdout] 189 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 198 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | / register!( [INFO] [stdout] 201 | | ST6, [INFO] [stdout] 202 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 215 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | / register!( [INFO] [stdout] 218 | | ST7, [INFO] [stdout] 219 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 232 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | / register!( [INFO] [stdout] 235 | | ST8, [INFO] [stdout] 236 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 244 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | / register!( [INFO] [stdout] 247 | | ST10, [INFO] [stdout] 248 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 267 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MockPinState` is never used [INFO] [stdout] --> src/mock.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum MockPinState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockStuw81300SPI` is never constructed [INFO] [stdout] --> src/mock.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MockStuw81300SPI { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockStuw81300LE` is never constructed [INFO] [stdout] --> src/mock.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MockStuw81300LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MockError` is never used [INFO] [stdout] --> src/mock.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum MockError {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> src/mock.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl MockStuw81300SPI { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 22 | pub fn read(&self, addr: usize) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn write(&mut self, addr: usize, data: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "301e69f740683fe31d0255452e5f2932f511cc3c5a5cdfeea833c30a4657ebd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301e69f740683fe31d0255452e5f2932f511cc3c5a5cdfeea833c30a4657ebd2", kill_on_drop: false }` [INFO] [stdout] 301e69f740683fe31d0255452e5f2932f511cc3c5a5cdfeea833c30a4657ebd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b179c993a4c689752f5d0e413e91dfb132e74b25c9ca16b5e6e1164c457cbfe9 [INFO] running `Command { std: "docker" "start" "-a" "b179c993a4c689752f5d0e413e91dfb132e74b25c9ca16b5e6e1164c457cbfe9", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling embedded-hal-mock v0.8.0 [INFO] [stderr] Compiling stuw81300 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | / register!( [INFO] [stdout] 104 | | ST0, [INFO] [stdout] 105 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | / register!( [INFO] [stdout] 117 | | ST1, [INFO] [stdout] 118 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 130 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | / register!( [INFO] [stdout] 133 | | ST2, [INFO] [stdout] 134 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 143 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / register!( [INFO] [stdout] 146 | | ST3, [INFO] [stdout] 147 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 162 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / register!( [INFO] [stdout] 165 | | ST4, [INFO] [stdout] 166 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 185 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | / register!( [INFO] [stdout] 188 | | ST5, [INFO] [stdout] 189 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 198 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | / register!( [INFO] [stdout] 201 | | ST6, [INFO] [stdout] 202 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 215 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | / register!( [INFO] [stdout] 218 | | ST7, [INFO] [stdout] 219 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 232 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | / register!( [INFO] [stdout] 235 | | ST8, [INFO] [stdout] 236 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 244 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | / register!( [INFO] [stdout] 247 | | ST10, [INFO] [stdout] 248 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 267 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stdout] warning: enum `MockPinState` is never used [INFO] [stdout] --> src/mock.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum MockPinState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockStuw81300SPI` is never constructed [INFO] [stdout] --> src/mock.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MockStuw81300SPI { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockStuw81300LE` is never constructed [INFO] [stdout] --> src/mock.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MockStuw81300LE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MockError` is never used [INFO] [stdout] --> src/mock.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum MockError {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> src/mock.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl MockStuw81300SPI { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 22 | pub fn read(&self, addr: usize) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn write(&mut self, addr: usize, data: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.8.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | / register!( [INFO] [stdout] 104 | | ST0, [INFO] [stdout] 105 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 114 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | / register!( [INFO] [stdout] 117 | | ST1, [INFO] [stdout] 118 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 130 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | / register!( [INFO] [stdout] 133 | | ST2, [INFO] [stdout] 134 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 143 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | / register!( [INFO] [stdout] 146 | | ST3, [INFO] [stdout] 147 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 162 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | / register!( [INFO] [stdout] 165 | | ST4, [INFO] [stdout] 166 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 185 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | / register!( [INFO] [stdout] 188 | | ST5, [INFO] [stdout] 189 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 198 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | / register!( [INFO] [stdout] 201 | | ST6, [INFO] [stdout] 202 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 215 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | / register!( [INFO] [stdout] 218 | | ST7, [INFO] [stdout] 219 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 232 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | / register!( [INFO] [stdout] 235 | | ST8, [INFO] [stdout] 236 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 244 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `release` [INFO] [stdout] --> src/registers.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(not(release))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | / register!( [INFO] [stdout] 247 | | ST10, [INFO] [stdout] 248 | | numbers: [INFO] [stdout] ... | [INFO] [stdout] 267 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.49s [INFO] running `Command { std: "docker" "inspect" "b179c993a4c689752f5d0e413e91dfb132e74b25c9ca16b5e6e1164c457cbfe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b179c993a4c689752f5d0e413e91dfb132e74b25c9ca16b5e6e1164c457cbfe9", kill_on_drop: false }` [INFO] [stdout] b179c993a4c689752f5d0e413e91dfb132e74b25c9ca16b5e6e1164c457cbfe9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2281bf6ff8986c7e7031a8895f750cce34da0ac322e970af5c9f7dd922fabcbf [INFO] running `Command { std: "docker" "start" "-a" "2281bf6ff8986c7e7031a8895f750cce34da0ac322e970af5c9f7dd922fabcbf", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/registers.rs:80:27 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg(not(release))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | / register!( [INFO] [stderr] 104 | | ST0, [INFO] [stderr] 105 | | numbers: [INFO] [stderr] ... | [INFO] [stderr] 114 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/registers.rs:80:27 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg(not(release))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | / register!( [INFO] [stderr] 117 | | ST1, [INFO] [stderr] 118 | | numbers: [INFO] [stderr] ... | [INFO] [stderr] 130 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/registers.rs:80:27 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg(not(release))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 132 | / register!( [INFO] [stderr] 133 | | ST2, [INFO] [stderr] 134 | | numbers: [INFO] [stderr] ... | [INFO] [stderr] 143 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/registers.rs:80:27 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg(not(release))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | / register!( [INFO] [stderr] 146 | | ST3, [INFO] [stderr] 147 | | numbers: [INFO] [stderr] ... | [INFO] [stderr] 162 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/registers.rs:80:27 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg(not(release))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 164 | / register!( [INFO] [stderr] 165 | | ST4, [INFO] [stderr] 166 | | numbers: [INFO] [stderr] ... | [INFO] [stderr] 185 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/registers.rs:80:27 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg(not(release))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 187 | / register!( [INFO] [stderr] 188 | | ST5, [INFO] [stderr] 189 | | numbers: [INFO] [stderr] ... | [INFO] [stderr] 198 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/registers.rs:80:27 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg(not(release))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 200 | / register!( [INFO] [stderr] 201 | | ST6, [INFO] [stderr] 202 | | numbers: [INFO] [stderr] ... | [INFO] [stderr] 215 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/registers.rs:80:27 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg(not(release))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 217 | / register!( [INFO] [stderr] 218 | | ST7, [INFO] [stderr] 219 | | numbers: [INFO] [stderr] ... | [INFO] [stderr] 232 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/registers.rs:80:27 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg(not(release))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 234 | / register!( [INFO] [stderr] 235 | | ST8, [INFO] [stderr] 236 | | numbers: [INFO] [stderr] ... | [INFO] [stderr] 244 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `release` [INFO] [stderr] --> src/registers.rs:80:27 [INFO] [stderr] | [INFO] [stderr] 80 | #[cfg(not(release))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 246 | / register!( [INFO] [stderr] 247 | | ST10, [INFO] [stderr] 248 | | numbers: [INFO] [stderr] ... | [INFO] [stderr] 267 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(release)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(release)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `register` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: enum `MockPinState` is never used [INFO] [stderr] --> src/mock.rs:5:6 [INFO] [stderr] | [INFO] [stderr] 5 | enum MockPinState { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `MockStuw81300SPI` is never constructed [INFO] [stderr] --> src/mock.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct MockStuw81300SPI { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MockStuw81300LE` is never constructed [INFO] [stderr] --> src/mock.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct MockStuw81300LE { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `MockError` is never used [INFO] [stderr] --> src/mock.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | pub enum MockError {} [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `read` and `write` are never used [INFO] [stderr] --> src/mock.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl MockStuw81300SPI { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] 22 | pub fn read(&self, addr: usize) -> u32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | pub fn write(&mut self, addr: usize, data: u32) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `stuw81300` (lib) generated 15 warnings [INFO] [stderr] warning: `stuw81300` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stuw81300-d2e9e5ccf02ee724) [INFO] [stdout] running 26 tests [INFO] [stdout] test api::tests::device_id ... ok [INFO] [stdout] test api::tests::complete_mock ... ok [INFO] [stdout] test mock::tests::mock ... ok [INFO] [stdout] test spi::tests::access_mode ... ok [INFO] [stdout] test spi::tests::payload ... ok [INFO] [stdout] test spi::tests::register ... ok [INFO] [stdout] test spi::tests::write_st0 ... ok [INFO] [stdout] test api::tests::mock_device_id ... ok [INFO] [stdout] test spi::tests::write_st4 ... ok [INFO] [stdout] test spi::tests::write_st5 ... ok [INFO] [stdout] test spi::tests::write_st3 ... ok [INFO] [stdout] test spi::tests::write_st7 ... ok [INFO] [stdout] test spi::tests::write_st1 ... ok [INFO] [stdout] test spi::tests::write_st8 ... ok [INFO] [stdout] test spi::tests::write_st2 ... ok [INFO] [stdout] test spi::tests::write_st6 ... ok [INFO] [stdout] test registers::tests::round_trip_st10 ... ok [INFO] [stdout] test registers::tests::round_trip_st1 ... ok [INFO] [stdout] test registers::tests::round_trip_st5 ... ok [INFO] [stdout] test registers::tests::round_trip_st2 ... ok [INFO] [stdout] test registers::tests::round_trip_st3 ... ok [INFO] [stdout] test registers::tests::round_trip_st4 ... ok [INFO] [stdout] test registers::tests::round_trip_st8 ... ok [INFO] [stdout] test registers::tests::round_trip_st7 ... ok [INFO] [stdout] test registers::tests::round_trip_st6 ... ok [INFO] [stdout] test registers::tests::round_trip_st0 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-4752f660e61b724d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests stuw81300 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2281bf6ff8986c7e7031a8895f750cce34da0ac322e970af5c9f7dd922fabcbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2281bf6ff8986c7e7031a8895f750cce34da0ac322e970af5c9f7dd922fabcbf", kill_on_drop: false }` [INFO] [stdout] 2281bf6ff8986c7e7031a8895f750cce34da0ac322e970af5c9f7dd922fabcbf