[INFO] fetching crate arrcat 0.1.1... [INFO] checking arrcat-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate arrcat 0.1.1 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate arrcat 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core_extensions_proc_macros v1.5.4 [INFO] [stderr] Downloaded core_extensions v1.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c26fc1d5a3d43d72e528b3a215520a8c545fa8b55b5658045724b917e47e011e [INFO] running `Command { std: "docker" "start" "-a" "c26fc1d5a3d43d72e528b3a215520a8c545fa8b55b5658045724b917e47e011e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c26fc1d5a3d43d72e528b3a215520a8c545fa8b55b5658045724b917e47e011e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26fc1d5a3d43d72e528b3a215520a8c545fa8b55b5658045724b917e47e011e", kill_on_drop: false }` [INFO] [stdout] c26fc1d5a3d43d72e528b3a215520a8c545fa8b55b5658045724b917e47e011e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10927282f88f3c1b59061a9eed09bf0fbc60d5927d33fc5ab0e72ee27837b295 [INFO] running `Command { std: "docker" "start" "-a" "10927282f88f3c1b59061a9eed09bf0fbc60d5927d33fc5ab0e72ee27837b295", kill_on_drop: false }` [INFO] [stderr] Compiling core_extensions_proc_macros v1.5.4 [INFO] [stderr] Checking 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] Checking core_extensions v1.5.4 [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 `dev` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "10927282f88f3c1b59061a9eed09bf0fbc60d5927d33fc5ab0e72ee27837b295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10927282f88f3c1b59061a9eed09bf0fbc60d5927d33fc5ab0e72ee27837b295", kill_on_drop: false }` [INFO] [stdout] 10927282f88f3c1b59061a9eed09bf0fbc60d5927d33fc5ab0e72ee27837b295