[INFO] fetching crate armor 1.2.0... [INFO] checking armor-1.2.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate armor 1.2.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate armor 1.2.0 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 armor 1.2.0 [INFO] finished tweaking crates.io crate armor 1.2.0 [INFO] tweaked toml for crates.io crate armor 1.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate armor 1.2.0 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytes v0.4.12 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded serde_derive v1.0.101 [INFO] [stderr] Downloaded serde v1.0.101 [INFO] [stderr] Downloaded syn v1.0.5 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded byteorder v1.3.1 [INFO] [stderr] Downloaded iovec v0.1.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.5 [INFO] [stderr] Downloaded ryu v1.0.1 [INFO] [stderr] Downloaded http v0.1.17 [INFO] [stderr] Downloaded libc v0.2.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1c3f48de435369c10e514510f2076869be2bacdcf06ef16e287e3b6b14ad8550 [INFO] running `Command { std: "docker" "start" "-a" "1c3f48de435369c10e514510f2076869be2bacdcf06ef16e287e3b6b14ad8550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c3f48de435369c10e514510f2076869be2bacdcf06ef16e287e3b6b14ad8550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3f48de435369c10e514510f2076869be2bacdcf06ef16e287e3b6b14ad8550", kill_on_drop: false }` [INFO] [stdout] 1c3f48de435369c10e514510f2076869be2bacdcf06ef16e287e3b6b14ad8550 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c21cfaa78672d7e42da2d75e9f545cb301b3e3a19c96bf74721b69d05a9519e3 [INFO] running `Command { std: "docker" "start" "-a" "c21cfaa78672d7e42da2d75e9f545cb301b3e3a19c96bf74721b69d05a9519e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking armor v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.99s [INFO] running `Command { std: "docker" "inspect" "c21cfaa78672d7e42da2d75e9f545cb301b3e3a19c96bf74721b69d05a9519e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c21cfaa78672d7e42da2d75e9f545cb301b3e3a19c96bf74721b69d05a9519e3", kill_on_drop: false }` [INFO] [stdout] c21cfaa78672d7e42da2d75e9f545cb301b3e3a19c96bf74721b69d05a9519e3 [INFO] checking armor-1.2.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate armor 1.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate armor 1.2.0 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 armor 1.2.0 [INFO] finished tweaking crates.io crate armor 1.2.0 [INFO] tweaked toml for crates.io crate armor 1.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate armor 1.2.0 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] af02ac67930d2484ef484f7d4aa279ee776fce385d6f3a111bcaa1925ade726f [INFO] running `Command { std: "docker" "start" "-a" "af02ac67930d2484ef484f7d4aa279ee776fce385d6f3a111bcaa1925ade726f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af02ac67930d2484ef484f7d4aa279ee776fce385d6f3a111bcaa1925ade726f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af02ac67930d2484ef484f7d4aa279ee776fce385d6f3a111bcaa1925ade726f", kill_on_drop: false }` [INFO] [stdout] af02ac67930d2484ef484f7d4aa279ee776fce385d6f3a111bcaa1925ade726f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1ec470aba6a07da2f5aa2424297ba391e494e56f4e8411ebb50051a75e5501d3 [INFO] running `Command { std: "docker" "start" "-a" "1ec470aba6a07da2f5aa2424297ba391e494e56f4e8411ebb50051a75e5501d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking armor v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/csp.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ReportTo` [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 `Serialize` (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/csp.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ReportToEndpoint` [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 `Serialize` (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] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/csp.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ReportTo` [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 `Serialize` (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/csp.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ReportToEndpoint` [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 `Serialize` (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 `armor` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `armor` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "1ec470aba6a07da2f5aa2424297ba391e494e56f4e8411ebb50051a75e5501d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ec470aba6a07da2f5aa2424297ba391e494e56f4e8411ebb50051a75e5501d3", kill_on_drop: false }` [INFO] [stdout] 1ec470aba6a07da2f5aa2424297ba391e494e56f4e8411ebb50051a75e5501d3