[INFO] fetching crate cloud-code 0.5.1... [INFO] checking cloud-code-0.5.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate cloud-code 0.5.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate cloud-code 0.5.1 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 cloud-code 0.5.1 [INFO] finished tweaking crates.io crate cloud-code 0.5.1 [INFO] tweaked toml for crates.io crate cloud-code 0.5.1 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 futures-retry v0.6.0 [INFO] [stderr] Downloaded opentelemetry v0.20.0 [INFO] [stderr] Downloaded prost v0.12.3 [INFO] [stderr] Downloaded opentelemetry_api v0.20.0 [INFO] [stderr] Downloaded tonic v0.10.2 [INFO] [stderr] Downloaded opentelemetry_sdk v0.20.0 [INFO] [stderr] Downloaded prost-derive v0.12.3 [INFO] [stderr] Downloaded cita_cloud_proto v6.7.2 [INFO] [stderr] Downloaded tracing-opentelemetry v0.21.0 [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] 23e7f09e0fe7d038dcde0800d4d4dcabdbdbb019144500d34f462c1025b2beca [INFO] running `Command { std: "docker" "start" "-a" "23e7f09e0fe7d038dcde0800d4d4dcabdbdbb019144500d34f462c1025b2beca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23e7f09e0fe7d038dcde0800d4d4dcabdbdbb019144500d34f462c1025b2beca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e7f09e0fe7d038dcde0800d4d4dcabdbdbb019144500d34f462c1025b2beca", kill_on_drop: false }` [INFO] [stdout] 23e7f09e0fe7d038dcde0800d4d4dcabdbdbb019144500d34f462c1025b2beca [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] ad0c6f8b4b7452df064790024dd7604bdaec2686f03fe35f228163e92ee14ad5 [INFO] running `Command { std: "docker" "start" "-a" "ad0c6f8b4b7452df064790024dd7604bdaec2686f03fe35f228163e92ee14ad5", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling cita_cloud_proto v6.7.2 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking prost v0.12.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking opentelemetry_api v0.20.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking futures-retry v0.6.0 [INFO] [stderr] Checking opentelemetry_sdk v0.20.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking opentelemetry v0.20.0 [INFO] [stderr] Checking tracing-opentelemetry v0.21.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stderr] Checking cloud-code v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.57s [INFO] running `Command { std: "docker" "inspect" "ad0c6f8b4b7452df064790024dd7604bdaec2686f03fe35f228163e92ee14ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0c6f8b4b7452df064790024dd7604bdaec2686f03fe35f228163e92ee14ad5", kill_on_drop: false }` [INFO] [stdout] ad0c6f8b4b7452df064790024dd7604bdaec2686f03fe35f228163e92ee14ad5 [INFO] checking cloud-code-0.5.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate cloud-code 0.5.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cloud-code 0.5.1 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 cloud-code 0.5.1 [INFO] finished tweaking crates.io crate cloud-code 0.5.1 [INFO] tweaked toml for crates.io crate cloud-code 0.5.1 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] [stderr] Blocking waiting for file lock on package cache [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] 580986a20f261d9bf521a1a45ffff2ac2b653f6630a0c247e90131a25f1391dd [INFO] running `Command { std: "docker" "start" "-a" "580986a20f261d9bf521a1a45ffff2ac2b653f6630a0c247e90131a25f1391dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "580986a20f261d9bf521a1a45ffff2ac2b653f6630a0c247e90131a25f1391dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "580986a20f261d9bf521a1a45ffff2ac2b653f6630a0c247e90131a25f1391dd", kill_on_drop: false }` [INFO] [stdout] 580986a20f261d9bf521a1a45ffff2ac2b653f6630a0c247e90131a25f1391dd [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] bc9c0446e32bd421e9410eabf3391d5e29ed60692139682e0739c8f5d55ff014 [INFO] running `Command { std: "docker" "start" "-a" "bc9c0446e32bd421e9410eabf3391d5e29ed60692139682e0739c8f5d55ff014", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Compiling cita_cloud_proto v6.7.2 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking prost v0.12.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking opentelemetry_api v0.20.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking futures-retry v0.6.0 [INFO] [stderr] Checking opentelemetry_sdk v0.20.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking opentelemetry v0.20.0 [INFO] [stderr] Checking tracing-opentelemetry v0.21.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stderr] Checking cloud-code v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/lib.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Copy, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_StatusCode` [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/lib.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Copy, Eq, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_StatusCode` [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cloud-code` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cloud-code` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "bc9c0446e32bd421e9410eabf3391d5e29ed60692139682e0739c8f5d55ff014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc9c0446e32bd421e9410eabf3391d5e29ed60692139682e0739c8f5d55ff014", kill_on_drop: false }` [INFO] [stdout] bc9c0446e32bd421e9410eabf3391d5e29ed60692139682e0739c8f5d55ff014