[INFO] cloning repository https://github.com/FrameworkComputer/framework-system [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrameworkComputer/framework-system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrameworkComputer%2Fframework-system", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrameworkComputer%2Fframework-system'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb432289d4accfa88997f3f2e118fad4838e9865 [INFO] testing FrameworkComputer/framework-system against nightly-2025-01-18 for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrameworkComputer%2Fframework-system" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrameworkComputer/framework-system on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/FrameworkComputer/framework-system [INFO] finished tweaking git repo https://github.com/FrameworkComputer/framework-system [INFO] tweaked toml for git repo https://github.com/FrameworkComputer/framework-system written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FrameworkComputer/framework-system already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/FrameworkComputer/uefi-rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/FrameworkComputer/rust-hwio` [INFO] [stderr] Updating git repository `https://github.com/FrameworkComputer/smbios-lib.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ptr_meta_derive v0.2.0 [INFO] [stderr] Downloaded scratch v1.0.5 [INFO] [stderr] Downloaded quote v1.0.26 [INFO] [stderr] Downloaded windows-targets v0.48.0 [INFO] [stderr] Downloaded uefi-macros v0.11.0 [INFO] [stderr] Downloaded iana-time-zone-haiku v0.1.1 [INFO] [stderr] Downloaded ptr_meta v0.2.0 [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded unicode-ident v1.0.6 [INFO] [stderr] Downloaded ucs2 v0.3.2 [INFO] [stderr] Downloaded built v0.5.2 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.94 [INFO] [stderr] Downloaded unicode-bidi v0.3.13 [INFO] [stderr] Downloaded static_vcruntime v2.0.0 [INFO] [stderr] Downloaded windows-interface v0.52.0 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded clap_lex v0.3.0 [INFO] [stderr] Downloaded errno-dragonfly v0.1.2 [INFO] [stderr] Downloaded jobserver v0.1.26 [INFO] [stderr] Downloaded thiserror v1.0.40 [INFO] [stderr] Downloaded git2 v0.15.0 [INFO] [stderr] Downloaded clap-verbosity-flag v2.0.1 [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded num-iter v0.1.43 [INFO] [stderr] Downloaded unicode-width v0.1.10 [INFO] [stderr] Downloaded core-foundation-sys v0.8.4 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded pkg-config v0.3.26 [INFO] [stderr] Downloaded os_str_bytes v6.4.1 [INFO] [stderr] Downloaded heck v0.4.0 [INFO] [stderr] Downloaded core-foundation-sys v0.6.2 [INFO] [stderr] Downloaded no-std-compat v0.4.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.84 [INFO] [stderr] Downloaded thiserror-impl v1.0.40 [INFO] [stderr] Downloaded semver v1.0.17 [INFO] [stderr] Downloaded is-terminal v0.4.2 [INFO] [stderr] Downloaded num-complex v0.4.2 [INFO] [stderr] Downloaded hermit-abi v0.2.6 [INFO] [stderr] Downloaded env_logger v0.10.0 [INFO] [stderr] Downloaded cargo-lock v8.0.3 [INFO] [stderr] Downloaded clap_derive v4.0.21 [INFO] [stderr] Downloaded mach v0.2.3 [INFO] [stderr] Downloaded num-traits v0.2.15 [INFO] [stderr] Downloaded errno v0.2.8 [INFO] [stderr] Downloaded spin v0.9.4 [INFO] [stderr] Downloaded codespan-reporting v0.11.1 [INFO] [stderr] Downloaded io-lifetimes v1.0.3 [INFO] [stderr] Downloaded serde_derive v1.0.151 [INFO] [stderr] Downloaded io-kit-sys v0.1.0 [INFO] [stderr] Downloaded wmi v0.13.3 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.94 [INFO] [stderr] Downloaded cc v1.0.79 [INFO] [stderr] Downloaded log v0.4.17 [INFO] [stderr] Downloaded bumpalo v3.12.1 [INFO] [stderr] Downloaded typenum v1.16.0 [INFO] [stderr] Downloaded js-sys v0.3.61 [INFO] [stderr] Downloaded cxx-build v1.0.94 [INFO] [stderr] Downloaded serde v1.0.151 [INFO] [stderr] Downloaded ryu v1.0.12 [INFO] [stderr] Downloaded once_cell v1.16.0 [INFO] [stderr] Downloaded num-rational v0.4.1 [INFO] [stderr] Downloaded rusb v0.9.1 [INFO] [stderr] Downloaded core-foundation v0.6.4 [INFO] [stderr] Downloaded lock_api v0.4.9 [INFO] [stderr] Downloaded mach v0.3.2 [INFO] [stderr] Downloaded itoa v1.0.5 [INFO] [stderr] Downloaded link-cplusplus v1.0.8 [INFO] [stderr] Downloaded num-integer v0.1.45 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.84 [INFO] [stderr] Downloaded memoffset v0.6.5 [INFO] [stderr] Downloaded cpufeatures v0.2.5 [INFO] [stderr] Downloaded serde_json v1.0.91 [INFO] [stderr] Downloaded syn v1.0.107 [INFO] [stderr] Downloaded wasm-bindgen v0.2.84 [INFO] [stderr] Downloaded block-buffer v0.10.3 [INFO] [stderr] Downloaded chrono v0.4.24 [INFO] [stderr] Downloaded clap v4.0.32 [INFO] [stderr] Downloaded cxx v1.0.94 [INFO] [stderr] Downloaded generic-array v0.14.6 [INFO] [stderr] Downloaded digest v0.10.6 [INFO] [stderr] Downloaded getopts v0.2.21 [INFO] [stderr] Downloaded sha2 v0.10.6 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.84 [INFO] [stderr] Downloaded hidapi v2.1.0 [INFO] [stderr] Downloaded syn v2.0.13 [INFO] [stderr] Downloaded rustix v0.36.5 [INFO] [stderr] Downloaded nix v0.25.1 [INFO] [stderr] Downloaded libusb1-sys v0.6.4 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.0 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.84 [INFO] [stderr] Downloaded iana-time-zone v0.1.56 [INFO] [stderr] Downloaded windows-implement v0.52.0 [INFO] [stderr] Downloaded libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.0 [INFO] [stderr] Downloaded linux-raw-sys v0.1.4 [INFO] [stderr] Downloaded libz-sys v1.1.9 [INFO] [stderr] Downloaded windows-sys v0.42.0 [INFO] [stderr] Downloaded windows v0.48.0 [INFO] [stderr] Downloaded windows v0.42.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6fb3d0e6e3b748ee6aef7e9c442d47841c18430e0b87e0003e9544ad55d057a [INFO] running `Command { std: "docker" "start" "-a" "a6fb3d0e6e3b748ee6aef7e9c442d47841c18430e0b87e0003e9544ad55d057a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6fb3d0e6e3b748ee6aef7e9c442d47841c18430e0b87e0003e9544ad55d057a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6fb3d0e6e3b748ee6aef7e9c442d47841c18430e0b87e0003e9544ad55d057a", kill_on_drop: false }` [INFO] [stdout] a6fb3d0e6e3b748ee6aef7e9c442d47841c18430e0b87e0003e9544ad55d057a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eef5b42a6b7bb9f5e54cc6d2118d3d309f1e3ca13b3cfeece6fffd150648f8c0 [INFO] running `Command { std: "docker" "start" "-a" "eef5b42a6b7bb9f5e54cc6d2118d3d309f1e3ca13b3cfeece6fffd150648f8c0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.151 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling rustix v0.36.5 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Compiling libusb1-sys v0.6.4 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling hidapi v2.1.0 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling clap_lex v0.3.0 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rusb v0.9.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling syn v2.0.13 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling static_vcruntime v2.0.0 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling framework_tool v0.1.0 (/opt/rustwide/workdir/framework_tool) [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling clap v4.0.32 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling redox_hwio v0.1.6 (https://github.com/FrameworkComputer/rust-hwio?branch=freebsd#9bcff427) [INFO] [stderr] Compiling guid_macros v0.11.0 (/opt/rustwide/workdir/guid_macros) [INFO] [stderr] Compiling clap-verbosity-flag v2.0.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling cargo-lock v8.0.3 [INFO] [stderr] Compiling smbios-lib v0.9.1 (https://github.com/FrameworkComputer/smbios-lib.git?branch=no-std#b3e2fff8) [INFO] [stderr] Compiling git2 v0.15.0 [INFO] [stderr] Compiling built v0.5.2 [INFO] [stderr] Compiling framework_lib v0.1.0 (/opt/rustwide/workdir/framework_lib) [INFO] [stdout] warning: field `verbose` is never read [INFO] [stdout] --> framework_lib/src/util.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | pub verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> framework_lib/src/ccgx/mod.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SiliconId` [INFO] [stdout] 102 | pub enum SiliconId { [INFO] [stdout] | --------- `SiliconId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> framework_lib/src/chromium_ec/mod.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EcResponseStatus` [INFO] [stdout] 93 | pub enum EcResponseStatus { [INFO] [stdout] | ---------------- `EcResponseStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> framework_lib/src/chromium_ec/command.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EcCommands` [INFO] [stdout] 16 | #[repr(u16)] [INFO] [stdout] 17 | pub enum EcCommands { [INFO] [stdout] | ---------- `EcCommands` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> framework_lib/src/chromium_ec/commands.rs:640:17 [INFO] [stdout] | [INFO] [stdout] 640 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FpLedBrightnessLevel` [INFO] [stdout] 641 | pub enum FpLedBrightnessLevel { [INFO] [stdout] | -------------------- `FpLedBrightnessLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> framework_lib/src/chromium_ec/cros_ec.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | unsafe { CROS_EC_FD.as_ref().unwrap().as_raw_fd() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [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] --> framework_lib/src/smbios.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ConfigDigit0` [INFO] [stdout] 27 | pub enum ConfigDigit0 { [INFO] [stdout] | ------------ `ConfigDigit0` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "eef5b42a6b7bb9f5e54cc6d2118d3d309f1e3ca13b3cfeece6fffd150648f8c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef5b42a6b7bb9f5e54cc6d2118d3d309f1e3ca13b3cfeece6fffd150648f8c0", kill_on_drop: false }` [INFO] [stdout] eef5b42a6b7bb9f5e54cc6d2118d3d309f1e3ca13b3cfeece6fffd150648f8c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1084eb4b1ebded9c1b509f63f55bdd092159ebf540618fb373f2110b3b80eaf [INFO] running `Command { std: "docker" "start" "-a" "b1084eb4b1ebded9c1b509f63f55bdd092159ebf540618fb373f2110b3b80eaf", kill_on_drop: false }` [INFO] [stdout] warning: field `verbose` is never read [INFO] [stdout] --> framework_lib/src/util.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | pub verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling framework_lib v0.1.0 (/opt/rustwide/workdir/framework_lib) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> framework_lib/src/ccgx/mod.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SiliconId` [INFO] [stdout] 102 | pub enum SiliconId { [INFO] [stdout] | --------- `SiliconId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling framework_tool v0.1.0 (/opt/rustwide/workdir/framework_tool) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> framework_lib/src/chromium_ec/mod.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EcResponseStatus` [INFO] [stdout] 93 | pub enum EcResponseStatus { [INFO] [stdout] | ---------------- `EcResponseStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> framework_lib/src/chromium_ec/command.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EcCommands` [INFO] [stdout] 16 | #[repr(u16)] [INFO] [stdout] 17 | pub enum EcCommands { [INFO] [stdout] | ---------- `EcCommands` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> framework_lib/src/chromium_ec/commands.rs:640:17 [INFO] [stdout] | [INFO] [stdout] 640 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FpLedBrightnessLevel` [INFO] [stdout] 641 | pub enum FpLedBrightnessLevel { [INFO] [stdout] | -------------------- `FpLedBrightnessLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> framework_lib/src/chromium_ec/cros_ec.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | unsafe { CROS_EC_FD.as_ref().unwrap().as_raw_fd() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [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] --> framework_lib/src/smbios.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ConfigDigit0` [INFO] [stdout] 27 | pub enum ConfigDigit0 { [INFO] [stdout] | ------------ `ConfigDigit0` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `verbose` is never read [INFO] [stdout] --> framework_lib/src/util.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | pub verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> framework_lib/src/ccgx/mod.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SiliconId` [INFO] [stdout] 102 | pub enum SiliconId { [INFO] [stdout] | --------- `SiliconId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> framework_lib/src/chromium_ec/mod.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EcResponseStatus` [INFO] [stdout] 93 | pub enum EcResponseStatus { [INFO] [stdout] | ---------------- `EcResponseStatus` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> framework_lib/src/chromium_ec/command.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EcCommands` [INFO] [stdout] 16 | #[repr(u16)] [INFO] [stdout] 17 | pub enum EcCommands { [INFO] [stdout] | ---------- `EcCommands` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> framework_lib/src/chromium_ec/commands.rs:640:17 [INFO] [stdout] | [INFO] [stdout] 640 | #[derive(Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FpLedBrightnessLevel` [INFO] [stdout] 641 | pub enum FpLedBrightnessLevel { [INFO] [stdout] | -------------------- `FpLedBrightnessLevel` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> framework_lib/src/chromium_ec/cros_ec.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | unsafe { CROS_EC_FD.as_ref().unwrap().as_raw_fd() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [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] --> framework_lib/src/smbios.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ConfigDigit0` [INFO] [stdout] 27 | pub enum ConfigDigit0 { [INFO] [stdout] | ------------ `ConfigDigit0` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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 3.10s [INFO] running `Command { std: "docker" "inspect" "b1084eb4b1ebded9c1b509f63f55bdd092159ebf540618fb373f2110b3b80eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1084eb4b1ebded9c1b509f63f55bdd092159ebf540618fb373f2110b3b80eaf", kill_on_drop: false }` [INFO] [stdout] b1084eb4b1ebded9c1b509f63f55bdd092159ebf540618fb373f2110b3b80eaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ad9cc7e28395f6338c0c930e9d08f07e39eb5d5b8f1bc74709f92c97935e885 [INFO] running `Command { std: "docker" "start" "-a" "5ad9cc7e28395f6338c0c930e9d08f07e39eb5d5b8f1bc74709f92c97935e885", kill_on_drop: false }` [INFO] [stderr] warning: field `verbose` is never read [INFO] [stderr] --> framework_lib/src/util.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 39 | pub verbose: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> framework_lib/src/ccgx/mod.rs:101:28 [INFO] [stderr] | [INFO] [stderr] 101 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SiliconId` [INFO] [stderr] 102 | pub enum SiliconId { [INFO] [stderr] | --------- `SiliconId` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> framework_lib/src/chromium_ec/mod.rs:92:28 [INFO] [stderr] | [INFO] [stderr] 92 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EcResponseStatus` [INFO] [stderr] 93 | pub enum EcResponseStatus { [INFO] [stderr] | ---------------- `EcResponseStatus` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> framework_lib/src/chromium_ec/command.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_EcCommands` [INFO] [stderr] 16 | #[repr(u16)] [INFO] [stderr] 17 | pub enum EcCommands { [INFO] [stderr] | ---------- `EcCommands` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> framework_lib/src/chromium_ec/commands.rs:640:17 [INFO] [stderr] | [INFO] [stderr] 640 | #[derive(Debug, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FpLedBrightnessLevel` [INFO] [stderr] 641 | pub enum FpLedBrightnessLevel { [INFO] [stderr] | -------------------- `FpLedBrightnessLevel` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> framework_lib/src/chromium_ec/cros_ec.rs:70:14 [INFO] [stderr] | [INFO] [stderr] 70 | unsafe { CROS_EC_FD.as_ref().unwrap().as_raw_fd() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> framework_lib/src/smbios.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ConfigDigit0` [INFO] [stderr] 27 | pub enum ConfigDigit0 { [INFO] [stderr] | ------------ `ConfigDigit0` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `framework_lib` (lib) generated 7 warnings [INFO] [stderr] warning: `framework_lib` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/framework_lib-22a1ab302bd9b33b) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test ccgx::binary::tests::can_parse_ccg8_binary ... ok [INFO] [stdout] test ccgx::binary::tests::can_parse_ccg6_binary ... ok [INFO] [stdout] test ccgx::binary::tests::can_parse_ccg3_binary ... ok [INFO] [stdout] test ec_binary::tests::can_parse ... ok [INFO] [stdout] test ccgx::binary::tests::can_parse_ccg5_binary ... ok [INFO] [stdout] test capsule::tests::can_parse_winux_binary ... ok [INFO] [stdout] test ec_binary::tests::fails_cargo_toml ... ok [INFO] [stdout] test guid::tests::test_guid_macro ... ok [INFO] [stdout] test ec_binary::tests::can_parse_adl_ec ... ok [INFO] [stdout] test ec_binary::tests::can_parse_amd_fl16_ec ... ok [INFO] [stdout] test guid::tests::test_to_from_bytes ... ok [INFO] [stdout] test ec_binary::tests::fails_winux ... ok [INFO] [stdout] test ec_binary::tests::can_parse_amd_fl13_ec ... ok [INFO] [stdout] test guid::tests::test_guid_display ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/framework_tool-5360f6cf4a2299c2) [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 framework_lib [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test framework_lib/src/ec_binary.rs - ec_binary::parse_ec_version_str (line 92) ... ok [INFO] [stdout] test framework_lib/src/esrt/mod.rs - esrt::guid_from_str (line 44) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.99s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5ad9cc7e28395f6338c0c930e9d08f07e39eb5d5b8f1bc74709f92c97935e885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ad9cc7e28395f6338c0c930e9d08f07e39eb5d5b8f1bc74709f92c97935e885", kill_on_drop: false }` [INFO] [stdout] 5ad9cc7e28395f6338c0c930e9d08f07e39eb5d5b8f1bc74709f92c97935e885