[INFO] fetching crate nanoserde 0.1.35... [INFO] checking nanoserde-0.1.35 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate nanoserde 0.1.35 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate nanoserde 0.1.35 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nanoserde 0.1.35 [INFO] finished tweaking crates.io crate nanoserde 0.1.35 [INFO] tweaked toml for crates.io crate nanoserde 0.1.35 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nanoserde-derive v0.1.21 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c3ad51afcc67e53f44203ec38ac9e47eb7bddac738c71f483e6f7225a0bd866 [INFO] running `Command { std: "docker" "start" "-a" "9c3ad51afcc67e53f44203ec38ac9e47eb7bddac738c71f483e6f7225a0bd866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c3ad51afcc67e53f44203ec38ac9e47eb7bddac738c71f483e6f7225a0bd866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c3ad51afcc67e53f44203ec38ac9e47eb7bddac738c71f483e6f7225a0bd866", kill_on_drop: false }` [INFO] [stdout] 9c3ad51afcc67e53f44203ec38ac9e47eb7bddac738c71f483e6f7225a0bd866 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b69ece27a963945eb8c4298cd9e53631c4c7a85e7e2662b0ed1fb78d6a60c79a [INFO] running `Command { std: "docker" "start" "-a" "b69ece27a963945eb8c4298cd9e53631c4c7a85e7e2662b0ed1fb78d6a60c79a", kill_on_drop: false }` [INFO] [stderr] Compiling nanoserde-derive v0.1.21 [INFO] [stderr] Checking nanoserde v0.1.35 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "b69ece27a963945eb8c4298cd9e53631c4c7a85e7e2662b0ed1fb78d6a60c79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b69ece27a963945eb8c4298cd9e53631c4c7a85e7e2662b0ed1fb78d6a60c79a", kill_on_drop: false }` [INFO] [stdout] b69ece27a963945eb8c4298cd9e53631c4c7a85e7e2662b0ed1fb78d6a60c79a [INFO] checking nanoserde-0.1.35 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate nanoserde 0.1.35 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate nanoserde 0.1.35 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nanoserde 0.1.35 [INFO] finished tweaking crates.io crate nanoserde 0.1.35 [INFO] tweaked toml for crates.io crate nanoserde 0.1.35 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30a16a49712402a5ab1b44464c084b520f5826bd84ba13ae77db4eff8936e62e [INFO] running `Command { std: "docker" "start" "-a" "30a16a49712402a5ab1b44464c084b520f5826bd84ba13ae77db4eff8936e62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30a16a49712402a5ab1b44464c084b520f5826bd84ba13ae77db4eff8936e62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a16a49712402a5ab1b44464c084b520f5826bd84ba13ae77db4eff8936e62e", kill_on_drop: false }` [INFO] [stdout] 30a16a49712402a5ab1b44464c084b520f5826bd84ba13ae77db4eff8936e62e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb6e35b0e115e1b7e044c3230e553caa92c48a2f171864ec80774a03e6534b30 [INFO] running `Command { std: "docker" "start" "-a" "fb6e35b0e115e1b7e044c3230e553caa92c48a2f171864ec80774a03e6534b30", kill_on_drop: false }` [INFO] [stderr] Compiling nanoserde-derive v0.1.21 [INFO] [stderr] Checking nanoserde v0.1.35 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/bin.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / impl Into for &Serializable { [INFO] [stdout] 86 | | fn into(self) -> NonSerializable { [INFO] [stdout] 87 | | NonSerializable { foo: self.x } [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `field_proxy` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/bin.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / impl Into for &NonSerializable { [INFO] [stdout] 91 | | fn into(self) -> Serializable { [INFO] [stdout] 92 | | Serializable { x: self.foo } [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `field_proxy` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/bin.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | / impl Into for &PortableVec2 { [INFO] [stdout] 132 | | fn into(self) -> SimdVec2 { [INFO] [stdout] 133 | | SimdVec2 { [INFO] [stdout] 134 | | simd_data: NonSerializable { s: self.x + self.y }, [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `struct_proxy` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/bin.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / impl Into for &SimdVec2 { [INFO] [stdout] 139 | | fn into(self) -> PortableVec2 { [INFO] [stdout] 140 | | PortableVec2 { [INFO] [stdout] 141 | | x: self.simd_data.s / 2, [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `struct_proxy` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nanoserde` (test "bin") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fb6e35b0e115e1b7e044c3230e553caa92c48a2f171864ec80774a03e6534b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb6e35b0e115e1b7e044c3230e553caa92c48a2f171864ec80774a03e6534b30", kill_on_drop: false }` [INFO] [stdout] fb6e35b0e115e1b7e044c3230e553caa92c48a2f171864ec80774a03e6534b30