[INFO] fetching crate gdnative-core 0.11.3... [INFO] checking gdnative-core-0.11.3 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate gdnative-core 0.11.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate gdnative-core 0.11.3 [INFO] finished tweaking crates.io crate gdnative-core 0.11.3 [INFO] tweaked toml for crates.io crate gdnative-core 0.11.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gdnative-core 0.11.3 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.1) [INFO] [stderr] Adding glam v0.22.0 (available: v0.30.4) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mini-internal v0.1.42 [INFO] [stderr] Downloaded gdnative-impl-proc-macros v0.11.3 [INFO] [stderr] Downloaded miniserde v0.1.42 [INFO] [stderr] Downloaded gdnative-derive v0.11.3 [INFO] [stderr] Downloaded gdnative-sys v0.11.3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 371161c289dfccb26d6340f70ed51b0d483c5db1d55c3d068d7a5d852bea4fb9 [INFO] running `Command { std: "docker" "start" "-a" "371161c289dfccb26d6340f70ed51b0d483c5db1d55c3d068d7a5d852bea4fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "371161c289dfccb26d6340f70ed51b0d483c5db1d55c3d068d7a5d852bea4fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "371161c289dfccb26d6340f70ed51b0d483c5db1d55c3d068d7a5d852bea4fb9", kill_on_drop: false }` [INFO] [stdout] 371161c289dfccb26d6340f70ed51b0d483c5db1d55c3d068d7a5d852bea4fb9 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fbcbd47fc75b53fbf78f59805f5d2a6564624a7b6adac645edd83414d88ce05 [INFO] running `Command { std: "docker" "start" "-a" "4fbcbd47fc75b53fbf78f59805f5d2a6564624a7b6adac645edd83414d88ce05", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling bindgen v0.63.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking glam v0.22.0 [INFO] [stderr] Checking atomic-take v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling mini-internal v0.1.42 [INFO] [stderr] Compiling miniserde v0.1.42 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling gdnative-derive v0.11.3 [INFO] [stderr] Compiling gdnative-impl-proc-macros v0.11.3 [INFO] [stderr] Compiling gdnative-sys v0.11.3 [INFO] [stderr] Checking gdnative-core v0.11.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/core_types/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use dictionary::*; [INFO] [stdout] | ------------- but the name `Iter` in the type namespace is also re-exported here [INFO] [stdout] ... [INFO] [stdout] 45 | pub use variant_array::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/core_types/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use dictionary::*; [INFO] [stdout] | ------------- but the name `IntoIter` in the type namespace is also re-exported here [INFO] [stdout] ... [INFO] [stdout] 45 | pub use variant_array::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `IntoIter` in the type namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gdnative_derive::godot_wrap_method` [INFO] [stdout] --> src/export/macros.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use gdnative_derive::godot_wrap_method; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/core_types/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use dictionary::*; [INFO] [stdout] | ------------- but the name `Iter` in the type namespace is also re-exported here [INFO] [stdout] ... [INFO] [stdout] 45 | pub use variant_array::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/core_types/mod.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub use dictionary::*; [INFO] [stdout] | ------------- but the name `IntoIter` in the type namespace is also re-exported here [INFO] [stdout] ... [INFO] [stdout] 45 | pub use variant_array::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the name `IntoIter` in the type namespace is first re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gdnative_derive::godot_wrap_method` [INFO] [stdout] --> src/export/macros.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use gdnative_derive::godot_wrap_method; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core_types/geom/rect2.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct MarginError(i64); [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MarginError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core_types/dictionary.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 203 | pub fn iter(&self) -> Iter<'_, Own> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/export/class_builder.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn signal(&self, name: &str) -> SignalBuilder { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 166 | pub fn signal(&self, name: &str) -> SignalBuilder<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/export/type_tag.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | let tags = TAGS.get_or_insert_with(IndexSet::default); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/export/type_tag.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | let tags = TAGS.as_ref().expect("tag should be created by `create`"); [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 mutable reference to mutable static [INFO] [stdout] --> src/export/type_tag.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(tags) = TAGS.take() { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/export/user_data.rs:616:27 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn try_borrow(&self) -> Result>, LocalCellError> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 616 | pub fn try_borrow(&self) -> Result>, LocalCellError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/export/user_data.rs:622:31 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn try_borrow_mut(&self) -> Result>, LocalCellError> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 622 | pub fn try_borrow_mut(&self) -> Result>, LocalCellError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/private.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | return GODOT_API.as_ref().expect(ERR_MSG); [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/private.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | unsafe { GODOT_API.as_ref() } [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/private.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe { GODOT_API.is_some() } [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 mutable reference to mutable static [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 305 | / make_method_table!(struct ObjectMethodTable for Object { [INFO] [stdout] 306 | | get_class, [INFO] [stdout] 307 | | is_class, [INFO] [stdout] 308 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | / make_method_table!(struct ReferenceMethodTable for Reference { [INFO] [stdout] 311 | | reference, [INFO] [stdout] 312 | | unreference, [INFO] [stdout] 313 | | init_ref, [INFO] [stdout] 314 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | / make_method_table!(struct NativeScriptMethodTable for NativeScript { [INFO] [stdout] 319 | | set_class_name, [INFO] [stdout] 320 | | set_library, [INFO] [stdout] 321 | | new, [INFO] [stdout] 322 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (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/core_types/geom/rect2.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct MarginError(i64); [INFO] [stdout] | ----------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MarginError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core_types/dictionary.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 203 | pub fn iter(&self) -> Iter<'_, Own> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/export/class_builder.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn signal(&self, name: &str) -> SignalBuilder { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 166 | pub fn signal(&self, name: &str) -> SignalBuilder<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/export/type_tag.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | let tags = TAGS.get_or_insert_with(IndexSet::default); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/export/type_tag.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | let tags = TAGS.as_ref().expect("tag should be created by `create`"); [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 mutable reference to mutable static [INFO] [stdout] --> src/export/type_tag.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(tags) = TAGS.take() { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/export/user_data.rs:616:27 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn try_borrow(&self) -> Result>, LocalCellError> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 616 | pub fn try_borrow(&self) -> Result>, LocalCellError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/export/user_data.rs:622:31 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn try_borrow_mut(&self) -> Result>, LocalCellError> { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 622 | pub fn try_borrow_mut(&self) -> Result>, LocalCellError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/private.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | return GODOT_API.as_ref().unwrap_or_else(|| { [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/private.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | unsafe { GODOT_API.as_ref() } [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/private.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe { GODOT_API.is_some() } [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 mutable reference to mutable static [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 305 | / make_method_table!(struct ObjectMethodTable for Object { [INFO] [stdout] 306 | | get_class, [INFO] [stdout] 307 | | is_class, [INFO] [stdout] 308 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 310 | / make_method_table!(struct ReferenceMethodTable for Reference { [INFO] [stdout] 311 | | reference, [INFO] [stdout] 312 | | unreference, [INFO] [stdout] 313 | | init_ref, [INFO] [stdout] 314 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/private.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | &mut TABLE [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 318 | / make_method_table!(struct NativeScriptMethodTable for NativeScript { [INFO] [stdout] 319 | | set_class_name, [INFO] [stdout] 320 | | set_library, [INFO] [stdout] 321 | | new, [INFO] [stdout] 322 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `make_method_table` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.03s [INFO] running `Command { std: "docker" "inspect" "4fbcbd47fc75b53fbf78f59805f5d2a6564624a7b6adac645edd83414d88ce05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fbcbd47fc75b53fbf78f59805f5d2a6564624a7b6adac645edd83414d88ce05", kill_on_drop: false }` [INFO] [stdout] 4fbcbd47fc75b53fbf78f59805f5d2a6564624a7b6adac645edd83414d88ce05