[INFO] fetching crate medusa-zip 0.0.9... [INFO] checking medusa-zip-0.0.9 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate medusa-zip 0.0.9 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate medusa-zip 0.0.9 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 medusa-zip 0.0.9 [INFO] finished tweaking crates.io crate medusa-zip 0.0.9 [INFO] tweaked toml for crates.io crate medusa-zip 0.0.9 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate medusa-zip 0.0.9 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] Downloading crates ... [INFO] [stderr] Downloaded static_init_macro v1.0.2 [INFO] [stderr] Downloaded async-recursion v1.0.4 [INFO] [stderr] Downloaded libmedusa-zip v0.0.9 [INFO] [stderr] Downloaded clap v4.3.17 [INFO] [stderr] Downloaded static_init v1.0.3 [INFO] [stderr] Downloaded zip-merge v0.6.6 [INFO] [stderr] Downloaded clap_builder v4.3.17 [INFO] [stderr] Downloaded serde_derive v1.0.173 [INFO] [stderr] Downloaded serde v1.0.173 [INFO] [stderr] Downloaded winnow v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5850c06c1d7cd058765351e93242287d9db486eaf83b706f8010fda20c59e627 [INFO] running `Command { std: "docker" "start" "-a" "5850c06c1d7cd058765351e93242287d9db486eaf83b706f8010fda20c59e627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5850c06c1d7cd058765351e93242287d9db486eaf83b706f8010fda20c59e627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5850c06c1d7cd058765351e93242287d9db486eaf83b706f8010fda20c59e627", kill_on_drop: false }` [INFO] [stdout] 5850c06c1d7cd058765351e93242287d9db486eaf83b706f8010fda20c59e627 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b58daa9790daf11331c657bd2afa30aff90e0368009bfd7e9ec217adff5f5016 [INFO] running `Command { std: "docker" "start" "-a" "b58daa9790daf11331c657bd2afa30aff90e0368009bfd7e9ec217adff5f5016", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling winnow v0.5.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling static_init v1.0.3 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling serde v1.0.173 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking time v0.3.23 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling serde_derive v1.0.173 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking clap_builder v4.3.17 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling async-recursion v1.0.4 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking zip-merge v0.6.6 [INFO] [stderr] Checking clap v4.3.17 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking libmedusa-zip v0.0.9 [INFO] [stderr] Checking medusa-zip v0.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.34s [INFO] running `Command { std: "docker" "inspect" "b58daa9790daf11331c657bd2afa30aff90e0368009bfd7e9ec217adff5f5016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b58daa9790daf11331c657bd2afa30aff90e0368009bfd7e9ec217adff5f5016", kill_on_drop: false }` [INFO] [stdout] b58daa9790daf11331c657bd2afa30aff90e0368009bfd7e9ec217adff5f5016 [INFO] checking medusa-zip-0.0.9 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate medusa-zip 0.0.9 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate medusa-zip 0.0.9 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 medusa-zip 0.0.9 [INFO] finished tweaking crates.io crate medusa-zip 0.0.9 [INFO] tweaked toml for crates.io crate medusa-zip 0.0.9 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate medusa-zip 0.0.9 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f2cab72abd29120eebaa0e7aa8b0f4709aca75b651bb12faa8f2dfcdeef25d26 [INFO] running `Command { std: "docker" "start" "-a" "f2cab72abd29120eebaa0e7aa8b0f4709aca75b651bb12faa8f2dfcdeef25d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2cab72abd29120eebaa0e7aa8b0f4709aca75b651bb12faa8f2dfcdeef25d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2cab72abd29120eebaa0e7aa8b0f4709aca75b651bb12faa8f2dfcdeef25d26", kill_on_drop: false }` [INFO] [stdout] f2cab72abd29120eebaa0e7aa8b0f4709aca75b651bb12faa8f2dfcdeef25d26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8bbc9019e76e477b5e76af619f4838f5fec8b8cabfe604ad0b68e9ae6a142078 [INFO] running `Command { std: "docker" "start" "-a" "8bbc9019e76e477b5e76af619f4838f5fec8b8cabfe604ad0b68e9ae6a142078", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling winnow v0.5.0 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling static_init v1.0.3 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling serde v1.0.173 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking time v0.3.23 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling serde_derive v1.0.173 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Checking clap_builder v4.3.17 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Compiling async-recursion v1.0.4 [INFO] [stderr] Checking zip-merge v0.6.6 [INFO] [stderr] Checking clap v4.3.17 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking libmedusa-zip v0.0.9 [INFO] [stderr] Checking medusa-zip v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/zip.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 145 | #[derive(Copy, Clone, Default, Debug, Display, ValueEnum)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_Display_FOR_CompressionMethod` [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 `Display` (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/zip.rs:145:39 [INFO] [stdout] | [INFO] [stdout] 145 | #[derive(Copy, Clone, Default, Debug, Display, ValueEnum)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_Display_FOR_CompressionMethod` [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 `Display` (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 `medusa-zip` (bin "medusa-zip" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `medusa-zip` (bin "medusa-zip") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "8bbc9019e76e477b5e76af619f4838f5fec8b8cabfe604ad0b68e9ae6a142078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bbc9019e76e477b5e76af619f4838f5fec8b8cabfe604ad0b68e9ae6a142078", kill_on_drop: false }` [INFO] [stdout] 8bbc9019e76e477b5e76af619f4838f5fec8b8cabfe604ad0b68e9ae6a142078