[INFO] cloning repository https://github.com/xXBannedXx/CoolKinectVrThingy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xXBannedXx/CoolKinectVrThingy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxXBannedXx%2FCoolKinectVrThingy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxXBannedXx%2FCoolKinectVrThingy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1e886ceb8252b194348acf7b718c08eb22e3407 [INFO] testing xXBannedXx/CoolKinectVrThingy against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxXBannedXx%2FCoolKinectVrThingy" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 35% (219/625) Updating files: 36% (225/625) Updating files: 36% (230/625) Updating files: 37% (232/625) Updating files: 38% (238/625) Updating files: 38% (243/625) Updating files: 39% (244/625) Updating files: 40% (250/625) Updating files: 41% (257/625) Updating files: 42% (263/625) Updating files: 43% (269/625) Updating files: 44% (275/625) Updating files: 45% (282/625) Updating files: 46% (288/625) Updating files: 46% (292/625) Updating files: 47% (294/625) Updating files: 48% (300/625) Updating files: 49% (307/625) Updating files: 50% (313/625) Updating files: 51% (319/625) Updating files: 52% (325/625) Updating files: 53% (332/625) Updating files: 54% (338/625) Updating files: 55% (344/625) Updating files: 56% (350/625) Updating files: 57% (357/625) Updating files: 58% (363/625) Updating files: 59% (369/625) Updating files: 60% (375/625) Updating files: 61% (382/625) Updating files: 62% (388/625) Updating files: 63% (394/625) Updating files: 64% (400/625) Updating files: 65% (407/625) Updating files: 66% (413/625) Updating files: 67% (419/625) Updating files: 68% (425/625) Updating files: 69% (432/625) Updating files: 70% (438/625) Updating files: 71% (444/625) Updating files: 72% (450/625) Updating files: 73% (457/625) Updating files: 74% (463/625) Updating files: 75% (469/625) Updating files: 76% (475/625) Updating files: 77% (482/625) Updating files: 78% (488/625) Updating files: 79% (494/625) Updating files: 80% (500/625) Updating files: 81% (507/625) Updating files: 82% (513/625) Updating files: 83% (519/625) Updating files: 84% (525/625) Updating files: 85% (532/625) Updating files: 86% (538/625) Updating files: 87% (544/625) Updating files: 88% (550/625) Updating files: 89% (557/625) Updating files: 90% (563/625) Updating files: 91% (569/625) Updating files: 92% (575/625) Updating files: 93% (582/625) Updating files: 94% (588/625) Updating files: 95% (594/625) Updating files: 95% (597/625) Updating files: 95% (598/625) Updating files: 96% (600/625) Updating files: 97% (607/625) Updating files: 98% (613/625) Updating files: 99% (619/625) Updating files: 100% (625/625) Updating files: 100% (625/625), done. [INFO] started tweaking git repo https://github.com/xXBannedXx/CoolKinectVrThingy [INFO] finished tweaking git repo https://github.com/xXBannedXx/CoolKinectVrThingy [INFO] tweaked toml for git repo https://github.com/xXBannedXx/CoolKinectVrThingy written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xXBannedXx/CoolKinectVrThingy on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xXBannedXx/CoolKinectVrThingy 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termios v0.3.3 [INFO] [stderr] Downloaded indoc v0.3.6 [INFO] [stderr] Downloaded paste-impl v0.1.18 [INFO] [stderr] Downloaded unindent v0.1.7 [INFO] [stderr] Downloaded paste v0.1.18 [INFO] [stderr] Downloaded libc-stdhandle v0.1.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.14.1 [INFO] [stderr] Downloaded indoc-impl v0.3.6 [INFO] [stderr] Downloaded pyo3-build-config v0.14.1 [INFO] [stderr] Downloaded pyo3-macros v0.14.1 [INFO] [stderr] Downloaded pyo3 v0.14.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcc61aecec0b6320430f490f36ccd27a84127d7a5b954e1014ceff31f57c22df [INFO] running `Command { std: "docker" "start" "-a" "bcc61aecec0b6320430f490f36ccd27a84127d7a5b954e1014ceff31f57c22df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcc61aecec0b6320430f490f36ccd27a84127d7a5b954e1014ceff31f57c22df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc61aecec0b6320430f490f36ccd27a84127d7a5b954e1014ceff31f57c22df", kill_on_drop: false }` [INFO] [stdout] bcc61aecec0b6320430f490f36ccd27a84127d7a5b954e1014ceff31f57c22df [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 78c671ef584dfd06fea0e9c4f7e5e0ba27e39336910520212b14ee3738022d2e [INFO] running `Command { std: "docker" "start" "-a" "78c671ef584dfd06fea0e9c4f7e5e0ba27e39336910520212b14ee3738022d2e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling pyo3-build-config v0.14.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling CoolKinectVrThingy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pyo3 v0.14.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling pyo3-macros-backend v0.14.1 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling pyo3-macros v0.14.1 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:47:52 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe {thread::spawn(|| {startNunchukListener(&mut joystick_x, &mut joystick_y, &mut joystick_c, &mut joystick_z,).expect("Error occ... [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | unsafe {thread::spawn(|| {startNunchukListener(&raw mut joystick_x, &mut joystick_y, &mut joystick_c, &mut joystick_z,).expect("Error occured when starting Nunchuk Listener")})}; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:47:69 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe {thread::spawn(|| {startNunchukListener(&mut joystick_x, &mut joystick_y, &mut joystick_c, &mut joystick_z,).expect("Error occ... [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | unsafe {thread::spawn(|| {startNunchukListener(&mut joystick_x, &raw mut joystick_y, &mut joystick_c, &mut joystick_z,).expect("Error occured when starting Nunchuk Listener")})}; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:47:86 [INFO] [stdout] | [INFO] [stdout] 47 | ...stener(&mut joystick_x, &mut joystick_y, &mut joystick_c, &mut joystick_z,).expect("Error occured when starting Nunchuk Listener")})}; [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | unsafe {thread::spawn(|| {startNunchukListener(&mut joystick_x, &mut joystick_y, &raw mut joystick_c, &mut joystick_z,).expect("Error occured when starting Nunchuk Listener")})}; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:47:103 [INFO] [stdout] | [INFO] [stdout] 47 | ...ick_x, &mut joystick_y, &mut joystick_c, &mut joystick_z,).expect("Error occured when starting Nunchuk Listener")})}; [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 47 | unsafe {thread::spawn(|| {startNunchukListener(&mut joystick_x, &mut joystick_y, &mut joystick_c, &raw mut joystick_z,).expect("Error occured when starting Nunchuk Listener")})}; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | return unsafe { nite4vr::head.getPosition().x }; [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/main.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | return unsafe { nite4vr::head.getPosition().y }; [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/main.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | return unsafe { nite4vr::head.getPosition().z }; [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/main.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | return unsafe { nite4vr::left_hand.getPosition().x }; [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/main.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | return unsafe { nite4vr::left_hand.getPosition().y }; [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/main.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | return unsafe { nite4vr::left_hand.getPosition().z }; [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/main.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | return unsafe { nite4vr::right_hand.getPosition().x }; [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/main.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | return unsafe { nite4vr::right_hand.getPosition().y }; [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/main.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | return unsafe { nite4vr::right_hand.getPosition().z }; [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/main.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | return unsafe { nite4vr::left_elbow.getPosition().x }; [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/main.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | return unsafe { nite4vr::left_elbow.getPosition().y }; [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/main.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | return unsafe { nite4vr::left_elbow.getPosition().z }; [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/main.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | return unsafe { nite4vr::left_elbow.getPosition().x }; [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/main.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | return unsafe { nite4vr::left_elbow.getPosition().y }; [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/main.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | return unsafe { nite4vr::left_elbow.getPosition().z }; [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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcV4y98N/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lNiTE2" "-lOpenNI2" "-lnite4vr" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libpyo3-68b9527c7f645259.rlib}.rlib" "-lpython3.12" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libparking_lot-3575c237bbed99e3.rlib,libparking_lot_core-5cf0dd3188db17c2.rlib,libsmallvec-a0b9fe2bb61c7c93.rlib,liblock_api-8a3a9ae637979500.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-7deb58ca3148c0e0.rlib,libcfg_if-66d55f6b302e88c8.rlib,libunindent-36eea72866b84bc1.rlib,libpaste-44c94659a0b91142.rlib,libindoc-e6e04c9d6bf88ed6.rlib,liblibc_stdhandle-a1ee21a8bcc1c245.rlib,libtermios-f019340aa5711084.rlib}.rlib" "-lc" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liblibc-86a4568e0b15564e.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcV4y98N/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/libc-stdhandle-d0ca1ded76ed2bbd/out" "-L" "/home/yashr/Documents/CoolKinectVrThingy/libs/NiTE-Linux-x64-2.2/Samples/Bin/" "-L" "/home/yashr/Documents/CoolKinectVrThingy/libs/libnite4vr/" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/CoolKinectVrThingy-e617228e63b230e1" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lNiTE2: No such file or directory [INFO] [stdout] /usr/bin/ld: cannot find -lOpenNI2: No such file or directory [INFO] [stdout] /usr/bin/ld: cannot find -lnite4vr: No such file or directory [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): in function `_PyImport_FindSharedFuncptr': [INFO] [stdout] (.text+0x88): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrall': [INFO] [stdout] (.text.unlikely+0x482): warning: Using 'getgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x464): warning: Using 'setgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x4ae): warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrgid': [INFO] [stdout] (.text+0xe9): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): in function `grp_getgrnam': [INFO] [stdout] (.text.unlikely+0x389): warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_getgrouplist': [INFO] [stdout] (.text.unlikely+0x7104): warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): in function `os_initgroups': [INFO] [stdout] (.text.unlikely+0x73ab): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `setipaddr': [INFO] [stdout] (.text+0x43ec): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyaddr': [INFO] [stdout] (.text.unlikely+0x2a1a): warning: Using 'gethostbyaddr_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_gethostbyname_ex': [INFO] [stdout] (.text.unlikely+0x2ff7): warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getprotobyname': [INFO] [stdout] (.text.unlikely+0x3c89): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwall': [INFO] [stdout] (.text.unlikely+0x26a): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x24c): warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x28e): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwnam': [INFO] [stdout] (.text.unlikely+0x3b1): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): in function `pwd_getpwuid': [INFO] [stdout] (.text+0x77): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyname': [INFO] [stdout] (.text.unlikely+0x3dd9): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): in function `socket_getservbyport': [INFO] [stdout] (.text.unlikely+0x3d44): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspall': [INFO] [stdout] (.text.unlikely+0x335): warning: Using 'getspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x317): warning: Using 'setspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: (.text.unlikely+0x359): warning: Using 'endspent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): in function `spwd_getspnam': [INFO] [stdout] (.text.unlikely+0xd4): warning: Using 'getspnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(dynload_shlib.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(grpmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(posixmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(pwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(socketmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libpython3.12.a(spwdmodule.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `CoolKinectVrThingy` (bin "CoolKinectVrThingy") due to 1 previous error; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "78c671ef584dfd06fea0e9c4f7e5e0ba27e39336910520212b14ee3738022d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78c671ef584dfd06fea0e9c4f7e5e0ba27e39336910520212b14ee3738022d2e", kill_on_drop: false }` [INFO] [stdout] 78c671ef584dfd06fea0e9c4f7e5e0ba27e39336910520212b14ee3738022d2e