[INFO] fetching crate mumuse 0.7.0... [INFO] building mumuse-0.7.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate mumuse 0.7.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mumuse 0.7.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core-foundation v0.2.3 [INFO] [stderr] Downloaded memalloc v0.1.0 [INFO] [stderr] Downloaded num-complex v0.4.0 [INFO] [stderr] Downloaded coremidi-sys v2.0.2 [INFO] [stderr] Downloaded coremidi v0.4.0 [INFO] [stderr] Downloaded colored v2.0.0 [INFO] [stderr] Downloaded core-foundation-sys v0.2.3 [INFO] [stderr] Downloaded midir v0.7.0 [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded itertools v0.10.3 [INFO] [stderr] Downloaded getrandom v0.2.4 [INFO] [stderr] Downloaded quote v1.0.14 [INFO] [stderr] Downloaded syn v1.0.85 [INFO] [stderr] Downloaded tokio v1.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27bcdbc3c00ef91a2d0c071f05816a6d0df32f6714d51b3ef203db7fc15990cb [INFO] running `Command { std: "docker" "start" "-a" "27bcdbc3c00ef91a2d0c071f05816a6d0df32f6714d51b3ef203db7fc15990cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27bcdbc3c00ef91a2d0c071f05816a6d0df32f6714d51b3ef203db7fc15990cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27bcdbc3c00ef91a2d0c071f05816a6d0df32f6714d51b3ef203db7fc15990cb", kill_on_drop: false }` [INFO] [stdout] 27bcdbc3c00ef91a2d0c071f05816a6d0df32f6714d51b3ef203db7fc15990cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fc7be3c4c23b15e586a369ceb9a93fff6fa87a3fdaca5648eeeb0d23246f93b [INFO] running `Command { std: "docker" "start" "-a" "2fc7be3c4c23b15e586a369ceb9a93fff6fa87a3fdaca5648eeeb0d23246f93b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling memalloc v0.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling num v0.4.0 [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 alsa v0.4.3 [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 17.81s [INFO] running `Command { std: "docker" "inspect" "2fc7be3c4c23b15e586a369ceb9a93fff6fa87a3fdaca5648eeeb0d23246f93b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc7be3c4c23b15e586a369ceb9a93fff6fa87a3fdaca5648eeeb0d23246f93b", kill_on_drop: false }` [INFO] [stdout] 2fc7be3c4c23b15e586a369ceb9a93fff6fa87a3fdaca5648eeeb0d23246f93b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89e5d7dfd88fe1ce25d9a86958aecdf2836da2122f35ec6f518994ae30b1b5d [INFO] running `Command { std: "docker" "start" "-a" "c89e5d7dfd88fe1ce25d9a86958aecdf2836da2122f35ec6f518994ae30b1b5d", 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.43s [INFO] running `Command { std: "docker" "inspect" "c89e5d7dfd88fe1ce25d9a86958aecdf2836da2122f35ec6f518994ae30b1b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89e5d7dfd88fe1ce25d9a86958aecdf2836da2122f35ec6f518994ae30b1b5d", kill_on_drop: false }` [INFO] [stdout] c89e5d7dfd88fe1ce25d9a86958aecdf2836da2122f35ec6f518994ae30b1b5d