[INFO] fetching crate nativeshell_core 0.1.3... [INFO] testing nativeshell_core-0.1.3 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] extracting crate nativeshell_core 0.1.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate nativeshell_core 0.1.3 [INFO] finished tweaking crates.io crate nativeshell_core 0.1.3 [INFO] tweaked toml for crates.io crate nativeshell_core 0.1.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nativeshell_core 0.1.3 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nativeshell_derive v0.1.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d924ae80fd0c61049a05f99a1dc25fea667fac397f28f4325cbb4ae784107cb2 [INFO] running `Command { std: "docker" "start" "-a" "d924ae80fd0c61049a05f99a1dc25fea667fac397f28f4325cbb4ae784107cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d924ae80fd0c61049a05f99a1dc25fea667fac397f28f4325cbb4ae784107cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d924ae80fd0c61049a05f99a1dc25fea667fac397f28f4325cbb4ae784107cb2", kill_on_drop: false }` [INFO] [stdout] d924ae80fd0c61049a05f99a1dc25fea667fac397f28f4325cbb4ae784107cb2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a522166fa0c7665e8844dc941d01cf843eb4c28310683679c3f30259cf58dae6 [INFO] running `Command { std: "docker" "start" "-a" "a522166fa0c7665e8844dc941d01cf843eb4c28310683679c3f30259cf58dae6", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling nativeshell_core v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_attachment T>(&self, on_init: F) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_attachment T>(&self, on_init: F) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 21 | pub struct DartFunctions { [INFO] [stdout] 22 | pub post_cobject: unsafe extern "C" fn(DartPort, *mut DartCObject) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 23 | pub post_integer: unsafe extern "C" fn(DartPort, i64) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 24 | pub new_native_port: unsafe extern "C" fn(*const c_char, DartPortHandler, bool) -> DartPort, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 25 | pub close_native_port: unsafe extern "C" fn(DartPort) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 27 | / pub new_weak_persistent_handle: unsafe extern "C" fn( [INFO] [stdout] 28 | | object: DartHandle, [INFO] [stdout] 29 | | peer: *mut c_void, [INFO] [stdout] 30 | | external_allocation_size: isize, [INFO] [stdout] 31 | | finalizer: DartHandleFinalizer, [INFO] [stdout] 32 | | ) -> DartWeakPersistentHandle, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 33 | pub delete_weak_persistent_handle: unsafe extern "C" fn(handle: DartWeakPersistentHandle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 34 | / pub handle_from_weak_persistent: [INFO] [stdout] 35 | | unsafe extern "C" fn(handle: DartWeakPersistentHandle) -> DartHandle, [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 36 | pub update_external_size: unsafe extern "C" fn(handle: DartWeakPersistentHandle, size: isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/value.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 262 | pub callback: DartHandleFinalizer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/value.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 272 | pub callback: DartHandleFinalizer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/ffi/value.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | unsafe { CString::from_raw(self.value.as_string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 308 | unsafe { let _ = CString::from_raw(self.value.as_string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/finalizable_handle.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/event_channel.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/event_channel.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/message_channel_common.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | fn message_channel(&self) -> Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn message_channel(&self) -> Ref<'_, MessageChannel>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/message_channel_common.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | fn message_channel(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | fn message_channel(&self) -> Ref<'_, MessageChannel> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/run_loop.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/util/capsule.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.01s [INFO] running `Command { std: "docker" "inspect" "a522166fa0c7665e8844dc941d01cf843eb4c28310683679c3f30259cf58dae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a522166fa0c7665e8844dc941d01cf843eb4c28310683679c3f30259cf58dae6", kill_on_drop: false }` [INFO] [stdout] a522166fa0c7665e8844dc941d01cf843eb4c28310683679c3f30259cf58dae6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3ded3f5e68ee22389325c4582906bacf7f01b00348f844f4a15c930d657e521 [INFO] running `Command { std: "docker" "start" "-a" "f3ded3f5e68ee22389325c4582906bacf7f01b00348f844f4a15c930d657e521", kill_on_drop: false }` [INFO] [stderr] Compiling nativeshell_core v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_attachment T>(&self, on_init: F) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_attachment T>(&self, on_init: F) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 21 | pub struct DartFunctions { [INFO] [stdout] 22 | pub post_cobject: unsafe extern "C" fn(DartPort, *mut DartCObject) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 23 | pub post_integer: unsafe extern "C" fn(DartPort, i64) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 24 | pub new_native_port: unsafe extern "C" fn(*const c_char, DartPortHandler, bool) -> DartPort, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 25 | pub close_native_port: unsafe extern "C" fn(DartPort) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 27 | / pub new_weak_persistent_handle: unsafe extern "C" fn( [INFO] [stdout] 28 | | object: DartHandle, [INFO] [stdout] 29 | | peer: *mut c_void, [INFO] [stdout] 30 | | external_allocation_size: isize, [INFO] [stdout] 31 | | finalizer: DartHandleFinalizer, [INFO] [stdout] 32 | | ) -> DartWeakPersistentHandle, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 33 | pub delete_weak_persistent_handle: unsafe extern "C" fn(handle: DartWeakPersistentHandle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 34 | / pub handle_from_weak_persistent: [INFO] [stdout] 35 | | unsafe extern "C" fn(handle: DartWeakPersistentHandle) -> DartHandle, [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 36 | pub update_external_size: unsafe extern "C" fn(handle: DartWeakPersistentHandle, size: isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/value.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 262 | pub callback: DartHandleFinalizer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/value.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 272 | pub callback: DartHandleFinalizer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/ffi/value.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | unsafe { CString::from_raw(self.value.as_string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 308 | unsafe { let _ = CString::from_raw(self.value.as_string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/finalizable_handle.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/event_channel.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/event_channel.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/message_channel_common.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | fn message_channel(&self) -> Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn message_channel(&self) -> Ref<'_, MessageChannel>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/message_channel_common.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | fn message_channel(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | fn message_channel(&self) -> Ref<'_, MessageChannel> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/run_loop.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/util/capsule.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_attachment T>(&self, on_init: F) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_attachment T>(&self, on_init: F) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 21 | pub struct DartFunctions { [INFO] [stdout] 22 | pub post_cobject: unsafe extern "C" fn(DartPort, *mut DartCObject) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 23 | pub post_integer: unsafe extern "C" fn(DartPort, i64) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 24 | pub new_native_port: unsafe extern "C" fn(*const c_char, DartPortHandler, bool) -> DartPort, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 25 | pub close_native_port: unsafe extern "C" fn(DartPort) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 27 | / pub new_weak_persistent_handle: unsafe extern "C" fn( [INFO] [stdout] 28 | | object: DartHandle, [INFO] [stdout] 29 | | peer: *mut c_void, [INFO] [stdout] 30 | | external_allocation_size: isize, [INFO] [stdout] 31 | | finalizer: DartHandleFinalizer, [INFO] [stdout] 32 | | ) -> DartWeakPersistentHandle, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 33 | pub delete_weak_persistent_handle: unsafe extern "C" fn(handle: DartWeakPersistentHandle), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 34 | / pub handle_from_weak_persistent: [INFO] [stdout] 35 | | unsafe extern "C" fn(handle: DartWeakPersistentHandle) -> DartHandle, [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/functions.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 36 | pub update_external_size: unsafe extern "C" fn(handle: DartWeakPersistentHandle, size: isize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/value.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 262 | pub callback: DartHandleFinalizer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/ffi/value.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 272 | pub callback: DartHandleFinalizer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/ffi/value.rs:308:30 [INFO] [stdout] | [INFO] [stdout] 308 | unsafe { CString::from_raw(self.value.as_string) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 308 | unsafe { let _ = CString::from_raw(self.value.as_string); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/finalizable_handle.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/event_channel.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/event_channel.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 80 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/message_channel_common.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | fn message_channel(&self) -> Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn message_channel(&self) -> Ref<'_, MessageChannel>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/message_channel/message_channel_common.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | fn message_channel(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | fn message_channel(&self) -> Ref<'_, MessageChannel> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/run_loop.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/util/capsule.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.38s [INFO] running `Command { std: "docker" "inspect" "f3ded3f5e68ee22389325c4582906bacf7f01b00348f844f4a15c930d657e521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ded3f5e68ee22389325c4582906bacf7f01b00348f844f4a15c930d657e521", kill_on_drop: false }` [INFO] [stdout] f3ded3f5e68ee22389325c4582906bacf7f01b00348f844f4a15c930d657e521 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 256fe771b2570683c3a55eee438f99a8d3457fd4704073df75e7d102df50ac95 [INFO] running `Command { std: "docker" "start" "-a" "256fe771b2570683c3a55eee438f99a8d3457fd4704073df75e7d102df50ac95", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/context.rs:57:53 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn get_attachment T>(&self, on_init: F) -> Ref { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 57 | pub fn get_attachment T>(&self, on_init: F) -> Ref<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/ffi/functions.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] 21 | pub struct DartFunctions { [INFO] [stderr] 22 | pub post_cobject: unsafe extern "C" fn(DartPort, *mut DartCObject) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/ffi/functions.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 23 | pub post_integer: unsafe extern "C" fn(DartPort, i64) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/ffi/functions.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 24 | pub new_native_port: unsafe extern "C" fn(*const c_char, DartPortHandler, bool) -> DartPort, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/ffi/functions.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 25 | pub close_native_port: unsafe extern "C" fn(DartPort) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/ffi/functions.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 27 | / pub new_weak_persistent_handle: unsafe extern "C" fn( [INFO] [stderr] 28 | | object: DartHandle, [INFO] [stderr] 29 | | peer: *mut c_void, [INFO] [stderr] 30 | | external_allocation_size: isize, [INFO] [stderr] 31 | | finalizer: DartHandleFinalizer, [INFO] [stderr] 32 | | ) -> DartWeakPersistentHandle, [INFO] [stderr] | |_________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/ffi/functions.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 33 | pub delete_weak_persistent_handle: unsafe extern "C" fn(handle: DartWeakPersistentHandle), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/ffi/functions.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 34 | / pub handle_from_weak_persistent: [INFO] [stderr] 35 | | unsafe extern "C" fn(handle: DartWeakPersistentHandle) -> DartHandle, [INFO] [stderr] | |____________________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/ffi/functions.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Clone, Debug, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 36 | pub update_external_size: unsafe extern "C" fn(handle: DartWeakPersistentHandle, size: isize), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/ffi/value.rs:262:9 [INFO] [stderr] | [INFO] [stderr] 256 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 262 | pub callback: DartHandleFinalizer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/ffi/value.rs:272:9 [INFO] [stderr] | [INFO] [stderr] 268 | #[derive(Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stderr] | --------- in this derive macro expansion [INFO] [stderr] ... [INFO] [stderr] 272 | pub callback: DartHandleFinalizer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] [INFO] [stderr] warning: unused return value of `CString::from_raw` that must be used [INFO] [stderr] --> src/ffi/value.rs:308:30 [INFO] [stderr] | [INFO] [stderr] 308 | unsafe { CString::from_raw(self.value.as_string) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 308 | unsafe { let _ = CString::from_raw(self.value.as_string); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/finalizable_handle.rs:314:14 [INFO] [stderr] | [INFO] [stderr] 314 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/message_channel/event_channel.rs:76:19 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn borrow(&self) -> Ref { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/message_channel/event_channel.rs:80:23 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn borrow_mut(&self) -> RefMut { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 80 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/message_channel/message_channel_common.rs:63:24 [INFO] [stderr] | [INFO] [stderr] 63 | fn message_channel(&self) -> Ref; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 63 | fn message_channel(&self) -> Ref<'_, MessageChannel>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/message_channel/message_channel_common.rs:67:24 [INFO] [stderr] | [INFO] [stderr] 67 | fn message_channel(&self) -> Ref { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | fn message_channel(&self) -> Ref<'_, MessageChannel> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/run_loop.rs:147:14 [INFO] [stderr] | [INFO] [stderr] 147 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/util/capsule.rs:133:14 [INFO] [stderr] | [INFO] [stderr] 133 | unsafe { COUNTER.fetch_add(1, Ordering::SeqCst) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `nativeshell_core` (lib) generated 19 warnings (run `cargo fix --lib -p nativeshell_core` to apply 5 suggestions) [INFO] [stderr] warning: `nativeshell_core` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nativeshell_core-557085a3b8359563) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test value::tests::test_equality ... ok [INFO] [stdout] test value::tests::test_try_into_list ... ok [INFO] [stdout] test run_loop::tests::test_sender ... FAILED [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] thread 'run_loop::tests::test_run' (25) panicked at library/core/src/panicking.rs:225:5: [INFO] [stdout] thread 'run_loop::tests::test_run' (25) panicked at src/run_loop.rs:270:47: [INFO] [stderr] panic in a function that cannot unwind [INFO] [stdout] called `Result::unwrap()` on an `Err` value: WrongThread [INFO] [stderr] stack backtrace: [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e01d1512572 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e01d1512572 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e01d1512572 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e01d1512572 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e01d1523bff - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e01d1523bff - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5e01d14df8d1 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e01d14df8d1 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e01d14eb912 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e01d14f05af - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5e01d14f0441 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5e01d14ad82e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5e01d14ad82e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5e01d14f0c6f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5e01d14f0c6f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5e01d14f0aca - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5e01d14eba49 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5e01d14d3b7d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5e01d152b770 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5e01d152adc6 - core::result::unwrap_failed::h7f5a2d4cf85d933f [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1854:5 [INFO] [stdout] 20: 0x5e01d14595d5 - core::result::Result::unwrap::h28eab4f1c1fcad0f [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/result.rs:1225:23 [INFO] [stdout] 21: 0x5e01d14595d5 - nativeshell_core::run_loop::tests::test_sender::{{closure}}::{{closure}}::{{closure}}::h8f6ed1ff73d84b8e [INFO] [stdout] at /opt/rustwide/workdir/src/run_loop.rs:270:47 [INFO] [stdout] 22: 0x5e01d14516ae - nativeshell_core::platform::platform_impl::run_loop::PlatformRunLoopSender::send::trampoline::he5c2fe901f1d377b [INFO] [stdout] at /opt/rustwide/workdir/src/platform/linux/run_loop.rs:138:13 [INFO] [stdout] 23: 0x7de222c7849e - [INFO] [stdout] 24: 0x7de222cd7737 - [INFO] [stdout] 25: 0x7de222c78f87 - g_main_loop_run [INFO] [stdout] 26: 0x7de22264cbc5 - gtk_main [INFO] [stdout] 27: 0x5e01d144f2bb - nativeshell_core::platform::platform_impl::run_loop::PlatformRunLoop::run::h3c49b5a56e572ea0 [INFO] [stdout] at /opt/rustwide/workdir/src/platform/linux/run_loop.rs:99:18 [INFO] [stdout] 28: 0x5e01d147519a - nativeshell_core::run_loop::RunLoop::run::ha04265272dfd3006 [INFO] [stdout] at /opt/rustwide/workdir/src/run_loop.rs:71:32 [INFO] [stdout] 29: 0x5e01d1459f72 - nativeshell_core::run_loop::tests::test_run::h53e09501a9bf5b04 [INFO] [stdout] at /opt/rustwide/workdir/src/run_loop.rs:252:12 [INFO] [stdout] 30: 0x5e01d145a267 - nativeshell_core::run_loop::tests::test_run::{{closure}}::ha11328d08dc1c137 [INFO] [stdout] at /opt/rustwide/workdir/src/run_loop.rs:240:18 [INFO] [stdout] 31: 0x5e01d145b1d6 - core::ops::function::FnOnce::call_once::ha3bde89c7ff47f7d [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 32: 0x5e01d14ad5eb - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 33: 0x5e01d14ad5eb - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 34: 0x5e01d14c30d5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 35: 0x5e01d14c30d5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x5e01d14c30d5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x5e01d14c30d5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x5e01d14c30d5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5e01d14c30d5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 40: 0x5e01d14c30d5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 41: 0x5e01d1499a44 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 42: 0x5e01d1499a44 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 43: 0x5e01d149d3ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 44: 0x5e01d149d3ea - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 45: 0x5e01d149d3ea - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 46: 0x5e01d149d3ea - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 47: 0x5e01d149d3ea - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 48: 0x5e01d149d3ea - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 49: 0x5e01d149d3ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 50: 0x5e01d14e5b7f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 51: 0x5e01d14e5b7f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 52: 0x7de2222aaaa4 - [INFO] [stdout] 53: 0x7de222337a34 - clone [INFO] [stdout] 54: 0x0 - [INFO] [stderr] 0: 0x5e01d1512572 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5e01d1512572 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5e01d1512572 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5e01d1512572 - ::fmt::h427144ad75cfb218 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5e01d1523bff - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5e01d1523bff - core::fmt::write::h593aaf5adf0f5dae [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5e01d14df781 - std::io::default_write_fmt::hf108c2855e591a7c [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5e01d14df781 - std::io::Write::write_fmt::h6e02e29a2bcc97c1 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5e01d14eb912 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5e01d14f05af - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5e01d14f0409 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5e01d14ad82e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] 12: 0x5e01d14ad82e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x5e01d14f0c6f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] 14: 0x5e01d14f0c6f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x5e01d14f0a96 - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:700:13 [INFO] [stderr] 16: 0x5e01d14eba49 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x5e01d14d3b7d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x5e01d152b4bd - core::panicking::panic_nounwind_fmt::runtime::hdbc7121e9919dcbc [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:117:22 [INFO] [stderr] 19: 0x5e01d152b4bd - core::panicking::panic_nounwind_fmt::hf3eab0332d82b82f [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/intrinsics/mod.rs:2435:9 [INFO] [stderr] 20: 0x5e01d152b402 - core::panicking::panic_nounwind::hdf936f02400ebb71 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:225:5 [INFO] [stderr] 21: 0x5e01d152b617 - core::panicking::panic_cannot_unwind::h657546b2d591ab01 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:337:5 [INFO] [stderr] 22: 0x5e01d1451686 - nativeshell_core::platform::platform_impl::run_loop::PlatformRunLoopSender::send::trampoline::he5c2fe901f1d377b [INFO] [stderr] at /opt/rustwide/workdir/src/platform/linux/run_loop.rs:133:9 [INFO] [stderr] 23: 0x7de222c7849e - [INFO] [stderr] 24: 0x7de222cd7737 - [INFO] [stderr] 25: 0x7de222c78f87 - g_main_loop_run [INFO] [stderr] 26: 0x7de22264cbc5 - gtk_main [INFO] [stderr] 27: 0x5e01d144f2bb - nativeshell_core::platform::platform_impl::run_loop::PlatformRunLoop::run::h3c49b5a56e572ea0 [INFO] [stderr] at /opt/rustwide/workdir/src/platform/linux/run_loop.rs:99:18 [INFO] [stderr] 28: 0x5e01d147519a - nativeshell_core::run_loop::RunLoop::run::ha04265272dfd3006 [INFO] [stderr] at /opt/rustwide/workdir/src/run_loop.rs:71:32 [INFO] [stderr] 29: 0x5e01d1459f72 - nativeshell_core::run_loop::tests::test_run::h53e09501a9bf5b04 [INFO] [stderr] at /opt/rustwide/workdir/src/run_loop.rs:252:12 [INFO] [stderr] 30: 0x5e01d145a267 - nativeshell_core::run_loop::tests::test_run::{{closure}}::ha11328d08dc1c137 [INFO] [stderr] at /opt/rustwide/workdir/src/run_loop.rs:240:18 [INFO] [stderr] 31: 0x5e01d145b1d6 - core::ops::function::FnOnce::call_once::ha3bde89c7ff47f7d [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 32: 0x5e01d14ad5eb - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 33: 0x5e01d14ad5eb - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stderr] 34: 0x5e01d14c30d5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stderr] 35: 0x5e01d14c30d5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 36: 0x5e01d14c30d5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stderr] 37: 0x5e01d14c30d5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stderr] 38: 0x5e01d14c30d5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stderr] 39: 0x5e01d14c30d5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stderr] 40: 0x5e01d14c30d5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stderr] 41: 0x5e01d1499a44 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stderr] 42: 0x5e01d1499a44 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 43: 0x5e01d149d3ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 44: 0x5e01d149d3ea - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 45: 0x5e01d149d3ea - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stderr] 46: 0x5e01d149d3ea - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stderr] 47: 0x5e01d149d3ea - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stderr] 48: 0x5e01d149d3ea - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 49: 0x5e01d149d3ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 50: 0x5e01d14e5b7f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 51: 0x5e01d14e5b7f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stderr] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stderr] 52: 0x7de2222aaaa4 - [INFO] [stderr] 53: 0x7de222337a34 - clone [INFO] [stderr] 54: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/nativeshell_core-557085a3b8359563` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "256fe771b2570683c3a55eee438f99a8d3457fd4704073df75e7d102df50ac95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256fe771b2570683c3a55eee438f99a8d3457fd4704073df75e7d102df50ac95", kill_on_drop: false }` [INFO] [stdout] 256fe771b2570683c3a55eee438f99a8d3457fd4704073df75e7d102df50ac95