[INFO] fetching crate tonality 0.1.1... [INFO] testing tonality-0.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate tonality 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate tonality 0.1.1 [INFO] finished tweaking crates.io crate tonality 0.1.1 [INFO] tweaked toml for crates.io crate tonality 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tonality 0.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding proptest v0.9.6 (available: v1.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f06b733b7336fe2fbd697f40586bb4833184aa2cb8b1f861f897b8c2a69f0c7e [INFO] running `Command { std: "docker" "start" "-a" "f06b733b7336fe2fbd697f40586bb4833184aa2cb8b1f861f897b8c2a69f0c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f06b733b7336fe2fbd697f40586bb4833184aa2cb8b1f861f897b8c2a69f0c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06b733b7336fe2fbd697f40586bb4833184aa2cb8b1f861f897b8c2a69f0c7e", kill_on_drop: false }` [INFO] [stdout] f06b733b7336fe2fbd697f40586bb4833184aa2cb8b1f861f897b8c2a69f0c7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66756780db998f779406824d9604dacef5586536c6ed07775ca10c5bcd0b8a1f [INFO] running `Command { std: "docker" "start" "-a" "66756780db998f779406824d9604dacef5586536c6ed07775ca10c5bcd0b8a1f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tonality v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 58 | pub mod accidental; [INFO] [stdout] | ------------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 60 | pub mod alteration; [INFO] [stdout] | ------------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 62 | pub mod interval; [INFO] [stdout] | ---------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 64 | pub mod key; [INFO] [stdout] | ----------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 66 | pub mod step; [INFO] [stdout] | ------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 68 | pub mod tpc; [INFO] [stdout] | ----------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [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/accidental.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy, Debug, PartialEq, 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_Accidental` [INFO] [stdout] 6 | #[allow(missing_docs)] [INFO] [stdout] 7 | pub enum Accidental { [INFO] [stdout] | ---------- `Accidental` 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/interval.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug, PartialEq, FromPrimitive, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Interval` [INFO] [stdout] 12 | #[allow(missing_docs)] [INFO] [stdout] 13 | pub enum Interval { [INFO] [stdout] | -------- `Interval` 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/key.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, Debug, PartialEq, 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_Key` [INFO] [stdout] ... [INFO] [stdout] 12 | pub enum Key { [INFO] [stdout] | --- `Key` 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/step.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Eq, Ord, 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_Step` [INFO] [stdout] ... [INFO] [stdout] 16 | pub enum Step { [INFO] [stdout] | ---- `Step` 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/tpc.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Copy, PartialOrd, Ord, Eq, Debug, PartialEq, 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_Tpc` [INFO] [stdout] ... [INFO] [stdout] 21 | pub enum Tpc { [INFO] [stdout] | --- `Tpc` 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 4.85s [INFO] running `Command { std: "docker" "inspect" "66756780db998f779406824d9604dacef5586536c6ed07775ca10c5bcd0b8a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66756780db998f779406824d9604dacef5586536c6ed07775ca10c5bcd0b8a1f", kill_on_drop: false }` [INFO] [stdout] 66756780db998f779406824d9604dacef5586536c6ed07775ca10c5bcd0b8a1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a487b1b3f227d710fef990e4203c2c864f3b546eb6a6c4d8b0c4508c7ea7393d [INFO] running `Command { std: "docker" "start" "-a" "a487b1b3f227d710fef990e4203c2c864f3b546eb6a6c4d8b0c4508c7ea7393d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 58 | pub mod accidental; [INFO] [stdout] | ------------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 60 | pub mod alteration; [INFO] [stdout] | ------------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 62 | pub mod interval; [INFO] [stdout] | ---------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 64 | pub mod key; [INFO] [stdout] | ----------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 66 | pub mod step; [INFO] [stdout] | ------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 68 | pub mod tpc; [INFO] [stdout] | ----------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [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/accidental.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy, Debug, PartialEq, 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_Accidental` [INFO] [stdout] 6 | #[allow(missing_docs)] [INFO] [stdout] 7 | pub enum Accidental { [INFO] [stdout] | ---------- `Accidental` 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/interval.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug, PartialEq, FromPrimitive, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Interval` [INFO] [stdout] 12 | #[allow(missing_docs)] [INFO] [stdout] 13 | pub enum Interval { [INFO] [stdout] | -------- `Interval` 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/key.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, Debug, PartialEq, 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_Key` [INFO] [stdout] ... [INFO] [stdout] 12 | pub enum Key { [INFO] [stdout] | --- `Key` 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/step.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Eq, Ord, 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_Step` [INFO] [stdout] ... [INFO] [stdout] 16 | pub enum Step { [INFO] [stdout] | ---- `Step` 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/tpc.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Copy, PartialOrd, Ord, Eq, Debug, PartialEq, 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_Tpc` [INFO] [stdout] ... [INFO] [stdout] 21 | pub enum Tpc { [INFO] [stdout] | --- `Tpc` 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 rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling tonality v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 58 | pub mod accidental; [INFO] [stdout] | ------------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 60 | pub mod alteration; [INFO] [stdout] | ------------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 62 | pub mod interval; [INFO] [stdout] | ---------------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 64 | pub mod key; [INFO] [stdout] | ----------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 66 | pub mod step; [INFO] [stdout] | ------------ not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this attribute can only be applied to a `use` item [INFO] [stdout] --> src/lib.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[doc(inline)] [INFO] [stdout] | ^^^^^^ only applicable on `use` items [INFO] [stdout] 68 | pub mod tpc; [INFO] [stdout] | ----------- not a `use` item [INFO] [stdout] | [INFO] [stdout] = note: read for more information [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/accidental.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy, Debug, PartialEq, 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_Accidental` [INFO] [stdout] 6 | #[allow(missing_docs)] [INFO] [stdout] 7 | pub enum Accidental { [INFO] [stdout] | ---------- `Accidental` 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/interval.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug, PartialEq, FromPrimitive, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Interval` [INFO] [stdout] 12 | #[allow(missing_docs)] [INFO] [stdout] 13 | pub enum Interval { [INFO] [stdout] | -------- `Interval` 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/key.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Clone, Copy, Debug, PartialEq, 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_Key` [INFO] [stdout] ... [INFO] [stdout] 12 | pub enum Key { [INFO] [stdout] | --- `Key` 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/step.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Eq, Ord, 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_Step` [INFO] [stdout] ... [INFO] [stdout] 16 | pub enum Step { [INFO] [stdout] | ---- `Step` 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/tpc.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Copy, PartialOrd, Ord, Eq, Debug, PartialEq, 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_Tpc` [INFO] [stdout] ... [INFO] [stdout] 21 | pub enum Tpc { [INFO] [stdout] | --- `Tpc` 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 11.91s [INFO] running `Command { std: "docker" "inspect" "a487b1b3f227d710fef990e4203c2c864f3b546eb6a6c4d8b0c4508c7ea7393d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a487b1b3f227d710fef990e4203c2c864f3b546eb6a6c4d8b0c4508c7ea7393d", kill_on_drop: false }` [INFO] [stdout] a487b1b3f227d710fef990e4203c2c864f3b546eb6a6c4d8b0c4508c7ea7393d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 88145f9d1c9fe768d5174f89469c1ffdfe04055e9b0e7d529cd3833bf0b25fd0 [INFO] running `Command { std: "docker" "start" "-a" "88145f9d1c9fe768d5174f89469c1ffdfe04055e9b0e7d529cd3833bf0b25fd0", kill_on_drop: false }` [INFO] [stderr] warning: this attribute can only be applied to a `use` item [INFO] [stderr] --> src/lib.rs:57:7 [INFO] [stderr] | [INFO] [stderr] 57 | #[doc(inline)] [INFO] [stderr] | ^^^^^^ only applicable on `use` items [INFO] [stderr] 58 | pub mod accidental; [INFO] [stderr] | ------------------ not a `use` item [INFO] [stderr] | [INFO] [stderr] = note: read for more information [INFO] [stderr] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this attribute can only be applied to a `use` item [INFO] [stderr] --> src/lib.rs:59:7 [INFO] [stderr] | [INFO] [stderr] 59 | #[doc(inline)] [INFO] [stderr] | ^^^^^^ only applicable on `use` items [INFO] [stderr] 60 | pub mod alteration; [INFO] [stderr] | ------------------ not a `use` item [INFO] [stderr] | [INFO] [stderr] = note: read for more information [INFO] [stderr] [INFO] [stderr] warning: this attribute can only be applied to a `use` item [INFO] [stderr] --> src/lib.rs:61:7 [INFO] [stderr] | [INFO] [stderr] 61 | #[doc(inline)] [INFO] [stderr] | ^^^^^^ only applicable on `use` items [INFO] [stderr] 62 | pub mod interval; [INFO] [stderr] | ---------------- not a `use` item [INFO] [stderr] | [INFO] [stderr] = note: read for more information [INFO] [stderr] [INFO] [stderr] warning: this attribute can only be applied to a `use` item [INFO] [stderr] --> src/lib.rs:63:7 [INFO] [stderr] | [INFO] [stderr] 63 | #[doc(inline)] [INFO] [stderr] | ^^^^^^ only applicable on `use` items [INFO] [stderr] 64 | pub mod key; [INFO] [stderr] | ----------- not a `use` item [INFO] [stderr] | [INFO] [stderr] = note: read for more information [INFO] [stderr] [INFO] [stderr] warning: this attribute can only be applied to a `use` item [INFO] [stderr] --> src/lib.rs:65:7 [INFO] [stderr] | [INFO] [stderr] 65 | #[doc(inline)] [INFO] [stderr] | ^^^^^^ only applicable on `use` items [INFO] [stderr] 66 | pub mod step; [INFO] [stderr] | ------------ not a `use` item [INFO] [stderr] | [INFO] [stderr] = note: read for more information [INFO] [stderr] [INFO] [stderr] warning: this attribute can only be applied to a `use` item [INFO] [stderr] --> src/lib.rs:67:7 [INFO] [stderr] | [INFO] [stderr] 67 | #[doc(inline)] [INFO] [stderr] | ^^^^^^ only applicable on `use` items [INFO] [stderr] 68 | pub mod tpc; [INFO] [stderr] | ----------- not a `use` item [INFO] [stderr] | [INFO] [stderr] = note: read for more information [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/accidental.rs:5:41 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Copy, Debug, PartialEq, 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_Accidental` [INFO] [stderr] 6 | #[allow(missing_docs)] [INFO] [stderr] 7 | pub enum Accidental { [INFO] [stderr] | ---------- `Accidental` 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] --> src/interval.rs:11:41 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy, Debug, PartialEq, FromPrimitive, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Interval` [INFO] [stderr] 12 | #[allow(missing_docs)] [INFO] [stderr] 13 | pub enum Interval { [INFO] [stderr] | -------- `Interval` 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] --> src/key.rs:9:41 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Clone, Copy, Debug, PartialEq, 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_Key` [INFO] [stderr] ... [INFO] [stderr] 12 | pub enum Key { [INFO] [stderr] | --- `Key` 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] --> src/step.rs:13:62 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Eq, Ord, 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_Step` [INFO] [stderr] ... [INFO] [stderr] 16 | pub enum Step { [INFO] [stderr] | ---- `Step` 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] --> src/tpc.rs:17:62 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Clone, Copy, PartialOrd, Ord, Eq, Debug, PartialEq, 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_Tpc` [INFO] [stderr] ... [INFO] [stderr] 21 | pub enum Tpc { [INFO] [stderr] | --- `Tpc` 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: `tonality` (lib) generated 11 warnings [INFO] [stderr] warning: `tonality` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tonality-01a00cd4c9e5a08d) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test key::tests::test_root ... ok [INFO] [stdout] test tpc::tests::add_interval ... ok [INFO] [stdout] test step::tests::test_step_to_tpc ... ok [INFO] [stdout] test key::tests::test_scale_step ... ok [INFO] [stdout] test tpc::tests::test_enharmonic_transpose ... ok [INFO] [stdout] test tpc::tests::test_to_alter_with_key ... ok [INFO] [stdout] test tpc::tests::test_to_accidental ... ok [INFO] [stderr] Running tests/properties.rs (/opt/rustwide/target/debug/deps/properties-d47a77bf8c160058) [INFO] [stdout] test step::tests::test_with_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test prop_alter_keeps_step ... ok [INFO] [stdout] test prop_adding_key_keeps_step ... ok [INFO] [stdout] test first_scale_degree_is_root ... ok [INFO] [stdout] test tpc_interval_interval_associative ... ok [INFO] [stdout] test steps_accidentals_can_recompose ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests tonality [INFO] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> src/lib.rs:1:41 [INFO] [stderr] | [INFO] [stderr] 1 | #![warn(clippy::pedantic, missing_docs, missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> src/lib.rs:1:41 [INFO] [stderr] | [INFO] [stderr] 1 | #![warn(clippy::pedantic, missing_docs, missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the `rustdoc::missing_doc_code_examples` lint is unstable [INFO] [stderr] = note: see issue #101730 for more information [INFO] [stderr] = help: add `#![feature(rustdoc_missing_doc_code_examples)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2026-03-22; consider upgrading it if it is out of date [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/interval.rs - interval::Interval::enharmonic (line 54) ... ok [INFO] [stdout] test src/tpc.rs - tpc::Tpc::alter (line 129) ... ok [INFO] [stdout] test src/step.rs - step::Step::with_accidental (line 39) ... ok [INFO] [stdout] test src/tpc.rs - tpc::Tpc::enharmonic (line 146) ... ok [INFO] [stdout] test src/interval.rs - interval::Interval (line 7) ... ok [INFO] [stdout] test src/step.rs - step::Step::with_key (line 61) ... ok [INFO] [stdout] test src/tpc.rs - tpc::Tpc::alteration (line 66) ... ok [INFO] [stdout] test src/tpc.rs - tpc::Tpc::altered_step (line 102) ... ok [INFO] [stdout] test src/tpc.rs - tpc::Tpc::step (line 44) ... ok [INFO] [stdout] test src/key.rs - key::Key::root (line 63) ... ok [INFO] [stdout] test src/lib.rs - (line 41) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "88145f9d1c9fe768d5174f89469c1ffdfe04055e9b0e7d529cd3833bf0b25fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88145f9d1c9fe768d5174f89469c1ffdfe04055e9b0e7d529cd3833bf0b25fd0", kill_on_drop: false }` [INFO] [stdout] 88145f9d1c9fe768d5174f89469c1ffdfe04055e9b0e7d529cd3833bf0b25fd0