[INFO] fetching crate gds21 3.0.0-pre.2... [INFO] checking gds21-3.0.0-pre.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate gds21 3.0.0-pre.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate gds21 3.0.0-pre.2 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 gds21 3.0.0-pre.2 [INFO] finished tweaking crates.io crate gds21 3.0.0-pre.2 [INFO] tweaked toml for crates.io crate gds21 3.0.0-pre.2 written to /workspace/builds/worker-0-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 layout21utils v3.0.0-pre.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] aea7791ef8f1a5ccc52cb8f4a84bf3ec650eac298ba2ecce8302fb5571cdbb3e [INFO] running `Command { std: "docker" "start" "-a" "aea7791ef8f1a5ccc52cb8f4a84bf3ec650eac298ba2ecce8302fb5571cdbb3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aea7791ef8f1a5ccc52cb8f4a84bf3ec650eac298ba2ecce8302fb5571cdbb3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea7791ef8f1a5ccc52cb8f4a84bf3ec650eac298ba2ecce8302fb5571cdbb3e", kill_on_drop: false }` [INFO] [stdout] aea7791ef8f1a5ccc52cb8f4a84bf3ec650eac298ba2ecce8302fb5571cdbb3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8f29c093add38f9e7fac15cb36d0c3b67b1a2dfcf52e04d5723679f167eb817a [INFO] running `Command { std: "docker" "start" "-a" "8f29c093add38f9e7fac15cb36d0c3b67b1a2dfcf52e04d5723679f167eb817a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rust_decimal v1.33.1 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking by_address v1.1.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking layout21utils v3.0.0-pre.2 [INFO] [stderr] Checking gds21 v3.0.0-pre.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.97s [INFO] running `Command { std: "docker" "inspect" "8f29c093add38f9e7fac15cb36d0c3b67b1a2dfcf52e04d5723679f167eb817a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f29c093add38f9e7fac15cb36d0c3b67b1a2dfcf52e04d5723679f167eb817a", kill_on_drop: false }` [INFO] [stdout] 8f29c093add38f9e7fac15cb36d0c3b67b1a2dfcf52e04d5723679f167eb817a [INFO] checking gds21-3.0.0-pre.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate gds21 3.0.0-pre.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate gds21 3.0.0-pre.2 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 gds21 3.0.0-pre.2 [INFO] finished tweaking crates.io crate gds21 3.0.0-pre.2 [INFO] tweaked toml for crates.io crate gds21 3.0.0-pre.2 written to /workspace/builds/worker-0-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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 81bbe64c3422c449a6c86236d332b30dc9f7f6278892ff4bebf49727711c60cd [INFO] running `Command { std: "docker" "start" "-a" "81bbe64c3422c449a6c86236d332b30dc9f7f6278892ff4bebf49727711c60cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81bbe64c3422c449a6c86236d332b30dc9f7f6278892ff4bebf49727711c60cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81bbe64c3422c449a6c86236d332b30dc9f7f6278892ff4bebf49727711c60cd", kill_on_drop: false }` [INFO] [stdout] 81bbe64c3422c449a6c86236d332b30dc9f7f6278892ff4bebf49727711c60cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 632355218a002756c2451f0f6af9099d59c7d897002a5731821d3d14875a2466 [INFO] running `Command { std: "docker" "start" "-a" "632355218a002756c2451f0f6af9099d59c7d897002a5731821d3d14875a2466", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rust_decimal v1.33.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking by_address v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking serde_json v1.0.113 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking layout21utils v3.0.0-pre.2 [INFO] [stderr] Checking gds21 v3.0.0-pre.2 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/data.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(FromPrimitive, Debug, Clone, Copy, Deserialize, Serialize, JsonSchema, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_GdsRecordType` [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] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/data.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(FromPrimitive, Debug, Clone, Copy, Deserialize, Serialize, JsonSchema, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_GdsDataType` [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: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/data.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(FromPrimitive, Debug, Clone, Copy, Deserialize, Serialize, JsonSchema, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_GdsRecordType` [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] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/data.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(FromPrimitive, Debug, Clone, Copy, Deserialize, Serialize, JsonSchema, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_GdsDataType` [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: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gds21` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gds21` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "632355218a002756c2451f0f6af9099d59c7d897002a5731821d3d14875a2466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "632355218a002756c2451f0f6af9099d59c7d897002a5731821d3d14875a2466", kill_on_drop: false }` [INFO] [stdout] 632355218a002756c2451f0f6af9099d59c7d897002a5731821d3d14875a2466