[INFO] cloning repository https://github.com/Vixenka/cdump [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vixenka/cdump" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVixenka%2Fcdump", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVixenka%2Fcdump'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1f03319289345faef4450c6ab49438eb3826840 [INFO] checking Vixenka/cdump against master#35d55b34bffd51384ac430cc20852b7d16dd5a90 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVixenka%2Fcdump" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Vixenka/cdump [INFO] finished tweaking git repo https://github.com/Vixenka/cdump [INFO] tweaked toml for git repo https://github.com/Vixenka/cdump written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Vixenka/cdump on toolchain 35d55b34bffd51384ac430cc20852b7d16dd5a90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Vixenka/cdump 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" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aligned-vec v0.6.1 [INFO] [stderr] Downloaded equator-macro v0.2.1 [INFO] [stderr] Downloaded equator v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aafb2899cfa97123411bfa511a3e788782b67d418fea19971a3eb013dcb44294 [INFO] running `Command { std: "docker" "start" "-a" "aafb2899cfa97123411bfa511a3e788782b67d418fea19971a3eb013dcb44294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aafb2899cfa97123411bfa511a3e788782b67d418fea19971a3eb013dcb44294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aafb2899cfa97123411bfa511a3e788782b67d418fea19971a3eb013dcb44294", kill_on_drop: false }` [INFO] [stdout] aafb2899cfa97123411bfa511a3e788782b67d418fea19971a3eb013dcb44294 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38a991992dcfde01bef64e65b24a727cc7cb41e1737a3c96635fcd953caff018 [INFO] running `Command { std: "docker" "start" "-a" "38a991992dcfde01bef64e65b24a727cc7cb41e1737a3c96635fcd953caff018", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking syn v2.0.68 [INFO] [stderr] Checking darling_core v0.20.10 [INFO] [stderr] Compiling equator-macro v0.2.1 [INFO] [stderr] Checking equator v0.2.2 [INFO] [stderr] Checking aligned-vec v0.6.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking cdump-macro v0.1.0 (/opt/rustwide/workdir/crates/macro) [INFO] [stderr] Checking cdump v0.1.0 (/opt/rustwide/workdir/crates/cdump) [INFO] [stderr] Checking tests v0.0.0 (/opt/rustwide/workdir/crates/tests) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/tests/tests/cstring_array.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(CDebug, CSerialize, CDeserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this associated function `deserialize_ref_mut_without_shallow_copy` [INFO] [stdout] 7 | #[repr(C)] [INFO] [stdout] 8 | struct Foo { [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CDeserialize` may come from an old version of the `cdump_macro` crate, try updating your dependency with `cargo update -p cdump_macro` [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 derive macro `CDeserialize` (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] --> crates/tests/tests/deserialize_to.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Clone, CSerialize, CDeserialize, CDebug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this associated function `deserialize_to_without_shallow_copy` [INFO] [stdout] 7 | #[repr(C)] [INFO] [stdout] 8 | struct DeepFoo { [INFO] [stdout] | ------- `DeepFoo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CDeserialize` may come from an old version of the `cdump_macro` crate, try updating your dependency with `cargo update -p cdump_macro` [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 derive macro `CDeserialize` (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] --> crates/tests/tests/deserialize_to.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Clone, CSerialize, CDeserialize, CDebug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this associated function `deserialize_ref_mut_without_shallow_copy` [INFO] [stdout] 7 | #[repr(C)] [INFO] [stdout] 8 | struct DeepFoo { [INFO] [stdout] | ------- `DeepFoo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CDeserialize` may come from an old version of the `cdump_macro` crate, try updating your dependency with `cargo update -p cdump_macro` [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 derive macro `CDeserialize` (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] --> crates/tests/tests/issues_notr_0.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(CDebug, Clone, Copy, CDeserialize, CSerialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this associated function `deserialize_ref_mut_without_shallow_copy` [INFO] [stdout] 10 | #[repr(C)] [INFO] [stdout] 11 | pub struct VkInstanceCreateInfo { [INFO] [stdout] | -------------------- `VkInstanceCreateInfo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CDeserialize` may come from an old version of the `cdump_macro` crate, try updating your dependency with `cargo update -p cdump_macro` [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 derive macro `CDeserialize` (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] --> crates/tests/tests/dynamic.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | #[derive(CSerialize, CDeserialize, CDebug)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this associated function `deserialize_ref_mut_without_shallow_copy` [INFO] [stdout] 115 | #[repr(C)] [INFO] [stdout] 116 | struct ArrayOfDynamicTypes { [INFO] [stdout] | ------------------- `ArrayOfDynamicTypes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CDeserialize` may come from an old version of the `cdump_macro` crate, try updating your dependency with `cargo update -p cdump_macro` [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 derive macro `CDeserialize` (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] --> crates/tests/tests/array.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(CDebug, CSerialize, CDeserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this associated function `deserialize_ref_mut_without_shallow_copy` [INFO] [stdout] 7 | #[repr(C)] [INFO] [stdout] 8 | struct DeepFoo { [INFO] [stdout] | ------- `DeepFoo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CDeserialize` may come from an old version of the `cdump_macro` crate, try updating your dependency with `cargo update -p cdump_macro` [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 derive macro `CDeserialize` (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] --> crates/tests/tests/array.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(CDebug, CSerialize, CDeserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this associated function `deserialize_to_without_shallow_copy` [INFO] [stdout] 70 | #[repr(C)] [INFO] [stdout] 71 | struct ArrayOfPrimitives { [INFO] [stdout] | ----------------- `ArrayOfPrimitives` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CDeserialize` may come from an old version of the `cdump_macro` crate, try updating your dependency with `cargo update -p cdump_macro` [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 derive macro `CDeserialize` (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] --> crates/tests/tests/array.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(CDebug, CSerialize, CDeserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this associated function `deserialize_ref_mut_without_shallow_copy` [INFO] [stdout] 70 | #[repr(C)] [INFO] [stdout] 71 | struct ArrayOfPrimitives { [INFO] [stdout] | ----------------- `ArrayOfPrimitives` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CDeserialize` may come from an old version of the `cdump_macro` crate, try updating your dependency with `cargo update -p cdump_macro` [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 derive macro `CDeserialize` (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] --> crates/tests/tests/array.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(CDebug, CSerialize, CDeserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this associated function `deserialize_to_without_shallow_copy` [INFO] [stdout] 102 | #[repr(C)] [INFO] [stdout] 103 | struct ArrayWithExpressionInLen { [INFO] [stdout] | ------------------------ `ArrayWithExpressionInLen` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CDeserialize` may come from an old version of the `cdump_macro` crate, try updating your dependency with `cargo update -p cdump_macro` [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 derive macro `CDeserialize` (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] --> crates/tests/tests/array.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(CDebug, CSerialize, CDeserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this associated function `deserialize_ref_mut_without_shallow_copy` [INFO] [stdout] 102 | #[repr(C)] [INFO] [stdout] 103 | struct ArrayWithExpressionInLen { [INFO] [stdout] | ------------------------ `ArrayWithExpressionInLen` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CDeserialize` may come from an old version of the `cdump_macro` crate, try updating your dependency with `cargo update -p cdump_macro` [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 derive macro `CDeserialize` (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] --> crates/tests/tests/array.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(CDebug, CSerialize, CDeserialize)] [INFO] [stdout] | ^----------- [INFO] [stdout] | | [INFO] [stdout] | move the `impl` block outside of this associated function `deserialize_ref_mut_without_shallow_copy` [INFO] [stdout] 134 | #[repr(C)] [INFO] [stdout] 135 | struct ArrayOfPointers { [INFO] [stdout] | --------------- `ArrayOfPointers` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `CDeserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `CDeserialize` may come from an old version of the `cdump_macro` crate, try updating your dependency with `cargo update -p cdump_macro` [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 derive macro `CDeserialize` (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 5.93s [INFO] running `Command { std: "docker" "inspect" "38a991992dcfde01bef64e65b24a727cc7cb41e1737a3c96635fcd953caff018", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a991992dcfde01bef64e65b24a727cc7cb41e1737a3c96635fcd953caff018", kill_on_drop: false }` [INFO] [stdout] 38a991992dcfde01bef64e65b24a727cc7cb41e1737a3c96635fcd953caff018