[INFO] fetching crate as5600 0.8.0... [INFO] testing as5600-0.8.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate as5600 0.8.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate as5600 0.8.0 [INFO] finished tweaking crates.io crate as5600 0.8.0 [INFO] tweaked toml for crates.io crate as5600 0.8.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate as5600 0.8.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 90 packages to latest compatible versions [INFO] [stderr] Adding core-foundation v0.10.0 (available: v0.10.1) [INFO] [stderr] Adding embedded-hal-mock v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding proptest-derive v0.4.0 (available: v0.7.0) [INFO] [stderr] Adding quote v1.0.40 (available: v1.0.42) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07193483f5075e0f90d778d2eb18117e0ee05ff9ee6c65c1a11e93a0d49e7cfa [INFO] running `Command { std: "docker" "start" "-a" "07193483f5075e0f90d778d2eb18117e0ee05ff9ee6c65c1a11e93a0d49e7cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07193483f5075e0f90d778d2eb18117e0ee05ff9ee6c65c1a11e93a0d49e7cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07193483f5075e0f90d778d2eb18117e0ee05ff9ee6c65c1a11e93a0d49e7cfa", kill_on_drop: false }` [INFO] [stdout] 07193483f5075e0f90d778d2eb18117e0ee05ff9ee6c65c1a11e93a0d49e7cfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0665db65b079745d44cc514e5f15c9d30eedd19e2c99dab4436296442ea4f1f6 [INFO] running `Command { std: "docker" "start" "-a" "0665db65b079745d44cc514e5f15c9d30eedd19e2c99dab4436296442ea4f1f6", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling as5600 v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.47s [INFO] running `Command { std: "docker" "inspect" "0665db65b079745d44cc514e5f15c9d30eedd19e2c99dab4436296442ea4f1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0665db65b079745d44cc514e5f15c9d30eedd19e2c99dab4436296442ea4f1f6", kill_on_drop: false }` [INFO] [stdout] 0665db65b079745d44cc514e5f15c9d30eedd19e2c99dab4436296442ea4f1f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e40c4e5ac513b8d7b040527c49b2cacf0f24f778762b37d9620375a4630e129b [INFO] running `Command { std: "docker" "start" "-a" "e40c4e5ac513b8d7b040527c49b2cacf0f24f778762b37d9620375a4630e129b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling embedded-time v0.12.1 [INFO] [stderr] Compiling embedded-hal-mock v0.10.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling gpio-cdev v0.6.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.23.0 [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 rusty-fork v0.3.1 [INFO] [stderr] Compiling proptest v1.9.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling as5600 v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling unescaper v0.1.6 [INFO] [stderr] Compiling sysfs_gpio v0.6.2 [INFO] [stderr] Compiling proptest-derive v0.4.0 [INFO] [stderr] Compiling serialport v4.8.1 [INFO] [stderr] Compiling i2cdev v0.6.1 [INFO] [stderr] Compiling spidev v0.6.1 [INFO] [stderr] Compiling linux-embedded-hal v0.4.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration/mod.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_PowerMode` [INFO] [stdout] 14 | #[repr(u8)] [INFO] [stdout] 15 | pub enum PowerMode { [INFO] [stdout] | --------- `PowerMode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration/mod.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Hysteresis` [INFO] [stdout] 29 | #[repr(u8)] [INFO] [stdout] 30 | pub enum Hysteresis { [INFO] [stdout] | ---------- `Hysteresis` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration/mod.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_OutputStage` [INFO] [stdout] 45 | #[repr(u8)] [INFO] [stdout] 46 | pub enum OutputStage { [INFO] [stdout] | ----------- `OutputStage` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration/mod.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_PwmFreq` [INFO] [stdout] 58 | #[repr(u8)] [INFO] [stdout] 59 | pub enum PwmFreq { [INFO] [stdout] | ------- `PwmFreq` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration/mod.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_SlowFilterMode` [INFO] [stdout] 85 | #[repr(u8)] [INFO] [stdout] 86 | pub enum SlowFilterMode { [INFO] [stdout] | -------------- `SlowFilterMode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration/mod.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_FastFilterThreshold` [INFO] [stdout] 100 | #[repr(u8)] [INFO] [stdout] 101 | pub enum FastFilterThreshold { [INFO] [stdout] | ------------------- `FastFilterThreshold` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration/mod.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_WatchdogState` [INFO] [stdout] 123 | #[repr(u8)] [INFO] [stdout] 124 | pub enum WatchdogState { [INFO] [stdout] | ------------- `WatchdogState` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration/mod.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Configuration` [INFO] [stdout] 134 | pub struct Configuration { [INFO] [stdout] | ------------- `Configuration` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/register/mod.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Register` [INFO] [stdout] 8 | #[repr(u8)] [INFO] [stdout] 9 | pub enum Register { [INFO] [stdout] | -------- `Register` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/status.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Status` [INFO] [stdout] 17 | #[repr(u8)] [INFO] [stdout] 18 | pub enum Status { [INFO] [stdout] | ------ `Status` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (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 26.69s [INFO] running `Command { std: "docker" "inspect" "e40c4e5ac513b8d7b040527c49b2cacf0f24f778762b37d9620375a4630e129b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e40c4e5ac513b8d7b040527c49b2cacf0f24f778762b37d9620375a4630e129b", kill_on_drop: false }` [INFO] [stdout] e40c4e5ac513b8d7b040527c49b2cacf0f24f778762b37d9620375a4630e129b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6065e27c2f76b5d1e77bcbc293de879fdb1320e839240f5ec3528ea62321487a [INFO] running `Command { std: "docker" "start" "-a" "6065e27c2f76b5d1e77bcbc293de879fdb1320e839240f5ec3528ea62321487a", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/configuration/mod.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_PowerMode` [INFO] [stderr] 14 | #[repr(u8)] [INFO] [stderr] 15 | pub enum PowerMode { [INFO] [stderr] | --------- `PowerMode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/configuration/mod.rs:28:25 [INFO] [stderr] | [INFO] [stderr] 28 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Hysteresis` [INFO] [stderr] 29 | #[repr(u8)] [INFO] [stderr] 30 | pub enum Hysteresis { [INFO] [stderr] | ---------- `Hysteresis` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/configuration/mod.rs:44:25 [INFO] [stderr] | [INFO] [stderr] 44 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_OutputStage` [INFO] [stderr] 45 | #[repr(u8)] [INFO] [stderr] 46 | pub enum OutputStage { [INFO] [stderr] | ----------- `OutputStage` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/configuration/mod.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_PwmFreq` [INFO] [stderr] 58 | #[repr(u8)] [INFO] [stderr] 59 | pub enum PwmFreq { [INFO] [stderr] | ------- `PwmFreq` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/configuration/mod.rs:84:25 [INFO] [stderr] | [INFO] [stderr] 84 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_SlowFilterMode` [INFO] [stderr] 85 | #[repr(u8)] [INFO] [stderr] 86 | pub enum SlowFilterMode { [INFO] [stderr] | -------------- `SlowFilterMode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/configuration/mod.rs:99:25 [INFO] [stderr] | [INFO] [stderr] 99 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_FastFilterThreshold` [INFO] [stderr] 100 | #[repr(u8)] [INFO] [stderr] 101 | pub enum FastFilterThreshold { [INFO] [stderr] | ------------------- `FastFilterThreshold` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/configuration/mod.rs:122:25 [INFO] [stderr] | [INFO] [stderr] 122 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_WatchdogState` [INFO] [stderr] 123 | #[repr(u8)] [INFO] [stderr] 124 | pub enum WatchdogState { [INFO] [stderr] | ------------- `WatchdogState` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/configuration/mod.rs:133:25 [INFO] [stderr] | [INFO] [stderr] 133 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Configuration` [INFO] [stderr] 134 | pub struct Configuration { [INFO] [stderr] | ------------- `Configuration` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/register/mod.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Register` [INFO] [stderr] 8 | #[repr(u8)] [INFO] [stderr] 9 | pub enum Register { [INFO] [stderr] | -------- `Register` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/status.rs:16:25 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Status` [INFO] [stderr] 17 | #[repr(u8)] [INFO] [stderr] 18 | pub enum Status { [INFO] [stderr] | ------ `Status` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `as5600` (lib test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/as5600-bc910bf549f06f0a) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test test_reading::reads_raw_angle_register ... ok [INFO] [stdout] test test_reading::reads_zero_position_register ... ok [INFO] [stdout] test test_reading::reads_angle_register ... ok [INFO] [stdout] test test_writing::burn_angle_fails_due_to_magnet_detection ... ok [INFO] [stdout] test test_writing::burn_angle_succeeds ... ok [INFO] [stdout] test test_writing::burn_settings_fails_when_zmco_is_not_zero ... ok [INFO] [stdout] test test_writing::set_config ... ok [INFO] [stdout] test test_writing::set_maximum_angle ... ok [INFO] [stdout] test test_writing::set_maximum_position ... ok [INFO] [stdout] test test_writing::set_zero_position ... ok [INFO] [stdout] test test_reading::reads_config_register ... ok [INFO] [stdout] test test_reading::reads_magnitude_register ... ok [INFO] [stdout] test test_reading::reads_maximum_angle_register ... ok [INFO] [stdout] test test_reading::reads_maximum_position_register ... ok [INFO] [stdout] test test_reading::reads_zmco_register ... ok [INFO] [stdout] test test_writing::burn_settings_succeeds ... ok [INFO] [stdout] test register::test::byte_to_register_roundtrip ... ok [INFO] [stdout] test test_writing::burn_angle_fails_due_to_zmco ... ok [INFO] [stdout] test test_reading::detects_magnet ... ok [INFO] [stdout] test test_reading::reads_automatic_gain_control_register ... ok [INFO] [stdout] test status::test::status_to_byte_roundtrip ... ok [INFO] [stdout] test register::test::register_to_byte_roundtrip ... ok [INFO] [stdout] test configuration::test::bytes_to_config_roundtrip ... ok [INFO] [stderr] Doc-tests as5600 [INFO] [stdout] test configuration::test::config_to_bytes_roundtrip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.92s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 20) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6065e27c2f76b5d1e77bcbc293de879fdb1320e839240f5ec3528ea62321487a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6065e27c2f76b5d1e77bcbc293de879fdb1320e839240f5ec3528ea62321487a", kill_on_drop: false }` [INFO] [stdout] 6065e27c2f76b5d1e77bcbc293de879fdb1320e839240f5ec3528ea62321487a