[INFO] cloning repository https://github.com/cbrownsey/wrenlet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cbrownsey/wrenlet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbrownsey%2Fwrenlet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbrownsey%2Fwrenlet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75e879e0436c6b519879bf7f14297bb224f117f9 [INFO] checking cbrownsey/wrenlet against master#8365fcb2b840c95eeb0bc377af8bd498fad22245 for pr-145605 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbrownsey%2Fwrenlet" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cbrownsey/wrenlet [INFO] finished tweaking git repo https://github.com/cbrownsey/wrenlet [INFO] tweaked toml for git repo https://github.com/cbrownsey/wrenlet written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cbrownsey/wrenlet on toolchain 8365fcb2b840c95eeb0bc377af8bd498fad22245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cbrownsey/wrenlet already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3d18fd7a90f16d0e2a9e0ca6306cbfe347e44fd3d63382059f12a5bd7e992af [INFO] running `Command { std: "docker" "start" "-a" "a3d18fd7a90f16d0e2a9e0ca6306cbfe347e44fd3d63382059f12a5bd7e992af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3d18fd7a90f16d0e2a9e0ca6306cbfe347e44fd3d63382059f12a5bd7e992af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d18fd7a90f16d0e2a9e0ca6306cbfe347e44fd3d63382059f12a5bd7e992af", kill_on_drop: false }` [INFO] [stdout] a3d18fd7a90f16d0e2a9e0ca6306cbfe347e44fd3d63382059f12a5bd7e992af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8365fcb2b840c95eeb0bc377af8bd498fad22245" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f438e29c8f700d600f7cfbddedf3b7463905a71b14f87e39e666693055ea6fc3 [INFO] running `Command { std: "docker" "start" "-a" "f438e29c8f700d600f7cfbddedf3b7463905a71b14f87e39e666693055ea6fc3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling sealed v0.6.0 [INFO] [stderr] Compiling wrenlet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/foreign/method.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | fn inner(this: &mut $foreign, $( $arg: $arg_ty ),* ) $( -> $ret )? $body [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] ... [INFO] [stdout] 103 | static X: ForeignMethod = __foreign_method_unsafe! { for Foreign, "add(_)" => [INFO] [stdout] | ___________________________- [INFO] [stdout] 104 | | fn(this, _lhs: f64, _rhs: f64) -> f64 { [INFO] [stdout] 105 | | todo!() [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__foreign_method_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/foreign/method.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | fn inner(this: &mut $foreign, $( $arg: $arg_ty ),* ) $( -> $ret )? $body [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] ... [INFO] [stdout] 103 | static X: ForeignMethod = __foreign_method_unsafe! { for Foreign, "add(_)" => [INFO] [stdout] | ___________________________- [INFO] [stdout] 104 | | fn(this, _lhs: f64, _rhs: f64) -> f64 { [INFO] [stdout] 105 | | todo!() [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__foreign_method_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/call_handle.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CallHandle<'b>(pub(crate) raw::WrenHandle, pub(crate) Invariant<'b>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - pub struct CallHandle<'b>(pub(crate) raw::WrenHandle, pub(crate) Invariant<'b>); [INFO] [stdout] 7 + pub struct CallHandle<'b>((), pub(crate) Invariant<'b>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/call_handle.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct WrenRef<'b>(pub(crate) raw::WrenVM, pub(crate) Invariant<'b>); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - pub struct WrenRef<'b>(pub(crate) raw::WrenVM, pub(crate) Invariant<'b>); [INFO] [stdout] 9 + pub struct WrenRef<'b>((), pub(crate) Invariant<'b>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foreign` is never constructed [INFO] [stdout] --> src/foreign/method.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct Foreign; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `X` is never used [INFO] [stdout] --> src/foreign/method.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | static X: ForeignMethod = __foreign_method_unsafe! { for Foreign, "add(_)" => [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/raw.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl WrenVM { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn call(&self, method: WrenHandle) -> sys::WrenInterpretResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub unsafe fn release_handle(&self, handle: WrenHandle) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub unsafe fn ensure_slots(&self, slot_count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub unsafe fn get_slot_handle(&self, slot: i32) -> WrenHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub unsafe fn set_slot_new_foreign(&self, slot: i32, class_slot: i32, size: usize) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub unsafe fn set_slot_new_list(&self, slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub unsafe fn set_slot_new_map(&self, slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub unsafe fn set_slot_handle(&self, slot: i32, handle: WrenHandle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub unsafe fn get_list_count(&self, slot: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub unsafe fn get_list_element(&self, list_slot: i32, index: i32, element_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub unsafe fn set_list_element(&self, list_slot: i32, index: i32, element_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub unsafe fn insert_in_list(&self, list_slot: i32, index: i32, element_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 354 | pub unsafe fn get_map_count(&self, slot: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub unsafe fn get_map_contains_key(&self, map_slot: i32, key_slot: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub unsafe fn get_map_value(&self, map_slot: i32, key_slot: i32, value_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub unsafe fn set_map_value(&self, map_slot: i32, key_slot: i32, value_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub unsafe fn remove_map_value(&self, map_slot: i32, key_slot: i32, value_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 417 | pub unsafe fn get_variable(&self, module: &CStr, name: &CStr, slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub unsafe fn abort_fiber(&self, slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | pub fn set_user_data(&self, ptr: *mut ()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ptr` is never used [INFO] [stdout] --> src/raw.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 471 | impl WrenHandle { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 472 | pub fn as_ptr(&self) -> *mut sys::WrenHandle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WrenInterpretResult` is never used [INFO] [stdout] --> src/raw.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | pub(crate) enum WrenInterpretResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/raw.rs:486:8 [INFO] [stdout] | [INFO] [stdout] 485 | impl WrenInterpretResult { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 486 | fn from_raw(val: sys::WrenInterpretResult) -> WrenInterpretResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_wren` is never used [INFO] [stdout] --> src/value.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 28 | impl Value<'_> { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 29 | pub(crate) unsafe fn from_wren<'a>(wren: &WrenVM, slot: i32) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WrenWeak` is never constructed [INFO] [stdout] --> src/wren_weak.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct WrenWeak { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `upgrade` is never used [INFO] [stdout] --> src/wren_weak.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl WrenWeak { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 11 | pub fn upgrade(&self) -> WrenVM { [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/foreign/class.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 23 | pub allocate: unsafe extern "C" fn(*mut sys::WrenVM), [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/foreign/class.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 24 | pub finalize: unsafe extern "C" fn(*mut ffi::c_void), [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/foreign/method.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 21 | pub function: unsafe extern "C" fn(*mut ()), [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/foreign/method.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] | ---------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 21 | pub function: unsafe extern "C" fn(*mut ()), [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/foreign/method.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] | --- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 21 | pub function: unsafe extern "C" fn(*mut ()), [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: field `0` is never read [INFO] [stdout] --> src/call_handle.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CallHandle<'b>(pub(crate) raw::WrenHandle, pub(crate) Invariant<'b>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - pub struct CallHandle<'b>(pub(crate) raw::WrenHandle, pub(crate) Invariant<'b>); [INFO] [stdout] 7 + pub struct CallHandle<'b>((), pub(crate) Invariant<'b>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/call_handle.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct WrenRef<'b>(pub(crate) raw::WrenVM, pub(crate) Invariant<'b>); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - pub struct WrenRef<'b>(pub(crate) raw::WrenVM, pub(crate) Invariant<'b>); [INFO] [stdout] 9 + pub struct WrenRef<'b>((), pub(crate) Invariant<'b>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Foreign` is never constructed [INFO] [stdout] --> src/foreign/method.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct Foreign; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `X` is never used [INFO] [stdout] --> src/foreign/method.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | static X: ForeignMethod = __foreign_method_unsafe! { for Foreign, "add(_)" => [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/raw.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl WrenVM { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn call(&self, method: WrenHandle) -> sys::WrenInterpretResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub unsafe fn release_handle(&self, handle: WrenHandle) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub unsafe fn ensure_slots(&self, slot_count: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub unsafe fn get_slot_handle(&self, slot: i32) -> WrenHandle { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub unsafe fn set_slot_new_foreign(&self, slot: i32, class_slot: i32, size: usize) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub unsafe fn set_slot_new_list(&self, slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub unsafe fn set_slot_new_map(&self, slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub unsafe fn set_slot_handle(&self, slot: i32, handle: WrenHandle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub unsafe fn get_list_count(&self, slot: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub unsafe fn get_list_element(&self, list_slot: i32, index: i32, element_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub unsafe fn set_list_element(&self, list_slot: i32, index: i32, element_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub unsafe fn insert_in_list(&self, list_slot: i32, index: i32, element_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 354 | pub unsafe fn get_map_count(&self, slot: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub unsafe fn get_map_contains_key(&self, map_slot: i32, key_slot: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub unsafe fn get_map_value(&self, map_slot: i32, key_slot: i32, value_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub unsafe fn set_map_value(&self, map_slot: i32, key_slot: i32, value_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub unsafe fn remove_map_value(&self, map_slot: i32, key_slot: i32, value_slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 417 | pub unsafe fn get_variable(&self, module: &CStr, name: &CStr, slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | pub unsafe fn abort_fiber(&self, slot: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | pub fn set_user_data(&self, ptr: *mut ()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_ptr` is never used [INFO] [stdout] --> src/raw.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 471 | impl WrenHandle { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 472 | pub fn as_ptr(&self) -> *mut sys::WrenHandle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `WrenInterpretResult` is never used [INFO] [stdout] --> src/raw.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | pub(crate) enum WrenInterpretResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/raw.rs:486:8 [INFO] [stdout] | [INFO] [stdout] 485 | impl WrenInterpretResult { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 486 | fn from_raw(val: sys::WrenInterpretResult) -> WrenInterpretResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_wren` is never used [INFO] [stdout] --> src/value.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 28 | impl Value<'_> { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 29 | pub(crate) unsafe fn from_wren<'a>(wren: &WrenVM, slot: i32) -> Value<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WrenWeak` is never constructed [INFO] [stdout] --> src/wren_weak.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct WrenWeak { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `upgrade` is never used [INFO] [stdout] --> src/wren_weak.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl WrenWeak { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 11 | pub fn upgrade(&self) -> WrenVM { [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/foreign/class.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 23 | pub allocate: unsafe extern "C" fn(*mut sys::WrenVM), [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/foreign/class.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 24 | pub finalize: unsafe extern "C" fn(*mut ffi::c_void), [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/foreign/method.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 21 | pub function: unsafe extern "C" fn(*mut ()), [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/foreign/method.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] | ---------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 21 | pub function: unsafe extern "C" fn(*mut ()), [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/foreign/method.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stdout] | --- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 21 | pub function: unsafe extern "C" fn(*mut ()), [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 import: `Wren` [INFO] [stdout] --> tests/foreigns.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | Builder, Wren, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.77s [INFO] running `Command { std: "docker" "inspect" "f438e29c8f700d600f7cfbddedf3b7463905a71b14f87e39e666693055ea6fc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f438e29c8f700d600f7cfbddedf3b7463905a71b14f87e39e666693055ea6fc3", kill_on_drop: false }` [INFO] [stdout] f438e29c8f700d600f7cfbddedf3b7463905a71b14f87e39e666693055ea6fc3