[INFO] fetching crate sppparse 0.1.4... [INFO] checking sppparse-0.1.4 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate sppparse 0.1.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sppparse 0.1.4 [INFO] finished tweaking crates.io crate sppparse 0.1.4 [INFO] tweaked toml for crates.io crate sppparse 0.1.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sppparse 0.1.4 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sppparse 0.1.4 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb32ff4928b6843d804d553912db29d2d1e6960992e2a6df70ba1c4590306fcd [INFO] running `Command { std: "docker" "start" "-a" "cb32ff4928b6843d804d553912db29d2d1e6960992e2a6df70ba1c4590306fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb32ff4928b6843d804d553912db29d2d1e6960992e2a6df70ba1c4590306fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb32ff4928b6843d804d553912db29d2d1e6960992e2a6df70ba1c4590306fcd", kill_on_drop: false }` [INFO] [stdout] cb32ff4928b6843d804d553912db29d2d1e6960992e2a6df70ba1c4590306fcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac727d41384bb46a010f83662152fc4cf506a9f7760d3516e33f1a3417bdf9e9 [INFO] running `Command { std: "docker" "start" "-a" "ac727d41384bb46a010f83662152fc4cf506a9f7760d3516e33f1a3417bdf9e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking path-dedot v3.0.12 [INFO] [stderr] Checking similar v1.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking path-absolutize v3.0.10 [INFO] [stderr] Checking path-clean v0.1.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.8.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling getset v0.1.1 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking serde_yaml v0.8.15 [INFO] [stderr] Checking serde_path_to_error v0.1.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking insta v1.7.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sppparse_derive v0.1.3 [INFO] [stderr] Checking sppparse v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/update.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, Serialize, Sparsable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_sppparse_SparsableTrait_FOR_ObjectExampleParsed` [INFO] [stdout] 9 | struct ObjectExampleParsed { [INFO] [stdout] | ------------------- `ObjectExampleParsed` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Sparsable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Sparsable` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Sparsable` (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] --> examples/read_multi_file.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, Serialize, Sparsable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_sppparse_SparsableTrait_FOR_ObjectExampleParsed` [INFO] [stdout] 9 | struct ObjectExampleParsed { [INFO] [stdout] | ------------------- `ObjectExampleParsed` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Sparsable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Sparsable` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Sparsable` (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] --> examples/read_single_file_inline.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, Serialize, Sparsable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_sppparse_SparsableTrait_FOR_ObjectExampleParsed` [INFO] [stdout] 9 | struct ObjectExampleParsed { [INFO] [stdout] | ------------------- `ObjectExampleParsed` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Sparsable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Sparsable` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Sparsable` (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] --> examples/read_single_file.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Deserialize, Serialize, Sparsable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_sppparse_SparsableTrait_FOR_ObjectExampleParsed` [INFO] [stdout] 9 | struct ObjectExampleParsed { [INFO] [stdout] | ------------------- `ObjectExampleParsed` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Sparsable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Sparsable` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Sparsable` (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] --> examples/read_single_in_memory_simple.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Deserialize, Serialize, Sparsable)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_sppparse_SparsableTrait_FOR_ObjectExampleParsed` [INFO] [stdout] 10 | struct ObjectExampleParsed { [INFO] [stdout] | ------------------- `ObjectExampleParsed` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Sparsable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Sparsable` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Sparsable` (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/tests/mod.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStruct1` [INFO] [stdout] 42 | pub(super) struct SimpleStruct1 { [INFO] [stdout] | ------------- `SimpleStruct1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SparsableInner` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `SparsableInner` (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/tests/mod.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStructInline1` [INFO] [stdout] 50 | pub(super) struct SimpleStructInline1 { [INFO] [stdout] | ------------------- `SimpleStructInline1` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SparsableInner` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `SparsableInner` (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/tests/mod.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStruct2` [INFO] [stdout] 58 | pub(super) struct SimpleStruct2 { [INFO] [stdout] | ------------- `SimpleStruct2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SparsableInner` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `SparsableInner` (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/tests/mod.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStruct3` [INFO] [stdout] 66 | pub(super) struct SimpleStruct3 { [INFO] [stdout] | ------------- `SimpleStruct3` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SparsableInner` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `SparsableInner` (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/tests/mod.rs:78:34 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SparsableTrait` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStructInline3` [INFO] [stdout] 79 | pub(super) struct SimpleStructInline3 { [INFO] [stdout] | ------------------- `SimpleStructInline3` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SparsableInner` may come from an old version of the `sppparse_derive` crate, try updating your dependency with `cargo update -p sppparse_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `SparsableInner` (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 19.29s [INFO] running `Command { std: "docker" "inspect" "ac727d41384bb46a010f83662152fc4cf506a9f7760d3516e33f1a3417bdf9e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac727d41384bb46a010f83662152fc4cf506a9f7760d3516e33f1a3417bdf9e9", kill_on_drop: false }` [INFO] [stdout] ac727d41384bb46a010f83662152fc4cf506a9f7760d3516e33f1a3417bdf9e9