[INFO] fetching crate arrcat 0.1.1... [INFO] testing arrcat-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] extracting crate arrcat 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate arrcat 0.1.1 [INFO] finished tweaking crates.io crate arrcat 0.1.1 [INFO] tweaked toml for crates.io crate arrcat 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate arrcat 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core_extensions_proc_macros v1.5.3 [INFO] [stderr] Downloaded core_extensions v1.5.3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c670d6169052c9771ad4029a3029b71c1618cc9a32b282ebe25bb0c2a3147bf6 [INFO] running `Command { std: "docker" "start" "-a" "c670d6169052c9771ad4029a3029b71c1618cc9a32b282ebe25bb0c2a3147bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c670d6169052c9771ad4029a3029b71c1618cc9a32b282ebe25bb0c2a3147bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c670d6169052c9771ad4029a3029b71c1618cc9a32b282ebe25bb0c2a3147bf6", kill_on_drop: false }` [INFO] [stdout] c670d6169052c9771ad4029a3029b71c1618cc9a32b282ebe25bb0c2a3147bf6 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d4f394291a92164b5314a495e5540ea043a58c38acb2afccf81edae1ff4bfbec [INFO] running `Command { std: "docker" "start" "-a" "d4f394291a92164b5314a495e5540ea043a58c38acb2afccf81edae1ff4bfbec", kill_on_drop: false }` [INFO] [stderr] Compiling arrcat v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `derive` [INFO] [stdout] --> src/lib.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "derive")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `derive` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "d4f394291a92164b5314a495e5540ea043a58c38acb2afccf81edae1ff4bfbec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f394291a92164b5314a495e5540ea043a58c38acb2afccf81edae1ff4bfbec", kill_on_drop: false }` [INFO] [stdout] d4f394291a92164b5314a495e5540ea043a58c38acb2afccf81edae1ff4bfbec [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 30a167c03544f9dfdbe6ab2583a40c72251edf1031980ea2dbc4585c3bd2dd5a [INFO] running `Command { std: "docker" "start" "-a" "30a167c03544f9dfdbe6ab2583a40c72251edf1031980ea2dbc4585c3bd2dd5a", kill_on_drop: false }` [INFO] [stderr] Compiling core_extensions_proc_macros v1.5.3 [INFO] [stdout] warning: unexpected `cfg` condition value: `derive` [INFO] [stdout] --> src/lib.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "derive")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `derive` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling core_extensions v1.5.3 [INFO] [stderr] Compiling arrcat v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `derive` [INFO] [stdout] --> src/lib.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "derive")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `derive` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/tests.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | let arr = concat_arrays!([f(3); 2]: ([T; 2])); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - let arr = concat_arrays!([f(3); 2]: ([T; 2])); [INFO] [stdout] 59 + let arr = concat_arrays!([f(3); 2]: [T; 2]); [INFO] [stdout] | [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/macros/concat_array_macro.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 230 | / {$crate::__declare_length_type_and_pass!( [INFO] [stdout] 231 | | $length_type, [INFO] [stdout] 232 | | { [INFO] [stdout] 233 | | let mut len = 0; [INFO] [stdout] ... | [INFO] [stdout] 237 | | )} [INFO] [stdout] | |__________________- move the `impl` block outside of this constant expression `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 392 | impl $length_type { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:276:54 [INFO] [stdout] | [INFO] [stdout] 276 | let _: &[u8] = &concat_arrays!(length_type = L;); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `L` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::__declare_length_type_and_pass` defines the non-local `impl`, and may need to be changed [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::__declare_length_type_and_pass` which comes from the expansion of the macro `concat_arrays` (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/macros/concat_array_macro.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 230 | / {$crate::__declare_length_type_and_pass!( [INFO] [stdout] 231 | | $length_type, [INFO] [stdout] 232 | | { [INFO] [stdout] 233 | | let mut len = 0; [INFO] [stdout] ... | [INFO] [stdout] 237 | | )} [INFO] [stdout] | |__________________- move the `impl` block outside of this constant expression `` and up 2 bodies [INFO] [stdout] ... [INFO] [stdout] 392 | impl $length_type { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:281:54 [INFO] [stdout] | [INFO] [stdout] 281 | let _: &[u8] = &concat_arrays!(length_type = L; [1]); [INFO] [stdout] | ------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | `L` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::__declare_length_type_and_pass` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `$crate::__declare_length_type_and_pass` which comes from the expansion of the macro `concat_arrays` (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/macros/concat_array_macro.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 230 | / {$crate::__declare_length_type_and_pass!( [INFO] [stdout] 231 | | $length_type, [INFO] [stdout] 232 | | { [INFO] [stdout] 233 | | let mut len = 0; [INFO] [stdout] ... | [INFO] [stdout] 237 | | )} [INFO] [stdout] | |__________________- move the `impl` block outside of this constant expression `` and up 3 bodies [INFO] [stdout] ... [INFO] [stdout] 392 | impl $length_type { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:287:62 [INFO] [stdout] | [INFO] [stdout] 287 | const A: [u8; L::LEN] = concat_arrays!(length_type = L; [1], [2; 3], C); [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `L` is not local [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `$crate::__declare_length_type_and_pass` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `$crate::__declare_length_type_and_pass` which comes from the expansion of the macro `concat_arrays` (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.17s [INFO] running `Command { std: "docker" "inspect" "30a167c03544f9dfdbe6ab2583a40c72251edf1031980ea2dbc4585c3bd2dd5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a167c03544f9dfdbe6ab2583a40c72251edf1031980ea2dbc4585c3bd2dd5a", kill_on_drop: false }` [INFO] [stdout] 30a167c03544f9dfdbe6ab2583a40c72251edf1031980ea2dbc4585c3bd2dd5a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9fd2deb1a693984b3258b3cdd34db7124426c060a6e5134541a4af026fede865 [INFO] running `Command { std: "docker" "start" "-a" "9fd2deb1a693984b3258b3cdd34db7124426c060a6e5134541a4af026fede865", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `derive` [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:69:7 [INFO] [stdout] running 10 tests [INFO] [stderr] | [INFO] [stdout] test tests::length_type_arg ... ok [INFO] [stderr] 69 | #[cfg(feature = "derive")] [INFO] [stdout] test tests::test_comma_sep ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] test tests::test_array_arg ... ok [INFO] [stderr] | [INFO] [stdout] test tests::test_const_arg ... ok [INFO] [stderr] = note: no expected values for `feature` [INFO] [stdout] test tests::test_empty_array ... ok [INFO] [stderr] = help: consider adding `derive` as a feature in `Cargo.toml` [INFO] [stdout] test tests::test_macro_called_by_macro ... ok [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stdout] test tests::test_many_args ... ok [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] test tests::test_runtime_expression_arg ... ok [INFO] [stderr] [INFO] [stdout] test tests::test_runtime_variable_arg ... ok [INFO] [stderr] warning: `arrcat` (lib) generated 1 warning [INFO] [stdout] test tests::test_path_args ... ok [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stdout] [INFO] [stderr] --> src/tests.rs:59:49 [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 59 | let arr = concat_arrays!([f(3); 2]: ([T; 2])); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 59 - let arr = concat_arrays!([f(3); 2]: ([T; 2])); [INFO] [stderr] 59 + let arr = concat_arrays!([f(3); 2]: [T; 2]); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/macros/concat_array_macro.rs:392:9 [INFO] [stderr] | [INFO] [stderr] 230 | / {$crate::__declare_length_type_and_pass!( [INFO] [stderr] 231 | | $length_type, [INFO] [stderr] 232 | | { [INFO] [stderr] 233 | | let mut len = 0; [INFO] [stderr] ... | [INFO] [stderr] 237 | | )} [INFO] [stderr] | |__________________- move the `impl` block outside of this constant expression `` and up 2 bodies [INFO] [stderr] ... [INFO] [stderr] 392 | impl $length_type { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/tests.rs:276:54 [INFO] [stderr] | [INFO] [stderr] 276 | let _: &[u8] = &concat_arrays!(length_type = L;); [INFO] [stderr] | -------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `L` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `$crate::__declare_length_type_and_pass` defines the non-local `impl`, and may need to be changed [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: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::__declare_length_type_and_pass` which comes from the expansion of the macro `concat_arrays` (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/macros/concat_array_macro.rs:392:9 [INFO] [stderr] | [INFO] [stderr] 230 | / {$crate::__declare_length_type_and_pass!( [INFO] [stderr] 231 | | $length_type, [INFO] [stderr] 232 | | { [INFO] [stderr] 233 | | let mut len = 0; [INFO] [stderr] ... | [INFO] [stderr] 237 | | )} [INFO] [stderr] | |__________________- move the `impl` block outside of this constant expression `` and up 2 bodies [INFO] [stderr] ... [INFO] [stderr] 392 | impl $length_type { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/tests.rs:281:54 [INFO] [stderr] | [INFO] [stderr] 281 | let _: &[u8] = &concat_arrays!(length_type = L; [1]); [INFO] [stderr] | ------------------------------------ [INFO] [stderr] | | | [INFO] [stderr] | | `L` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `$crate::__declare_length_type_and_pass` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `$crate::__declare_length_type_and_pass` which comes from the expansion of the macro `concat_arrays` (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/macros/concat_array_macro.rs:392:9 [INFO] [stderr] | [INFO] [stderr] 230 | / {$crate::__declare_length_type_and_pass!( [INFO] [stderr] 231 | | $length_type, [INFO] [stderr] 232 | | { [INFO] [stderr] 233 | | let mut len = 0; [INFO] [stderr] ... | [INFO] [stderr] 237 | | )} [INFO] [stderr] | |__________________- move the `impl` block outside of this constant expression `` and up 3 bodies [INFO] [stderr] ... [INFO] [stderr] 392 | impl $length_type { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/tests.rs:287:62 [INFO] [stderr] | [INFO] [stderr] 287 | const A: [u8; L::LEN] = concat_arrays!(length_type = L; [1], [2; 3], C); [INFO] [stderr] | ----------------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | `L` is not local [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `$crate::__declare_length_type_and_pass` defines the non-local `impl`, and may need to be changed [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: this warning originates in the macro `$crate::__declare_length_type_and_pass` which comes from the expansion of the macro `concat_arrays` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `arrcat` (lib test) generated 5 warnings (1 duplicate) (run `cargo fix --lib -p arrcat --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/arrcat-dd6fa39d6f36a217) [INFO] running `Command { std: "docker" "inspect" "9fd2deb1a693984b3258b3cdd34db7124426c060a6e5134541a4af026fede865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd2deb1a693984b3258b3cdd34db7124426c060a6e5134541a4af026fede865", kill_on_drop: false }` [INFO] [stdout] 9fd2deb1a693984b3258b3cdd34db7124426c060a6e5134541a4af026fede865