[INFO] fetching crate trecs 0.1.3... [INFO] testing trecs-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate trecs 0.1.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate trecs 0.1.3 [INFO] finished tweaking crates.io crate trecs 0.1.3 [INFO] tweaked toml for crates.io crate trecs 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trecs 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate trecs 0.1.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1555d96c2bad1c63057b7dba6c03b99974bffe165327ecf2520be0baab321e0 [INFO] running `Command { std: "docker" "start" "-a" "c1555d96c2bad1c63057b7dba6c03b99974bffe165327ecf2520be0baab321e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1555d96c2bad1c63057b7dba6c03b99974bffe165327ecf2520be0baab321e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1555d96c2bad1c63057b7dba6c03b99974bffe165327ecf2520be0baab321e0", kill_on_drop: false }` [INFO] [stdout] c1555d96c2bad1c63057b7dba6c03b99974bffe165327ecf2520be0baab321e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e8a19f2ac8a18f5f9498948020d55ce8d4851cf47aff82af32fedf6a250bd8a [INFO] running `Command { std: "docker" "start" "-a" "2e8a19f2ac8a18f5f9498948020d55ce8d4851cf47aff82af32fedf6a250bd8a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling trecs_proc v0.1.2 [INFO] [stderr] Compiling trecs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | COMPONENT_IDS.get_or_init(|| HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (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/bundle/component.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 91 | trecs_proc::all_tuple!(impl_bundle, 16); [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 `impl_bundle` which comes from the expansion of the macro `trecs_proc::all_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bundle/component.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | COMPONENT_IDS.get_or_init(HashMap::new); [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/bundle/component.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | let hashset = COMPONENT_IDS.get_mut().unwrap(); [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] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> src/tools/fetch.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | / &mut *(&components[mapping_table.as_mapping().copied().unwrap()] as *const dyn Any [INFO] [stdout] 131 | | as *mut T) [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trecs` (lib) due to 1 previous error; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e8a19f2ac8a18f5f9498948020d55ce8d4851cf47aff82af32fedf6a250bd8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e8a19f2ac8a18f5f9498948020d55ce8d4851cf47aff82af32fedf6a250bd8a", kill_on_drop: false }` [INFO] [stdout] 2e8a19f2ac8a18f5f9498948020d55ce8d4851cf47aff82af32fedf6a250bd8a