[INFO] fetching crate discord-presence 0.5.18... [INFO] checking discord-presence-0.5.18 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate discord-presence 0.5.18 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate discord-presence 0.5.18 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 discord-presence 0.5.18 [INFO] finished tweaking crates.io crate discord-presence 0.5.18 [INFO] tweaked toml for crates.io crate discord-presence 0.5.18 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate discord-presence 0.5.18 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quork-proc v0.3.0 [INFO] [stderr] Downloaded named_pipe v0.4.1 [INFO] [stderr] Downloaded ctrlc v3.4.0 [INFO] [stderr] Downloaded version-sync v0.9.4 [INFO] [stderr] Downloaded quork v0.4.0 [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] 37e8b586691b2336f0296f8dad61e009fc3ed787a72ca2bbcf3dd9ff46efacaa [INFO] running `Command { std: "docker" "start" "-a" "37e8b586691b2336f0296f8dad61e009fc3ed787a72ca2bbcf3dd9ff46efacaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37e8b586691b2336f0296f8dad61e009fc3ed787a72ca2bbcf3dd9ff46efacaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37e8b586691b2336f0296f8dad61e009fc3ed787a72ca2bbcf3dd9ff46efacaa", kill_on_drop: false }` [INFO] [stdout] 37e8b586691b2336f0296f8dad61e009fc3ed787a72ca2bbcf3dd9ff46efacaa [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] a8efd672acf5771c25fc956688a9382b67fc9cff7b44d9dbbf36a85af923105a [INFO] running `Command { std: "docker" "start" "-a" "a8efd672acf5771c25fc956688a9382b67fc9cff7b44d9dbbf36a85af923105a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling fsio v0.1.3 [INFO] [stderr] Compiling winnow v0.5.14 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling envmnt v0.8.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking unicode-ident v1.0.11 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Compiling ci_info v0.10.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling quork v0.4.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling nias v0.5.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Compiling rusty-hook v0.11.2 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking ctrlc v3.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling quork-proc v0.3.0 [INFO] [stderr] Compiling num-derive v0.4.0 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking version-sync v0.9.4 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking discord-presence v0.5.18 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.02s [INFO] running `Command { std: "docker" "inspect" "a8efd672acf5771c25fc956688a9382b67fc9cff7b44d9dbbf36a85af923105a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8efd672acf5771c25fc956688a9382b67fc9cff7b44d9dbbf36a85af923105a", kill_on_drop: false }` [INFO] [stdout] a8efd672acf5771c25fc956688a9382b67fc9cff7b44d9dbbf36a85af923105a [INFO] checking discord-presence-0.5.18 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate discord-presence 0.5.18 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate discord-presence 0.5.18 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 discord-presence 0.5.18 [INFO] finished tweaking crates.io crate discord-presence 0.5.18 [INFO] tweaked toml for crates.io crate discord-presence 0.5.18 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate discord-presence 0.5.18 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] [stderr] Blocking waiting for file lock on package cache [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] 2277f9061fd4e67d6342f34b53e52d11b81ceec43627a436adb94e4a1a8a24ad [INFO] running `Command { std: "docker" "start" "-a" "2277f9061fd4e67d6342f34b53e52d11b81ceec43627a436adb94e4a1a8a24ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2277f9061fd4e67d6342f34b53e52d11b81ceec43627a436adb94e4a1a8a24ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2277f9061fd4e67d6342f34b53e52d11b81ceec43627a436adb94e4a1a8a24ad", kill_on_drop: false }` [INFO] [stdout] 2277f9061fd4e67d6342f34b53e52d11b81ceec43627a436adb94e4a1a8a24ad [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] 6b1867f3a9347d1b2a7f66443fa7d6163588928994944979ea5c004ab1b2e462 [INFO] running `Command { std: "docker" "start" "-a" "6b1867f3a9347d1b2a7f66443fa7d6163588928994944979ea5c004ab1b2e462", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling fsio v0.1.3 [INFO] [stderr] Compiling winnow v0.5.14 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling envmnt v0.8.4 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking unicode-ident v1.0.11 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Compiling ci_info v0.10.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling quork v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nias v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ctrlc v3.4.0 [INFO] [stderr] Compiling rusty-hook v0.11.2 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling quork-proc v0.3.0 [INFO] [stderr] Compiling num-derive v0.4.0 [INFO] [stderr] Checking version-sync v0.9.4 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking discord-presence v0.5.18 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/models/message.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCode` [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/models/message.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Copy, Clone, PartialEq, Eq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_OpCode` [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 `discord-presence` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `discord-presence` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "6b1867f3a9347d1b2a7f66443fa7d6163588928994944979ea5c004ab1b2e462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1867f3a9347d1b2a7f66443fa7d6163588928994944979ea5c004ab1b2e462", kill_on_drop: false }` [INFO] [stdout] 6b1867f3a9347d1b2a7f66443fa7d6163588928994944979ea5c004ab1b2e462