[INFO] fetching crate qmetaobject 0.2.10... [INFO] checking qmetaobject-0.2.10 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate qmetaobject 0.2.10 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate qmetaobject 0.2.10 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 qmetaobject 0.2.10 [INFO] finished tweaking crates.io crate qmetaobject 0.2.10 [INFO] tweaked toml for crates.io crate qmetaobject 0.2.10 written to /workspace/builds/worker-0-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 cpp v0.5.9 [INFO] [stderr] Downloaded cstr v0.2.11 [INFO] [stderr] Downloaded if_rust_version v1.0.0 [INFO] [stderr] Downloaded cpp_macros v0.5.9 [INFO] [stderr] Downloaded cpp_common v0.5.9 [INFO] [stderr] Downloaded cpp_build v0.5.9 [INFO] [stderr] Downloaded qttypes v0.2.11 [INFO] [stderr] Downloaded qmetaobject_impl v0.2.10 [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] 3e3aaf27997136b608234703a23805512b4fa222339be79d0e5cb2e19f8fa1ec [INFO] running `Command { std: "docker" "start" "-a" "3e3aaf27997136b608234703a23805512b4fa222339be79d0e5cb2e19f8fa1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e3aaf27997136b608234703a23805512b4fa222339be79d0e5cb2e19f8fa1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e3aaf27997136b608234703a23805512b4fa222339be79d0e5cb2e19f8fa1ec", kill_on_drop: false }` [INFO] [stdout] 3e3aaf27997136b608234703a23805512b4fa222339be79d0e5cb2e19f8fa1ec [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] 82def6d64e171fe261bf6dacc06cec9f0966fdb79c8ae0e403518efa2b01e8a7 [INFO] running `Command { std: "docker" "start" "-a" "82def6d64e171fe261bf6dacc06cec9f0966fdb79c8ae0e403518efa2b01e8a7", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling if_rust_version v1.0.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling cstr v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling qmetaobject v0.2.10 (/opt/rustwide/workdir) [INFO] [stderr] Checking cpp v0.5.9 [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | pub get_rust_refcell: unsafe extern "C" fn(*mut c_void) -> *const RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:615:51 [INFO] [stdout] | [INFO] [stdout] 615 | pub unsafe extern "C" fn RustObject_metaObject(p: *mut RefCell) -> *const QMetaObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:621:49 [INFO] [stdout] | [INFO] [stdout] 621 | pub unsafe extern "C" fn RustObject_destruct(p: *mut RefCell) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | pub get_rust_refcell: unsafe extern "C" fn(*mut c_void) -> *const RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:615:51 [INFO] [stdout] | [INFO] [stdout] 615 | pub unsafe extern "C" fn RustObject_metaObject(p: *mut RefCell) -> *const QMetaObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:621:49 [INFO] [stdout] | [INFO] [stdout] 621 | pub unsafe extern "C" fn RustObject_destruct(p: *mut RefCell) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.93s [INFO] running `Command { std: "docker" "inspect" "82def6d64e171fe261bf6dacc06cec9f0966fdb79c8ae0e403518efa2b01e8a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82def6d64e171fe261bf6dacc06cec9f0966fdb79c8ae0e403518efa2b01e8a7", kill_on_drop: false }` [INFO] [stdout] 82def6d64e171fe261bf6dacc06cec9f0966fdb79c8ae0e403518efa2b01e8a7 [INFO] checking qmetaobject-0.2.10 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate qmetaobject 0.2.10 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate qmetaobject 0.2.10 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 qmetaobject 0.2.10 [INFO] finished tweaking crates.io crate qmetaobject 0.2.10 [INFO] tweaked toml for crates.io crate qmetaobject 0.2.10 written to /workspace/builds/worker-0-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] 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] 4a1fdf08c9f030c6bc9907e54ef5c0e7a29fb8658ff42dd102997e955a9785ef [INFO] running `Command { std: "docker" "start" "-a" "4a1fdf08c9f030c6bc9907e54ef5c0e7a29fb8658ff42dd102997e955a9785ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a1fdf08c9f030c6bc9907e54ef5c0e7a29fb8658ff42dd102997e955a9785ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a1fdf08c9f030c6bc9907e54ef5c0e7a29fb8658ff42dd102997e955a9785ef", kill_on_drop: false }` [INFO] [stdout] 4a1fdf08c9f030c6bc9907e54ef5c0e7a29fb8658ff42dd102997e955a9785ef [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] 919fb2ece84f8da2f3610a740ffd6b49f516f8fd448dd76914ca978e440f14f9 [INFO] running `Command { std: "docker" "start" "-a" "919fb2ece84f8da2f3610a740ffd6b49f516f8fd448dd76914ca978e440f14f9", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling if_rust_version v1.0.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cstr v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling qmetaobject v0.2.10 (/opt/rustwide/workdir) [INFO] [stderr] Checking cpp v0.5.9 [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | pub get_rust_refcell: unsafe extern "C" fn(*mut c_void) -> *const RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:615:51 [INFO] [stdout] | [INFO] [stdout] 615 | pub unsafe extern "C" fn RustObject_metaObject(p: *mut RefCell) -> *const QMetaObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:621:49 [INFO] [stdout] | [INFO] [stdout] 621 | pub unsafe extern "C" fn RustObject_destruct(p: *mut RefCell) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | pub get_rust_refcell: unsafe extern "C" fn(*mut c_void) -> *const RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:615:51 [INFO] [stdout] | [INFO] [stdout] 615 | pub unsafe extern "C" fn RustObject_metaObject(p: *mut RefCell) -> *const QMetaObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::cell::RefCell`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:621:49 [INFO] [stdout] | [INFO] [stdout] 621 | pub unsafe extern "C" fn RustObject_destruct(p: *mut RefCell) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/future.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | / impl crate::connections::Slot [INFO] [stdout] 184 | | for *mut ConnectionFutureState [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | unsafe fn apply(&mut self, a: *const *const c_void) { [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `wait_on_signal` [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: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/future.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | / impl crate::connections::Slot [INFO] [stdout] 184 | | for *mut ConnectionFutureState [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | unsafe fn apply(&mut self, a: *const *const c_void) { [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `wait_on_signal` [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qmetaobject` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `qmetaobject` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "919fb2ece84f8da2f3610a740ffd6b49f516f8fd448dd76914ca978e440f14f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "919fb2ece84f8da2f3610a740ffd6b49f516f8fd448dd76914ca978e440f14f9", kill_on_drop: false }` [INFO] [stdout] 919fb2ece84f8da2f3610a740ffd6b49f516f8fd448dd76914ca978e440f14f9