[INFO] fetching crate splr 0.17.1... [INFO] checking splr-0.17.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate splr 0.17.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate splr 0.17.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 splr 0.17.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate splr 0.17.1 [INFO] tweaked toml for crates.io crate splr 0.17.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate splr 0.17.1 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] 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] b7e49d16921f9295f666228b1a778fcdca9987881bc97bb1033a504c7851e05c [INFO] running `Command { std: "docker" "start" "-a" "b7e49d16921f9295f666228b1a778fcdca9987881bc97bb1033a504c7851e05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7e49d16921f9295f666228b1a778fcdca9987881bc97bb1033a504c7851e05c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e49d16921f9295f666228b1a778fcdca9987881bc97bb1033a504c7851e05c", kill_on_drop: false }` [INFO] [stdout] b7e49d16921f9295f666228b1a778fcdca9987881bc97bb1033a504c7851e05c [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] 27b86cf5a5a52a850fa34a5adc72392b662603780a2ca49880328349e4f4dbdb [INFO] running `Command { std: "docker" "start" "-a" "27b86cf5a5a52a850fa34a5adc72392b662603780a2ca49880328349e4f4dbdb", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking splr v0.17.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "27b86cf5a5a52a850fa34a5adc72392b662603780a2ca49880328349e4f4dbdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27b86cf5a5a52a850fa34a5adc72392b662603780a2ca49880328349e4f4dbdb", kill_on_drop: false }` [INFO] [stdout] 27b86cf5a5a52a850fa34a5adc72392b662603780a2ca49880328349e4f4dbdb [INFO] checking splr-0.17.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate splr 0.17.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate splr 0.17.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 splr 0.17.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate splr 0.17.1 [INFO] tweaked toml for crates.io crate splr 0.17.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate splr 0.17.1 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-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] d1cee2ebd0d4dc2341f642d4c92e5ab7d40c5bd8897bc1ca7f2d21af306cd59f [INFO] running `Command { std: "docker" "start" "-a" "d1cee2ebd0d4dc2341f642d4c92e5ab7d40c5bd8897bc1ca7f2d21af306cd59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1cee2ebd0d4dc2341f642d4c92e5ab7d40c5bd8897bc1ca7f2d21af306cd59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1cee2ebd0d4dc2341f642d4c92e5ab7d40c5bd8897bc1ca7f2d21af306cd59f", kill_on_drop: false }` [INFO] [stdout] d1cee2ebd0d4dc2341f642d4c92e5ab7d40c5bd8897bc1ca7f2d21af306cd59f [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] 639bd903fd54ceb3985ade3e972a2bd9fb4bbdc2fcccbf85e61ba59d2b3a3801 [INFO] running `Command { std: "docker" "start" "-a" "639bd903fd54ceb3985ade3e972a2bd9fb4bbdc2fcccbf85e61ba59d2b3a3801", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking splr v0.17.1 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/cdb/db.rs:948:9 [INFO] [stdout] | [INFO] [stdout] 948 | / impl Clause { [INFO] [stdout] 949 | | fn reverse_activity_sum(&self, asg: &impl AssignIF) -> f64 { [INFO] [stdout] 950 | | self.iter().map(|l| 1.0 - asg.activity(l.vi())).sum() [INFO] [stdout] 951 | | } [INFO] [stdout] ... | [INFO] [stdout] 954 | | } [INFO] [stdout] 955 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `reduce` [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `splr` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/cdb/db.rs:948:9 [INFO] [stdout] | [INFO] [stdout] 948 | / impl Clause { [INFO] [stdout] 949 | | fn reverse_activity_sum(&self, asg: &impl AssignIF) -> f64 { [INFO] [stdout] 950 | | self.iter().map(|l| 1.0 - asg.activity(l.vi())).sum() [INFO] [stdout] 951 | | } [INFO] [stdout] ... | [INFO] [stdout] 954 | | } [INFO] [stdout] 955 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `reduce` [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `splr` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "639bd903fd54ceb3985ade3e972a2bd9fb4bbdc2fcccbf85e61ba59d2b3a3801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "639bd903fd54ceb3985ade3e972a2bd9fb4bbdc2fcccbf85e61ba59d2b3a3801", kill_on_drop: false }` [INFO] [stdout] 639bd903fd54ceb3985ade3e972a2bd9fb4bbdc2fcccbf85e61ba59d2b3a3801