[INFO] fetching crate melo 0.1.0... [INFO] checking melo-0.1.0 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate melo 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate melo 0.1.0 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate melo 0.1.0 [INFO] finished tweaking crates.io crate melo 0.1.0 [INFO] tweaked toml for crates.io crate melo 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 77 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.6.10 (available: v1.1.3) [INFO] [stderr] Adding ansi_term v0.9.0 (available: v0.12.1) [INFO] [stderr] Adding ansi_term v0.10.2 (available: v0.12.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding byteorder v0.4.2 (available: v1.5.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding difference v1.0.0 (available: v2.0.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding lazy_static v1.0.2 (available: v1.5.0) [INFO] [stderr] Adding mktemp v0.3.1 (available: v0.5.1) [INFO] [stderr] Adding num v0.1.42 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.1.44 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.1.43 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.1.42 (available: v0.4.2) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding pretty_assertions v0.4.1 (available: v1.4.1) [INFO] [stderr] Adding quote v0.3.15 (available: v1.0.37) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding regex v0.2.11 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.5.6 (available: v0.8.4) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding structopt v0.1.7 (available: v0.3.26) [INFO] [stderr] Adding structopt-derive v0.1.6 (available: v0.4.18) [INFO] [stderr] Adding syn v0.11.11 (available: v2.0.79) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding thread_local v0.3.6 (available: v1.1.8) [INFO] [stderr] Adding ucd-util v0.1.10 (available: v0.2.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding unicode-xid v0.0.4 (available: v0.2.6) [INFO] [stderr] Adding uuid v0.1.18 (available: v1.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v1.0.2 [INFO] [stderr] Downloaded ansi_term v0.10.2 [INFO] [stderr] Downloaded rimd v0.0.1 [INFO] [stderr] Downloaded structopt v0.1.7 [INFO] [stderr] Downloaded mktemp v0.3.1 [INFO] [stderr] Downloaded structopt-derive v0.1.6 [INFO] [stderr] Downloaded pretty_assertions v0.4.1 [INFO] [stderr] Downloaded difference v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05e6c61566a6cb40be56727be0b21daf3f75c1dfbf964c1178826588639d0f3e [INFO] running `Command { std: "docker" "start" "-a" "05e6c61566a6cb40be56727be0b21daf3f75c1dfbf964c1178826588639d0f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05e6c61566a6cb40be56727be0b21daf3f75c1dfbf964c1178826588639d0f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05e6c61566a6cb40be56727be0b21daf3f75c1dfbf964c1178826588639d0f3e", kill_on_drop: false }` [INFO] [stdout] 05e6c61566a6cb40be56727be0b21daf3f75c1dfbf964c1178826588639d0f3e [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b41b7b8b648f8602e830a640ff59c8662485f037fe46b5ddcfc9692656b2bf2 [INFO] running `Command { std: "docker" "start" "-a" "7b41b7b8b648f8602e830a640ff59c8662485f037fe46b5ddcfc9692656b2bf2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking uuid v0.1.18 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking mktemp v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rimd v0.0.1 [INFO] [stderr] Checking structopt v0.1.7 [INFO] [stderr] Checking pretty_assertions v0.4.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking melo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexing/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / lazy_static! [INFO] [stdout] 31 | | { [INFO] [stdout] 32 | | static ref STRUCTURE_REGEX: Regex = Regex::new("\ [INFO] [stdout] 33 | | (?Ppart|piece|play|section|voice)|\ [INFO] [stdout] ... | [INFO] [stdout] 56 | | ").trust(); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexing/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / lazy_static! [INFO] [stdout] 31 | | { [INFO] [stdout] 32 | | static ref STRUCTURE_REGEX: Regex = Regex::new("\ [INFO] [stdout] 33 | | (?Ppart|piece|play|section|voice)|\ [INFO] [stdout] ... | [INFO] [stdout] 56 | | ").trust(); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexing/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / lazy_static! [INFO] [stdout] 31 | | { [INFO] [stdout] 32 | | static ref STRUCTURE_REGEX: Regex = Regex::new("\ [INFO] [stdout] 33 | | (?Ppart|piece|play|section|voice)|\ [INFO] [stdout] ... | [INFO] [stdout] 56 | | ").trust(); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexing/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / lazy_static! [INFO] [stdout] 31 | | { [INFO] [stdout] 32 | | static ref STRUCTURE_REGEX: Regex = Regex::new("\ [INFO] [stdout] 33 | | (?Ppart|piece|play|section|voice)|\ [INFO] [stdout] ... | [INFO] [stdout] 56 | | ").trust(); [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/error.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SourceInfo [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/abc_generation/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_AbcGenerationError` [INFO] [stdout] 6 | pub struct AbcGenerationError [INFO] [stdout] | ------------------ `AbcGenerationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/lexing/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_LexingError` [INFO] [stdout] 6 | pub struct LexingError [INFO] [stdout] | ----------- `LexingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/parsing/error.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParsingError` [INFO] [stdout] 7 | pub struct ParsingError [INFO] [stdout] | ------------ `ParsingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/sequencing/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SequencingError` [INFO] [stdout] 6 | pub struct SequencingError [INFO] [stdout] | --------------- `SequencingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | test_abc!(simple_drums); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | test_abc!(variable_drum_bars); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | test_abc!(variable_stave_drum_bars); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | test_abc!(triple_time_expansion); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | test_abc!(triplets); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | test_abc!(quintuplets); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | test_abc!(not_sextuplets); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | test_abc!(voice_args); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | test_abc!(octave_shift); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | test_abc!(simple_melody); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | test_abc!(complex_melody); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | test_abc!(longer_melody); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_to_abc_tests.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = melo::compile_to_abc(source, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | test_abc!(fifths); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_abc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/error.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SourceInfo [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_pieces_to_abc_tests.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | match melo::compile_to_abc(source, Some(filename)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | test_piece!(minimal_melody); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `test_piece` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_pieces_to_abc_tests.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | match melo::compile_to_abc(source, Some(filename)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | test_piece!(minimal_drums); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_piece` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_pieces_to_abc_tests.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | match melo::compile_to_abc(source, Some(filename)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | test_piece!(minimal_chords); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_piece` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_pieces_to_abc_tests.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | match melo::compile_to_abc(source, Some(filename)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | test_piece!(multiple_instruments); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_piece` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_pieces_to_abc_tests.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | match melo::compile_to_abc(source, Some(filename)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | test_piece!(time_and_tempo); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_piece` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_pieces_to_abc_tests.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | match melo::compile_to_abc(source, Some(filename)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | test_piece!(polyrhythms); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_piece` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_pieces_to_abc_tests.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | match melo::compile_to_abc(source, Some(filename)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | test_piece!(rondo_alla_turca); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_piece` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> tests/compile_pieces_to_abc_tests.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | match melo::compile_to_abc(source, Some(filename)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | test_piece!(too_many_staves); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_piece` (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/abc_generation/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_AbcGenerationError` [INFO] [stdout] 6 | pub struct AbcGenerationError [INFO] [stdout] | ------------------ `AbcGenerationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/lexing/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_LexingError` [INFO] [stdout] 6 | pub struct LexingError [INFO] [stdout] | ----------- `LexingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/parsing/error.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ParsingError` [INFO] [stdout] 7 | pub struct ParsingError [INFO] [stdout] | ------------ `ParsingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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/sequencing/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SequencingError` [INFO] [stdout] 6 | pub struct SequencingError [INFO] [stdout] | --------------- `SequencingError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> src/main.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 325 | let result = melo::compile_to_abc(&source, filename.and_then(Path::to_str))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `melo::compile_to_abc` [INFO] [stdout] --> src/main.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 325 | let result = melo::compile_to_abc(&source, filename.and_then(Path::to_str))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MeloCommand` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_MeloCommand` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (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/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MeloCommand` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_MeloCommand` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (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/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RefCommand` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_RefCommand` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (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/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RefCommand` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_RefCommand` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [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/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MeloCommand` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_MeloCommand` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (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/main.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MeloCommand` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_MeloCommand` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (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/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RefCommand` is not local [INFO] [stdout] | `StructOpt` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_RefCommand` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (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/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, StructOpt)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RefCommand` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_STRUCTOPT_FOR_RefCommand` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StructOpt` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StructOpt` may come from an old version of the `structopt_derive` crate, try updating your dependency with `cargo update -p structopt_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "7b41b7b8b648f8602e830a640ff59c8662485f037fe46b5ddcfc9692656b2bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b41b7b8b648f8602e830a640ff59c8662485f037fe46b5ddcfc9692656b2bf2", kill_on_drop: false }` [INFO] [stdout] 7b41b7b8b648f8602e830a640ff59c8662485f037fe46b5ddcfc9692656b2bf2