[INFO] fetching crate a2kit 3.5.1... [INFO] building a2kit-3.5.1 against master#ce36a966c79e109dabeef7a47fe68e5294c6d71e for pr-137044-3 [INFO] extracting crate a2kit 3.5.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate a2kit 3.5.1 on toolchain ce36a966c79e109dabeef7a47fe68e5294c6d71e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate a2kit 3.5.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate a2kit 3.5.1 [INFO] tweaked toml for crates.io crate a2kit 3.5.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate a2kit 3.5.1 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" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.6.0 [INFO] [stderr] Downloaded normalize-line-endings v0.3.0 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded a2kit_macro v1.0.0 [INFO] [stderr] Downloaded a2kit_macro_derive v1.0.0 [INFO] [stderr] Downloaded termtree v0.4.1 [INFO] [stderr] Downloaded lsp-server v0.7.6 [INFO] [stderr] Downloaded predicates-tree v1.0.11 [INFO] [stderr] Downloaded clap_lex v0.7.2 [INFO] [stderr] Downloaded predicates v3.1.2 [INFO] [stderr] Downloaded clap_complete v4.5.11 [INFO] [stderr] Downloaded a2-memory-map v1.0.4 [INFO] [stderr] Downloaded assert_cmd v2.0.15 [INFO] [stderr] Downloaded json v0.12.4 [INFO] [stderr] Downloaded lsp-types v0.95.1 [INFO] [stderr] Downloaded tree-sitter v0.22.6 [INFO] [stderr] Downloaded clap_builder v4.5.11 [INFO] [stderr] Downloaded tree-sitter-merlin6502 v3.0.0 [INFO] [stderr] Downloaded clap v4.5.11 [INFO] [stderr] Downloaded tree-sitter-applesoft v4.0.0 [INFO] [stderr] Downloaded tree-sitter-integerbasic v2.0.0 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] [stderr] Downloaded predicates-core v1.0.8 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded retrocompressor v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3b2165e7be524dcf43894bdf16ebc338ea642e1c374d98ddac56f1ea7eb8151 [INFO] running `Command { std: "docker" "start" "-a" "c3b2165e7be524dcf43894bdf16ebc338ea642e1c374d98ddac56f1ea7eb8151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3b2165e7be524dcf43894bdf16ebc338ea642e1c374d98ddac56f1ea7eb8151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b2165e7be524dcf43894bdf16ebc338ea642e1c374d98ddac56f1ea7eb8151", kill_on_drop: false }` [INFO] [stdout] c3b2165e7be524dcf43894bdf16ebc338ea642e1c374d98ddac56f1ea7eb8151 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 006364c7b54ab1f215068aeec3ec4b6d654aae0cc0b725112b5d4dac1304c519 [INFO] running `Command { std: "docker" "start" "-a" "006364c7b54ab1f215068aeec3ec4b6d654aae0cc0b725112b5d4dac1304c519", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling predicates-core v1.0.8 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling clap_builder v4.5.11 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling assert_cmd v2.0.15 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling predicates-tree v1.0.11 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling predicates v3.1.2 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling clap v4.5.11 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tree-sitter-applesoft v4.0.0 [INFO] [stderr] Compiling tree-sitter-merlin6502 v3.0.0 [INFO] [stderr] Compiling tree-sitter-integerbasic v2.0.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling a2kit_macro_derive v1.0.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling a2kit v3.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling a2kit_macro v1.0.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling clap_complete v4.5.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling retrocompressor v1.0.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling lsp-server v0.7.6 [INFO] [stderr] Compiling lsp-types v0.95.1 [INFO] [stderr] Compiling a2-memory-map v1.0.4 [INFO] [stdout] warning: unused variable: `ws` [INFO] [stdout] --> src/lang/merlin/diagnostics/asm.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | curs: &TreeCursor, ctx: &mut Context, ws: &Workspace, symbols: &mut Symbols, diagnostics: &mut Vec) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ws` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_access` and `set_all_access` are never used [INFO] [stdout] --> src/fs/prodos/directory.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait Header { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 51 | fn set_access(&mut self,what: Access,which: bool); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | fn set_all_access(&mut self,what: u8); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_blocks` is never used [INFO] [stdout] --> src/fs/prodos/directory.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait Directory: DiskStruct + HasEntries { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 75 | fn total_blocks(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `aux` and `ftype` are never used [INFO] [stdout] --> src/fs/prodos/directory.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl Entry { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn aux(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn ftype(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `timestamp_access` is never used [INFO] [stdout] --> src/fs/cpm/directory.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl Label { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn timestamp_access(&mut self,yes: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `maybe_set_access` and `maybe_set_update` are never used [INFO] [stdout] --> src/fs/cpm/directory.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 423 | impl Timestamp { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn maybe_set_access(dir: &mut Directory,lab: &Label,lx0: &Ptr,time: Option) -> STDRESULT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn maybe_set_update(dir: &mut Directory,lab: &Label,lx0: &Ptr,time: Option) -> STDRESULT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_timestamps` is never used [INFO] [stdout] --> src/fs/cpm/directory.rs:680:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl Directory { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 680 | pub fn remove_timestamps(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_root`, `long_name`, and `long_name_sub` are never read [INFO] [stdout] --> src/fs/fat/directory.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct FileInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 40 | pub is_root: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub long_name: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub long_name_sub: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg` is never read [INFO] [stdout] --> src/lang/merlin/context.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Fold { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub arg: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fold` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Enc44` is never constructed [INFO] [stdout] --> src/img/disk525.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum NibbleType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 36 | Enc44, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NibbleType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `epilog_mask` is never read [INFO] [stdout] --> src/img/disk525.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct SectorDataFormat { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | epilog_mask: [u8;3] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectorDataFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/fs/dos3x/types.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(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_FileType` [INFO] [stdout] 44 | pub enum FileType { [INFO] [stdout] | -------- `FileType` 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] --> src/fs/prodos/types.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(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_FileType` [INFO] [stdout] 110 | pub enum FileType { [INFO] [stdout] | -------- `FileType` 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] --> src/fs/prodos/types.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Clone,Copy,FromPrimitive,PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StorageType` [INFO] [stdout] 150 | pub enum StorageType { [INFO] [stdout] | ----------- `StorageType` 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] --> src/fs/prodos/types.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | #[derive(Clone,Copy,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_Access` [INFO] [stdout] 163 | pub enum Access { [INFO] [stdout] | ------ `Access` 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] --> src/fs/pascal/types.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(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_FileType` [INFO] [stdout] 72 | pub enum FileType { [INFO] [stdout] | -------- `FileType` 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] --> src/img/imd.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(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_Mode` [INFO] [stdout] 23 | pub enum Mode { [INFO] [stdout] | ---- `Mode` 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] --> src/img/imd.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(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_SectorData` [INFO] [stdout] 42 | pub enum SectorData { [INFO] [stdout] | ---------- `SectorData` 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] --> src/img/td0.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(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_SectorEncoding` [INFO] [stdout] 78 | pub enum SectorEncoding { [INFO] [stdout] | -------------- `SectorEncoding` 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 38s [INFO] running `Command { std: "docker" "inspect" "006364c7b54ab1f215068aeec3ec4b6d654aae0cc0b725112b5d4dac1304c519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "006364c7b54ab1f215068aeec3ec4b6d654aae0cc0b725112b5d4dac1304c519", kill_on_drop: false }` [INFO] [stdout] 006364c7b54ab1f215068aeec3ec4b6d654aae0cc0b725112b5d4dac1304c519 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12ff93890ebc3a3b870a9bfcd766b6b37fdcb2d3990e6e3d02ec6947bf858279 [INFO] running `Command { std: "docker" "start" "-a" "12ff93890ebc3a3b870a9bfcd766b6b37fdcb2d3990e6e3d02ec6947bf858279", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `ws` [INFO] [stdout] --> src/lang/merlin/diagnostics/asm.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | curs: &TreeCursor, ctx: &mut Context, ws: &Workspace, symbols: &mut Symbols, diagnostics: &mut Vec) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ws` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_access` and `set_all_access` are never used [INFO] [stdout] --> src/fs/prodos/directory.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait Header { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 51 | fn set_access(&mut self,what: Access,which: bool); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | fn set_all_access(&mut self,what: u8); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_blocks` is never used [INFO] [stdout] --> src/fs/prodos/directory.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait Directory: DiskStruct + HasEntries { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 75 | fn total_blocks(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `aux` and `ftype` are never used [INFO] [stdout] --> src/fs/prodos/directory.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl Entry { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn aux(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn ftype(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `timestamp_access` is never used [INFO] [stdout] --> src/fs/cpm/directory.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl Label { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn timestamp_access(&mut self,yes: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `maybe_set_access` and `maybe_set_update` are never used [INFO] [stdout] --> src/fs/cpm/directory.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 423 | impl Timestamp { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn maybe_set_access(dir: &mut Directory,lab: &Label,lx0: &Ptr,time: Option) -> STDRESULT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn maybe_set_update(dir: &mut Directory,lab: &Label,lx0: &Ptr,time: Option) -> STDRESULT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_timestamps` is never used [INFO] [stdout] --> src/fs/cpm/directory.rs:680:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl Directory { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 680 | pub fn remove_timestamps(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_root`, `long_name`, and `long_name_sub` are never read [INFO] [stdout] --> src/fs/fat/directory.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct FileInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 40 | pub is_root: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub long_name: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub long_name_sub: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg` is never read [INFO] [stdout] --> src/lang/merlin/context.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Fold { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub arg: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fold` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Enc44` is never constructed [INFO] [stdout] --> src/img/disk525.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum NibbleType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 36 | Enc44, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NibbleType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `epilog_mask` is never read [INFO] [stdout] --> src/img/disk525.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct SectorDataFormat { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | epilog_mask: [u8;3] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectorDataFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/fs/dos3x/types.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(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_FileType` [INFO] [stdout] 44 | pub enum FileType { [INFO] [stdout] | -------- `FileType` 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] --> src/fs/prodos/types.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(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_FileType` [INFO] [stdout] 110 | pub enum FileType { [INFO] [stdout] | -------- `FileType` 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] --> src/fs/prodos/types.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Clone,Copy,FromPrimitive,PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StorageType` [INFO] [stdout] 150 | pub enum StorageType { [INFO] [stdout] | ----------- `StorageType` 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] --> src/fs/prodos/types.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | #[derive(Clone,Copy,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_Access` [INFO] [stdout] 163 | pub enum Access { [INFO] [stdout] | ------ `Access` 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] --> src/fs/pascal/types.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(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_FileType` [INFO] [stdout] 72 | pub enum FileType { [INFO] [stdout] | -------- `FileType` 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] --> src/img/imd.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(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_Mode` [INFO] [stdout] 23 | pub enum Mode { [INFO] [stdout] | ---- `Mode` 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] --> src/img/imd.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(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_SectorData` [INFO] [stdout] 42 | pub enum SectorData { [INFO] [stdout] | ---------- `SectorData` 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] --> src/img/td0.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(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_SectorEncoding` [INFO] [stdout] 78 | pub enum SectorEncoding { [INFO] [stdout] | -------------- `SectorEncoding` 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] Compiling a2kit v3.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ws` [INFO] [stdout] --> src/lang/merlin/diagnostics/asm.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | curs: &TreeCursor, ctx: &mut Context, ws: &Workspace, symbols: &mut Symbols, diagnostics: &mut Vec) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ws` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_access` and `set_all_access` are never used [INFO] [stdout] --> src/fs/prodos/directory.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait Header { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 51 | fn set_access(&mut self,what: Access,which: bool); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | fn set_all_access(&mut self,what: u8); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_blocks` is never used [INFO] [stdout] --> src/fs/prodos/directory.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait Directory: DiskStruct + HasEntries { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 75 | fn total_blocks(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `aux` and `ftype` are never used [INFO] [stdout] --> src/fs/prodos/directory.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl Entry { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn aux(&self) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn ftype(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `timestamp_access` is never used [INFO] [stdout] --> src/fs/cpm/directory.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl Label { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn timestamp_access(&mut self,yes: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `maybe_set_access` and `maybe_set_update` are never used [INFO] [stdout] --> src/fs/cpm/directory.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 423 | impl Timestamp { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn maybe_set_access(dir: &mut Directory,lab: &Label,lx0: &Ptr,time: Option) -> STDRESULT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn maybe_set_update(dir: &mut Directory,lab: &Label,lx0: &Ptr,time: Option) -> STDRESULT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_timestamps` is never used [INFO] [stdout] --> src/fs/cpm/directory.rs:680:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl Directory { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 680 | pub fn remove_timestamps(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_root`, `long_name`, and `long_name_sub` are never read [INFO] [stdout] --> src/fs/fat/directory.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct FileInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 40 | pub is_root: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub long_name: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub long_name_sub: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg` is never read [INFO] [stdout] --> src/lang/merlin/context.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Fold { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub arg: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fold` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Enc44` is never constructed [INFO] [stdout] --> src/img/disk525.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum NibbleType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 36 | Enc44, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NibbleType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `epilog_mask` is never read [INFO] [stdout] --> src/img/disk525.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct SectorDataFormat { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | epilog_mask: [u8;3] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectorDataFormat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/fs/dos3x/types.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(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_FileType` [INFO] [stdout] 44 | pub enum FileType { [INFO] [stdout] | -------- `FileType` 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] --> src/fs/prodos/types.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(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_FileType` [INFO] [stdout] 110 | pub enum FileType { [INFO] [stdout] | -------- `FileType` 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] --> src/fs/prodos/types.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Clone,Copy,FromPrimitive,PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_StorageType` [INFO] [stdout] 150 | pub enum StorageType { [INFO] [stdout] | ----------- `StorageType` 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] --> src/fs/prodos/types.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | #[derive(Clone,Copy,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_Access` [INFO] [stdout] 163 | pub enum Access { [INFO] [stdout] | ------ `Access` 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] --> src/fs/pascal/types.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(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_FileType` [INFO] [stdout] 72 | pub enum FileType { [INFO] [stdout] | -------- `FileType` 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] --> src/img/imd.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(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_Mode` [INFO] [stdout] 23 | pub enum Mode { [INFO] [stdout] | ---- `Mode` 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] --> src/img/imd.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(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_SectorData` [INFO] [stdout] 42 | pub enum SectorData { [INFO] [stdout] | ---------- `SectorData` 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] --> src/img/td0.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(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_SectorEncoding` [INFO] [stdout] 78 | pub enum SectorEncoding { [INFO] [stdout] | -------------- `SectorEncoding` 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 14.67s [INFO] running `Command { std: "docker" "inspect" "12ff93890ebc3a3b870a9bfcd766b6b37fdcb2d3990e6e3d02ec6947bf858279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ff93890ebc3a3b870a9bfcd766b6b37fdcb2d3990e6e3d02ec6947bf858279", kill_on_drop: false }` [INFO] [stdout] 12ff93890ebc3a3b870a9bfcd766b6b37fdcb2d3990e6e3d02ec6947bf858279