[INFO] cloning repository https://github.com/TKGgunter/yolov4_tiny_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TKGgunter/yolov4_tiny_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTKGgunter%2Fyolov4_tiny_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTKGgunter%2Fyolov4_tiny_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d84b512b2a0aff8bd5a974bab1a5c1f5b2e56c0 [INFO] testing TKGgunter/yolov4_tiny_rs against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTKGgunter%2Fyolov4_tiny_rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TKGgunter/yolov4_tiny_rs [INFO] finished tweaking git repo https://github.com/TKGgunter/yolov4_tiny_rs [INFO] tweaked toml for git repo https://github.com/TKGgunter/yolov4_tiny_rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TKGgunter/yolov4_tiny_rs 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 git repo https://github.com/TKGgunter/yolov4_tiny_rs 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3b6a29d2370fe16221571edc4b8504bf53ff20c03198dcb6804a20e4349003ac [INFO] running `Command { std: "docker" "start" "-a" "3b6a29d2370fe16221571edc4b8504bf53ff20c03198dcb6804a20e4349003ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b6a29d2370fe16221571edc4b8504bf53ff20c03198dcb6804a20e4349003ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b6a29d2370fe16221571edc4b8504bf53ff20c03198dcb6804a20e4349003ac", kill_on_drop: false }` [INFO] [stdout] 3b6a29d2370fe16221571edc4b8504bf53ff20c03198dcb6804a20e4349003ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7d30bee3fbf6c40c48dbf0dda9a4fa45ef0e96f152f77faff5b8cbd1eff37c6f [INFO] running `Command { std: "docker" "start" "-a" "7d30bee3fbf6c40c48dbf0dda9a4fa45ef0e96f152f77faff5b8cbd1eff37c6f", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cuda11-cudnn-sys v0.1.0 (/opt/rustwide/workdir/cuda11-cudnn-sys) [INFO] [stderr] Compiling cuda11-cuda-sys v0.1.0 (/opt/rustwide/workdir/cuda11-cuda-sys) [INFO] [stderr] Compiling cuda11-cublasLt-sys v0.1.0 (/opt/rustwide/workdir/cuda11-cublasLt-sys) [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling cuda11-cudart-sys v0.1.0 (/opt/rustwide/workdir/cuda11-cudart-sys) [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling stb_image-sys v0.1.0 (/opt/rustwide/workdir/stb_image-sys) [INFO] [stderr] Compiling stb_tt-sys v0.1.0 (/opt/rustwide/workdir/stb_tt-sys) [INFO] [stderr] Compiling stb_image_write-sys v0.1.0 (/opt/rustwide/workdir/stb_image_write-sys) [INFO] [stderr] Compiling stb_resize-sys v0.1.0 (/opt/rustwide/workdir/stb_resize-sys) [INFO] [stdout] warning: crate `cuda11_cublasLt_sys` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `cuda11_cublas_lt_sys` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> stb_resize-sys/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> stb_image_write-sys/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern{ [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: stb_tt-sys@0.1.0: stb_tt/stb_truetype.c: In function 'stbtt_GetGlyphSDF': [INFO] [stderr] warning: stb_tt-sys@0.1.0: stb_tt/stb_truetype.c:4357:53: warning: 'res[1]' may be used uninitialized [-Wmaybe-uninitialized] [INFO] [stderr] warning: stb_tt-sys@0.1.0: 4357 | if (num >= 2 && res[1] >= 0.0f && res[1] <= 1.0f) { [INFO] [stderr] warning: stb_tt-sys@0.1.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: stb_tt-sys@0.1.0: stb_tt/stb_truetype.c:4322:28: note: 'res[1]' was declared here [INFO] [stderr] warning: stb_tt-sys@0.1.0: 4322 | float res[3],px,py,t,it; [INFO] [stderr] warning: stb_tt-sys@0.1.0: | ^~~ [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> stb_tt-sys/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | extern{ [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] warning: stb_image-sys@0.1.0: stb_image/stb_image.c: In function 'stbi__zhuffman_decode_slowpath': [INFO] [stderr] warning: stb_image-sys@0.1.0: stb_image/stb_image.c:4124:10: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: stb_image-sys@0.1.0: 4124 | if (b >= sizeof (z->size)) return -1; // some data was corrupt somewhere! [INFO] [stderr] warning: stb_image-sys@0.1.0: | ^~ [INFO] [stderr] warning: stb_image-sys@0.1.0: stb_image/stb_image.c: In function 'stbi__load_gif_main': [INFO] [stderr] warning: stb_image-sys@0.1.0: stb_image/stb_image.c:6781:11: warning: variable 'delays_size' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: stb_image-sys@0.1.0: 6781 | int delays_size = 0; [INFO] [stderr] warning: stb_image-sys@0.1.0: | ^~~~~~~~~~~ [INFO] [stderr] warning: stb_image-sys@0.1.0: stb_image/stb_image.c:6780:11: warning: variable 'out_size' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: stb_image-sys@0.1.0: 6780 | int out_size = 0; [INFO] [stderr] warning: stb_image-sys@0.1.0: | ^~~~~~~~ [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> stb_image-sys/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern{ [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cuda11-cutensor-sys v0.1.0 (/opt/rustwide/workdir/cuda11-cutensor-sys) [INFO] [stderr] Compiling yolov4_tiny_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/main.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/main.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/main.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on macro defs [INFO] [stdout] --> src/main.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, and crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:1112:5 [INFO] [stdout] | [INFO] [stdout] 1112 | FONT_BUFFER.clear(); [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:1113:5 [INFO] [stdout] | [INFO] [stdout] 1113 | FONT_BUFFER.extend_from_slice(buffer); [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: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:1115:23 [INFO] [stdout] | [INFO] [stdout] 1115 | if stbtt_InitFont(&mut GLOBAL_FONTINFO as *mut stbtt_fontinfo, FONT_BUFFER.as_ptr(), 0) == 0{ [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] 1115 | if stbtt_InitFont(&raw mut GLOBAL_FONTINFO as *mut stbtt_fontinfo, FONT_BUFFER.as_ptr(), 0) == 0{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:1115:68 [INFO] [stdout] | [INFO] [stdout] 1115 | if stbtt_InitFont(&mut GLOBAL_FONTINFO as *mut stbtt_fontinfo, FONT_BUFFER.as_ptr(), 0) == 0{ [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/main.rs:1157:31 [INFO] [stdout] | [INFO] [stdout] 1157 | stbtt_GetFontVMetrics(&mut GLOBAL_FONTINFO as *mut stbtt_fontinfo, [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] 1157 | stbtt_GetFontVMetrics(&raw mut GLOBAL_FONTINFO as *mut stbtt_fontinfo, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:1160:43 [INFO] [stdout] | [INFO] [stdout] 1160 | scale = stbtt_ScaleForPixelHeight(&GLOBAL_FONTINFO as *const stbtt_fontinfo, dpmm_size); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1160 | scale = stbtt_ScaleForPixelHeight(&raw const GLOBAL_FONTINFO as *const stbtt_fontinfo, dpmm_size); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:1167:48 [INFO] [stdout] | [INFO] [stdout] 1167 | let glyph_index = stbtt_FindGlyphIndex(&GLOBAL_FONTINFO as *const stbtt_fontinfo, character as i32); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1167 | let glyph_index = stbtt_FindGlyphIndex(&raw const GLOBAL_FONTINFO as *const stbtt_fontinfo, character as i32); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:1172:45 [INFO] [stdout] | [INFO] [stdout] 1172 | stbtt_GetGlyphBitmapBoxSubpixel(&GLOBAL_FONTINFO as *const stbtt_fontinfo, glyph_index, scale, scale, 0.0,0.0, [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1172 | stbtt_GetGlyphBitmapBoxSubpixel(&raw const GLOBAL_FONTINFO as *const stbtt_fontinfo, glyph_index, scale, scale, 0.0,0.0, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:1177:44 [INFO] [stdout] | [INFO] [stdout] 1177 | stbtt_MakeGlyphBitmapSubpixel( &GLOBAL_FONTINFO as *const stbtt_fontinfo, [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1177 | stbtt_MakeGlyphBitmapSubpixel( &raw const GLOBAL_FONTINFO as *const stbtt_fontinfo, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:1240:32 [INFO] [stdout] | [INFO] [stdout] 1240 | stbtt_GetCodepointHMetrics(&GLOBAL_FONTINFO as *const stbtt_fontinfo, character as i32, &mut adv as *mut i32, &mut lft_br as *mut i32); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1240 | stbtt_GetCodepointHMetrics(&raw const GLOBAL_FONTINFO as *const stbtt_fontinfo, character as i32, &mut adv as *mut i32, &mut lft_br as *mut i32); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcyJiwCV/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libclap-d8b09633b5ef3390,libvec_map-ecbce826993378bd,libtextwrap-7b51497447b7c4d8,libunicode_width-c0dfc70716b193be,libstrsim-1c33ff29e0d45111,libbitflags-e2b4db6c651223da,libatty-84005621a06167fd,libansi_term-dc29728339138c52,libcuda11_cublasLt_sys-b312e6345f285bf0,libcuda11_cutensor_sys-f4406cbd89c1bf20,libcuda11_cudnn_sys-72c2ccf18c4d2b64,liblibc-683fc952236b6b08,libstb_resize_sys-bcef58177f17c670,libstb_image_sys-d2b672c14e9229ab,libstb_image_write_sys-2cc5d3c28e3189db,libstb_tt_sys-d1089e3b36315cc7}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lcublasLt" "-lcublas" "-lcudart" "-lcutensor" "-lcublasLt" "-lcublas" "-lcudnn" "-lcudart" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcyJiwCV/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/stb_image-sys-e8f784e2808b79a5/out" "-L" "/opt/rustwide/target/debug/build/stb_image_write-sys-9697a146ade0b6c3/out" "-L" "/opt/rustwide/target/debug/build/stb_resize-sys-5b7deac558c1ba81/out" "-L" "/opt/rustwide/target/debug/build/stb_tt-sys-a4b582532fbe0de0/out" "-L" "/usr/local/cuda/lib64" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/yolov4_tiny_rs-5df524f23333b62a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lcublasLt [INFO] [stdout] rust-lld: error: unable to find library -lcublas [INFO] [stdout] rust-lld: error: unable to find library -lcudart [INFO] [stdout] rust-lld: error: unable to find library -lcutensor [INFO] [stdout] rust-lld: error: unable to find library -lcublasLt [INFO] [stdout] rust-lld: error: unable to find library -lcublas [INFO] [stdout] rust-lld: error: unable to find library -lcudnn [INFO] [stdout] rust-lld: error: unable to find library -lcudart [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yolov4_tiny_rs` (bin "yolov4_tiny_rs") due to 1 previous error; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7d30bee3fbf6c40c48dbf0dda9a4fa45ef0e96f152f77faff5b8cbd1eff37c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d30bee3fbf6c40c48dbf0dda9a4fa45ef0e96f152f77faff5b8cbd1eff37c6f", kill_on_drop: false }` [INFO] [stdout] 7d30bee3fbf6c40c48dbf0dda9a4fa45ef0e96f152f77faff5b8cbd1eff37c6f