[INFO] fetching crate mumuse 0.7.0... [INFO] testing mumuse-0.7.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mumuse 0.7.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate mumuse 0.7.0 [INFO] finished tweaking crates.io crate mumuse 0.7.0 [INFO] tweaked toml for crates.io crate mumuse 0.7.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mumuse 0.7.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mumuse 0.7.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded coremidi-sys v2.0.2 [INFO] [stderr] Downloaded midir v0.7.0 [INFO] [stderr] Downloaded coremidi v0.4.0 [INFO] [stderr] Downloaded memalloc v0.1.0 [INFO] [stderr] Downloaded alsa v0.4.3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1822474062210ab73ba9ea27d57aa65c709d6a5969cd393c375106f7c7ea173 [INFO] running `Command { std: "docker" "start" "-a" "d1822474062210ab73ba9ea27d57aa65c709d6a5969cd393c375106f7c7ea173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1822474062210ab73ba9ea27d57aa65c709d6a5969cd393c375106f7c7ea173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1822474062210ab73ba9ea27d57aa65c709d6a5969cd393c375106f7c7ea173", kill_on_drop: false }` [INFO] [stdout] d1822474062210ab73ba9ea27d57aa65c709d6a5969cd393c375106f7c7ea173 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56e0e4213eba714e05e607e7394730df5e03c99bd697c7b15b5e1bf55ef290bf [INFO] running `Command { std: "docker" "start" "-a" "56e0e4213eba714e05e607e7394730df5e03c99bd697c7b15b5e1bf55ef290bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling memalloc v0.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling alsa v0.4.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling midir v0.7.0 [INFO] [stderr] Compiling mumuse v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/music/common.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Eq, PartialEq, 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_Letter` [INFO] [stdout] 21 | pub enum Letter { [INFO] [stdout] | ------ `Letter` 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/music/common.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, PartialEq, 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_Interval` [INFO] [stdout] 38 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.44s [INFO] running `Command { std: "docker" "inspect" "56e0e4213eba714e05e607e7394730df5e03c99bd697c7b15b5e1bf55ef290bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56e0e4213eba714e05e607e7394730df5e03c99bd697c7b15b5e1bf55ef290bf", kill_on_drop: false }` [INFO] [stdout] 56e0e4213eba714e05e607e7394730df5e03c99bd697c7b15b5e1bf55ef290bf [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f0fa27447adbb05203be3600502f171f9949a04a6f52474432cc591e6c9cd10 [INFO] running `Command { std: "docker" "start" "-a" "4f0fa27447adbb05203be3600502f171f9949a04a6f52474432cc591e6c9cd10", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/music/common.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Eq, PartialEq, 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_Letter` [INFO] [stdout] 21 | pub enum Letter { [INFO] [stdout] | ------ `Letter` 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/music/common.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, PartialEq, 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_Interval` [INFO] [stdout] 38 | 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] [stderr] Compiling mumuse v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/music/common.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Eq, PartialEq, 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_Letter` [INFO] [stdout] 21 | pub enum Letter { [INFO] [stdout] | ------ `Letter` 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/music/common.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, PartialEq, 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_Interval` [INFO] [stdout] 38 | 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.89s [INFO] running `Command { std: "docker" "inspect" "4f0fa27447adbb05203be3600502f171f9949a04a6f52474432cc591e6c9cd10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f0fa27447adbb05203be3600502f171f9949a04a6f52474432cc591e6c9cd10", kill_on_drop: false }` [INFO] [stdout] 4f0fa27447adbb05203be3600502f171f9949a04a6f52474432cc591e6c9cd10 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5636c23e96619ec85ba0b5365694acda312034f51b609d323ce2acf1ae3ba611 [INFO] running `Command { std: "docker" "start" "-a" "5636c23e96619ec85ba0b5365694acda312034f51b609d323ce2acf1ae3ba611", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/music/common.rs:20:45 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug, Eq, PartialEq, Clone, Copy, 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_Letter` [INFO] [stderr] 21 | pub enum Letter { [INFO] [stderr] | ------ `Letter` 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/music/common.rs:37:41 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Debug, PartialEq, Clone, Copy, 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_Interval` [INFO] [stderr] 38 | 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: `mumuse` (lib) generated 2 warnings [INFO] [stderr] warning: `mumuse` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mumuse-d52e81752aa3ba6a) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test music::chord::tests::from_str ... ok [INFO] [stdout] test music::chord::tests::transposition ... ok [INFO] [stdout] test music::chord::tests::inversion ... ok [INFO] [stdout] test music::note::tests::distance_between_notes ... ok [INFO] [stdout] test music::note::tests::note_add_interval ... ok [INFO] [stdout] test music::note::tests::note_from_str ... ok [INFO] [stdout] test music::note::tests::note_sub_interval ... ok [INFO] [stdout] test music::scale::tests::get_notes ... ok [INFO] [stdout] test music::scale::tests::get_one ... ok [INFO] [stdout] test music::scale::tests::get_two ... ok [INFO] [stdout] test music::scale::tests::major ... ok [INFO] [stdout] test music::scale::tests::minor ... ok [INFO] [stdout] test music::scale::tests::modes ... ok [INFO] [stdout] test music::time::tests::construct ... ok [INFO] [stdout] test music::time::tests::time_add_duration ... ok [INFO] [stdout] test tests::from_key_number_to_note ... ok [INFO] [stdout] test music::time::tests::time_add_duration_from_middle ... ok [INFO] [stdout] test music::stream::tests::add_event ... ok [INFO] [stdout] test music::time::tests::time_add_duration_exceed ... ok [INFO] [stdout] test music::time::tests::time_add_duration_triplet ... ok [INFO] [stderr] Doc-tests mumuse [INFO] [stdout] test music::stream::tests::sort_stream_time ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test src/music/duration.rs - music::duration::Duration::new (line 21) ... ok [INFO] [stdout] test src/music/chord.rs - music::chord::Chord (line 85) ... ok [INFO] [stdout] test src/music/chord.rs - music::chord::Chord::invert (line 39) ... ok [INFO] [stdout] test src/music/note.rs - music::note::Note::chord (line 43) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::five (line 240) ... ok [INFO] [stdout] test src/music/note.rs - music::note::Note::add (line 172) ... ok [INFO] [stdout] test src/music/duration.rs - music::duration::Duration::to_seconds (line 38) ... ok [INFO] [stdout] test src/music/note.rs - music::note::Note (line 108) ... ok [INFO] [stdout] test src/music/note.rs - music::note::Note::dist_to (line 80) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::four (line 224) ... ok [INFO] [stdout] test src/music/chord.rs - music::chord::Chord::new (line 21) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::by_degree (line 160) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::major (line 110) ... ok [INFO] [stdout] test src/music/note.rs - music::note::Note::sub (line 195) ... ok [INFO] [stdout] test src/music/chord.rs - music::chord::Chord (line 105) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::one (line 176) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::minor (line 126) ... ok [INFO] [stdout] test src/music/note.rs - music::note::Note::new (line 27) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::notes (line 314) ... ok [INFO] [stdout] test src/music/note.rs - music::note::Note (line 133) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::minor_harmonic (line 142) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::seven (line 272) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::six (line 256) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::three (line 208) ... ok [INFO] [stdout] test src/music/stream.rs - music::stream::Stream::to_seconds (line 95) ... ok [INFO] [stdout] test src/music/stream.rs - music::stream::Stream::new (line 39) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::two (line 192) ... ok [INFO] [stdout] test src/music/stream.rs - music::stream::Stream::add_event (line 53) ... ok [INFO] [stdout] test src/music/stream.rs - music::stream::Stream::add_note (line 71) ... ok [INFO] [stdout] test src/music/scale.rs - music::scale::Scale::mode (line 63) ... ok [INFO] [stdout] test src/music/time.rs - music::time::Time::new (line 28) ... ok [INFO] [stdout] test src/music/time.rs - music::time::Time::to_seconds (line 49) ... ok [INFO] [stdout] test src/music/time.rs - music::time::Time::add (line 71) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.85s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5636c23e96619ec85ba0b5365694acda312034f51b609d323ce2acf1ae3ba611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5636c23e96619ec85ba0b5365694acda312034f51b609d323ce2acf1ae3ba611", kill_on_drop: false }` [INFO] [stdout] 5636c23e96619ec85ba0b5365694acda312034f51b609d323ce2acf1ae3ba611