[INFO] fetching crate gdnative-core 0.11.3... [INFO] checking gdnative-core-0.11.3 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate gdnative-core 0.11.3 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gdnative-core 0.11.3 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 86 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding glam v0.22.0 (available: v0.30.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniserde v0.1.42 [INFO] [stderr] Downloaded gdnative-derive v0.11.3 [INFO] [stderr] Downloaded mini-internal v0.1.42 [INFO] [stderr] Downloaded gdnative-impl-proc-macros v0.11.3 [INFO] [stderr] Downloaded inventory v0.3.21 [INFO] [stderr] Downloaded gdnative-sys v0.11.3 [INFO] [stderr] Downloaded bindgen v0.63.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51cc6c4a4dacd64609efb5ab52134335de15023045ca1e26f33d79c86c799b1d [INFO] running `Command { std: "docker" "start" "-a" "51cc6c4a4dacd64609efb5ab52134335de15023045ca1e26f33d79c86c799b1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51cc6c4a4dacd64609efb5ab52134335de15023045ca1e26f33d79c86c799b1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51cc6c4a4dacd64609efb5ab52134335de15023045ca1e26f33d79c86c799b1d", kill_on_drop: false }` [INFO] [stdout] 51cc6c4a4dacd64609efb5ab52134335de15023045ca1e26f33d79c86c799b1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd204b3727f3f2ccd7fcabefe23323fe56a76afeb86ca329c186b8dccae03182 [INFO] running `Command { std: "docker" "start" "-a" "fd204b3727f3f2ccd7fcabefe23323fe56a76afeb86ca329c186b8dccae03182", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling bindgen v0.63.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling mini-internal v0.1.42 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking glam v0.22.0 [INFO] [stderr] Checking atomic-take v1.1.0 [INFO] [stderr] Compiling miniserde v0.1.42 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core_types/dictionary.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn iter(&self) -> Iter { [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] 203 | pub fn iter(&self) -> Iter<'_, Own> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 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: hiding a lifetime that's elided elsewhere is 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 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] 616 | pub fn try_borrow(&self) -> Result>, LocalCellError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 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] [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core_types/dictionary.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn iter(&self) -> Iter { [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] 203 | pub fn iter(&self) -> Iter<'_, Own> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 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: hiding a lifetime that's elided elsewhere is 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 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] 616 | pub fn try_borrow(&self) -> Result>, LocalCellError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.46s [INFO] running `Command { std: "docker" "inspect" "fd204b3727f3f2ccd7fcabefe23323fe56a76afeb86ca329c186b8dccae03182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd204b3727f3f2ccd7fcabefe23323fe56a76afeb86ca329c186b8dccae03182", kill_on_drop: false }` [INFO] [stdout] fd204b3727f3f2ccd7fcabefe23323fe56a76afeb86ca329c186b8dccae03182