[INFO] fetching crate sppparse 0.1.4... [INFO] testing sppparse-0.1.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate sppparse 0.1.4 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sppparse 0.1.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getset v0.1.1 [INFO] [stderr] Downloaded getrandom v0.2.1 [INFO] [stderr] Downloaded serde_path_to_error v0.1.4 [INFO] [stderr] Downloaded path-dedot v3.0.12 [INFO] [stderr] Downloaded terminal_size v0.1.16 [INFO] [stderr] Downloaded sppparse_derive v0.1.3 [INFO] [stderr] Downloaded path-absolutize v3.0.10 [INFO] [stderr] Downloaded rand v0.8.1 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba3a7e5b22090283ce7ae759f336b0f386ecefae4fa644194bf9a8ae93de4890 [INFO] running `Command { std: "docker" "start" "-a" "ba3a7e5b22090283ce7ae759f336b0f386ecefae4fa644194bf9a8ae93de4890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba3a7e5b22090283ce7ae759f336b0f386ecefae4fa644194bf9a8ae93de4890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba3a7e5b22090283ce7ae759f336b0f386ecefae4fa644194bf9a8ae93de4890", kill_on_drop: false }` [INFO] [stdout] ba3a7e5b22090283ce7ae759f336b0f386ecefae4fa644194bf9a8ae93de4890 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33c5e35f8422172b95267baccbe2d953b63885d9a8180c78fd6d6a0182890e49 [INFO] running `Command { std: "docker" "start" "-a" "33c5e35f8422172b95267baccbe2d953b63885d9a8180c78fd6d6a0182890e49", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling path-dedot v3.0.12 [INFO] [stderr] Compiling path-absolutize v3.0.10 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling getset v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_path_to_error v0.1.4 [INFO] [stderr] Compiling serde_yaml v0.8.15 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sppparse_derive v0.1.3 [INFO] [stderr] Compiling sppparse v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.54s [INFO] running `Command { std: "docker" "inspect" "33c5e35f8422172b95267baccbe2d953b63885d9a8180c78fd6d6a0182890e49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c5e35f8422172b95267baccbe2d953b63885d9a8180c78fd6d6a0182890e49", kill_on_drop: false }` [INFO] [stdout] 33c5e35f8422172b95267baccbe2d953b63885d9a8180c78fd6d6a0182890e49 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cccf5aee1c227eca083633ede9a2889d88f15362aa5c999092d23076f5a3d2e4 [INFO] running `Command { std: "docker" "start" "-a" "cccf5aee1c227eca083633ede9a2889d88f15362aa5c999092d23076f5a3d2e4", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling similar v1.3.0 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling insta v1.7.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling 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/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] --> 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/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] --> 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 `test` profile [unoptimized + debuginfo] target(s) in 11.12s [INFO] running `Command { std: "docker" "inspect" "cccf5aee1c227eca083633ede9a2889d88f15362aa5c999092d23076f5a3d2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cccf5aee1c227eca083633ede9a2889d88f15362aa5c999092d23076f5a3d2e4", kill_on_drop: false }` [INFO] [stdout] cccf5aee1c227eca083633ede9a2889d88f15362aa5c999092d23076f5a3d2e4 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 48b5778ab4b0bad497be8646c31bb6f5f6bafa189f808b511bbb835f1b8e8493 [INFO] running `Command { std: "docker" "start" "-a" "48b5778ab4b0bad497be8646c31bb6f5f6bafa189f808b511bbb835f1b8e8493", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/read_single_file_inline.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Deserialize, Serialize, Sparsable)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `SparsableTrait` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_sppparse_SparsableTrait_FOR_ObjectExampleParsed` [INFO] [stderr] 9 | struct ObjectExampleParsed { [INFO] [stderr] | ------------------- `ObjectExampleParsed` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Sparsable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Sparsable` (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] --> examples/update.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Deserialize, Serialize, Sparsable)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `SparsableTrait` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_sppparse_SparsableTrait_FOR_ObjectExampleParsed` [INFO] [stderr] 9 | struct ObjectExampleParsed { [INFO] [stderr] | ------------------- `ObjectExampleParsed` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Sparsable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Sparsable` (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] --> examples/read_single_file.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Deserialize, Serialize, Sparsable)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `SparsableTrait` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_sppparse_SparsableTrait_FOR_ObjectExampleParsed` [INFO] [stderr] 9 | struct ObjectExampleParsed { [INFO] [stderr] | ------------------- `ObjectExampleParsed` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Sparsable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Sparsable` (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/tests/mod.rs:41:34 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `SparsableTrait` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStruct1` [INFO] [stderr] 42 | pub(super) struct SimpleStruct1 { [INFO] [stderr] | ------------- `SimpleStruct1` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `SparsableInner` (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/tests/mod.rs:49:34 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `SparsableTrait` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStructInline1` [INFO] [stderr] 50 | pub(super) struct SimpleStructInline1 { [INFO] [stderr] | ------------------- `SimpleStructInline1` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = note: this warning originates in the derive macro `SparsableInner` (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/tests/mod.rs:57:34 [INFO] [stderr] | [INFO] [stderr] 57 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `SparsableTrait` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStruct2` [INFO] [stderr] 58 | pub(super) struct SimpleStruct2 { [INFO] [stderr] | ------------- `SimpleStruct2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = note: this warning originates in the derive macro `SparsableInner` (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/tests/mod.rs:65:34 [INFO] [stderr] | [INFO] [stderr] 65 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `SparsableTrait` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStruct3` [INFO] [stderr] 66 | pub(super) struct SimpleStruct3 { [INFO] [stderr] | ------------- `SimpleStruct3` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = note: this warning originates in the derive macro `SparsableInner` (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/tests/mod.rs:78:34 [INFO] [stderr] | [INFO] [stderr] 78 | #[derive(Serialize, Deserialize, SparsableInner, Debug, Getters)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `SparsableTrait` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_SparsableTrait_FOR_SimpleStructInline3` [INFO] [stderr] 79 | pub(super) struct SimpleStructInline3 { [INFO] [stderr] | ------------------- `SimpleStructInline3` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `SparsableInner` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = note: this warning originates in the derive macro `SparsableInner` (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] --> examples/read_multi_file.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug, Deserialize, Serialize, Sparsable)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `SparsableTrait` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_sppparse_SparsableTrait_FOR_ObjectExampleParsed` [INFO] [stderr] 9 | struct ObjectExampleParsed { [INFO] [stderr] | ------------------- `ObjectExampleParsed` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Sparsable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Sparsable` (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] --> examples/read_single_in_memory_simple.rs:9:41 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Deserialize, Serialize, Sparsable)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `SparsableTrait` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_sppparse_SparsableTrait_FOR_ObjectExampleParsed` [INFO] [stderr] 10 | struct ObjectExampleParsed { [INFO] [stderr] | ------------------- `ObjectExampleParsed` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Sparsable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Sparsable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `sppparse` (example "read_single_file_inline") generated 1 warning [INFO] [stderr] warning: `sppparse` (example "update") generated 1 warning [INFO] [stderr] warning: `sppparse` (example "read_single_file") generated 1 warning [INFO] [stderr] warning: `sppparse` (lib test) generated 5 warnings [INFO] [stderr] warning: `sppparse` (example "read_multi_file") generated 1 warning [INFO] [stderr] warning: `sppparse` (example "read_single_in_memory_simple") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sppparse-2e3c73a437bfdfc3) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test tests::inline::nested ... ok [INFO] [stdout] test tests::pfile_path::get_pfile_path_distant_distant_ref_relative ... ok [INFO] [stdout] test tests::inline::nested_struct ... ok [INFO] [stdout] test tests::inline::simple ... ok [INFO] [stdout] test tests::inline::simple_struct ... ok [INFO] [stdout] test tests::inline::nested_mut ... ok [INFO] [stdout] test tests::pfile_path::get_pfile_path_local ... ok [INFO] [stdout] test tests::pointer_parsing::ref_pointer_distant_absolute ... ok [INFO] [stdout] test tests::pfile_path::get_pfile_path_local_no_distant ... ok [INFO] [stdout] test tests::pointer_parsing::ref_pointer_distant_simple ... ok [INFO] [stdout] test tests::pointer_parsing::ref_pointer_distant_additional_hashtag ... ok [INFO] [stdout] test tests::pointer_parsing::ref_pointer_local_missing_slash ... ok [INFO] [stdout] test tests::pointer_parsing::ref_pointer_local_simple ... ok [INFO] [stdout] test tests::pointer_parsing::ref_pointer_local_with_1_hashtag ... ok [INFO] [stdout] test tests::pointer_parsing::ref_pointer_local_with_multiple_hashtags ... ok [INFO] [stdout] test tests::recursive::double ... ok [INFO] [stdout] test tests::recursive::simple ... ok [INFO] [stdout] test tests::ref_get_distant::distant_nested ... ok [INFO] [stdout] test tests::ref_get_distant::distant_other ... ok [INFO] [stdout] test tests::ref_get_distant::distant_self ... ok [INFO] [stdout] test tests::ref_get_distant::simple ... ok [INFO] [stdout] test tests::ref_get_local::distant ... ok [INFO] [stdout] test tests::ref_get_local::list ... ok [INFO] [stdout] test tests::ref_get_local::not_found ... ok [INFO] [stdout] test tests::ref_get_local::simple ... ok [INFO] [stdout] test tests::pfile_path::get_pfile_path_distant_local_ref ... ok [INFO] [stdout] test tests::simple_obj::simple_obj ... ok [INFO] [stdout] test tests::simple_obj::wrong_type ... ok [INFO] [stdout] test tests::updating::modify_nested ... ok [INFO] [stdout] test tests::updating::modify_root ... ok [INFO] [stdout] test tests::save_file::save_single_file ... ok [INFO] [stderr] Doc-tests sppparse [INFO] [stdout] test tests::save_file::save_change_type2 ... ok [INFO] [stdout] test tests::save_file::save_multiple_files ... ok [INFO] [stdout] test tests::save_file::save_change_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 163) ... ok [INFO] [stdout] test src/lib.rs - (line 77) ... ok [INFO] [stdout] test src/lib.rs - (line 27) ... ok [INFO] [stdout] test src/lib.rs - (line 122) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "48b5778ab4b0bad497be8646c31bb6f5f6bafa189f808b511bbb835f1b8e8493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48b5778ab4b0bad497be8646c31bb6f5f6bafa189f808b511bbb835f1b8e8493", kill_on_drop: false }` [INFO] [stdout] 48b5778ab4b0bad497be8646c31bb6f5f6bafa189f808b511bbb835f1b8e8493