dylint 3.1.2

A tool for running Rust lints from dynamic libraries
Documentation
Build #1220896 2024-05-15T16:41:40.997692+00:00
# rustc version
rustc 1.80.0-nightly (8387315ab 2024-05-14)# docs.rs version
docsrs 0.6.0 (7c63657e 2024-05-03)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/dylint-3.1.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/dylint-3.1.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240514-1.80.0-nightly-8387315ab\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] 7227820e684b751c638a3ab8b827f7ed04ae0f56004d1cf0d5ef4ac308b7394e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7227820e684b751c638a3ab8b827f7ed04ae0f56004d1cf0d5ef4ac308b7394e", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling libz-sys v1.1.16
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking globset v0.4.14
[INFO] [stderr]     Checking windows-targets v0.48.5
[INFO] [stderr]     Checking toml_datetime v0.6.6
[INFO] [stderr]     Checking serde_spanned v0.6.6
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling camino v1.1.7
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling thiserror v1.0.60
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking winnow v0.6.8
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking rust-embed-utils v8.4.0
[INFO] [stderr]     Checking windows-sys v0.48.0
[INFO] [stderr]    Compiling anyhow v1.0.83
[INFO] [stderr]     Checking cargo-platform v0.1.8
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking cargo_metadata v0.18.1
[INFO] [stderr]     Checking rust-embed v8.4.0
[INFO] [stderr] warning: unexpected `cfg` condition name: `dylint_lib`
[INFO] [stderr]   --> build.rs:23:16
[INFO] [stderr]    |
[INFO] [stderr] 23 |     #[cfg_attr(dylint_lib = "general", allow(abs_home_path))]
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stderr]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(dylint_lib, values(\"general\"))");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `dylint` (build script) generated 1 warning
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: src/zlib/gzlib.c: In function 'gz_open':
[INFO] [stderr] warning: libz-sys@1.1.16: src/zlib/gzlib.c:14:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libz-sys@1.1.16:    14 | #  define LSEEK lseek
[INFO] [stderr] warning: libz-sys@1.1.16:       |                 ^~~~~
[INFO] [stderr] warning: libz-sys@1.1.16: src/zlib/gzlib.c:242:9: note: in expansion of macro 'LSEEK'
[INFO] [stderr] warning: libz-sys@1.1.16:   242 |         LSEEK(state->fd, 0, SEEK_END);  /* so gzoffset() is correct */
[INFO] [stderr] warning: libz-sys@1.1.16:       |         ^~~~~
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.16: src/zlib/gzread.c: In function 'gz_load':
[INFO] [stderr] warning: libz-sys@1.1.16: src/zlib/gzread.c:22:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libz-sys@1.1.16:    22 |         ret = read(state->fd, buf + *have, get);
[INFO] [stderr] warning: libz-sys@1.1.16:       |               ^~~~
[INFO] [stderr] warning: libz-sys@1.1.16:       |               fread
[INFO] [stderr] warning: libz-sys@1.1.16: src/zlib/gzread.c: In function 'gzclose_r':
[INFO] [stderr] warning: libz-sys@1.1.16: src/zlib/gzread.c:599:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libz-sys@1.1.16:   599 |     ret = close(state->fd);
[INFO] [stderr] warning: libz-sys@1.1.16:       |           ^~~~~
[INFO] [stderr] warning: libz-sys@1.1.16:       |           pclose
[INFO] [stderr] warning: libz-sys@1.1.16: src/zlib/gzwrite.c: In function 'gz_comp':
[INFO] [stderr] warning: libz-sys@1.1.16: src/zlib/gzwrite.c:78:20: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libz-sys@1.1.16:    78 |             writ = write(state->fd, strm->next_in, put);
[INFO] [stderr] warning: libz-sys@1.1.16:       |                    ^~~~~
[INFO] [stderr] warning: libz-sys@1.1.16:       |                    fwrite
[INFO] [stderr] warning: libz-sys@1.1.16: src/zlib/gzwrite.c: In function 'gzclose_w':
[INFO] [stderr] warning: libz-sys@1.1.16: src/zlib/gzwrite.c:627:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libz-sys@1.1.16:   627 |     if (close(state->fd) == -1)
[INFO] [stderr] warning: libz-sys@1.1.16:       |         ^~~~~
[INFO] [stderr] warning: libz-sys@1.1.16:       |         pclose
[INFO] [stderr] warning: libz-sys@1.1.16: GNU compiler is not supported for this target
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `libz-sys v1.1.16`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/libz-sys-309c67788cb54a37/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBZ_SYS_STATIC
[INFO] [stderr]   cargo:rerun-if-changed=build.rs
[INFO] [stderr]   note, vcpkg did not find zlib: Could not find Vcpkg tree: No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'
[INFO] [stderr]   TARGET = Some("x86_64-pc-windows-msvc")
[INFO] [stderr]   OPT_LEVEL = Some("0")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc
[INFO] [stderr]   CC_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc
[INFO] [stderr]   CC_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some("true")
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3")
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc
[INFO] [stderr]   CFLAGS_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc
[INFO] [stderr]   CFLAGS_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=src/zlib/gzlib.c: In function 'gz_open':
[INFO] [stderr]   cargo:warning=src/zlib/gzlib.c:14:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   14 | #  define LSEEK lseek
[INFO] [stderr]   cargo:warning=      |                 ^~~~~
[INFO] [stderr]   cargo:warning=src/zlib/gzlib.c:242:9: note: in expansion of macro 'LSEEK'
[INFO] [stderr]   cargo:warning=  242 |         LSEEK(state->fd, 0, SEEK_END);  /* so gzoffset() is correct */
[INFO] [stderr]   cargo:warning=      |         ^~~~~
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=src/zlib/gzread.c: In function 'gz_load':
[INFO] [stderr]   cargo:warning=src/zlib/gzread.c:22:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   22 |         ret = read(state->fd, buf + *have, get);
[INFO] [stderr]   cargo:warning=      |               ^~~~
[INFO] [stderr]   cargo:warning=      |               fread
[INFO] [stderr]   cargo:warning=src/zlib/gzread.c: In function 'gzclose_r':
[INFO] [stderr]   cargo:warning=src/zlib/gzread.c:599:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=  599 |     ret = close(state->fd);
[INFO] [stderr]   cargo:warning=      |           ^~~~~
[INFO] [stderr]   cargo:warning=      |           pclose
[INFO] [stderr]   cargo:warning=src/zlib/gzwrite.c: In function 'gz_comp':
[INFO] [stderr]   cargo:warning=src/zlib/gzwrite.c:78:20: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   78 |             writ = write(state->fd, strm->next_in, put);
[INFO] [stderr]   cargo:warning=      |                    ^~~~~
[INFO] [stderr]   cargo:warning=      |                    fwrite
[INFO] [stderr]   cargo:warning=src/zlib/gzwrite.c: In function 'gzclose_w':
[INFO] [stderr]   cargo:warning=src/zlib/gzwrite.c:627:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=  627 |     if (close(state->fd) == -1)
[INFO] [stderr]   cargo:warning=      |         ^~~~~
[INFO] [stderr]   cargo:warning=      |         pclose
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   exit status: 0
[INFO] [stderr]   cargo:rerun-if-env-changed=AR_x86_64-pc-windows-msvc
[INFO] [stderr]   AR_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=AR_x86_64_pc_windows_msvc
[INFO] [stderr]   AR_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_AR
[INFO] [stderr]   TARGET_AR = None
[INFO] [stderr]   cargo:rerun-if-env-changed=AR
[INFO] [stderr]   AR = None
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:rerun-if-env-changed=ARFLAGS_x86_64-pc-windows-msvc
[INFO] [stderr]   ARFLAGS_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=ARFLAGS_x86_64_pc_windows_msvc
[INFO] [stderr]   ARFLAGS_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_ARFLAGS
[INFO] [stderr]   TARGET_ARFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=ARFLAGS
[INFO] [stderr]   ARFLAGS = None
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Failed to find tool. Is `lib.exe` installed?
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "7227820e684b751c638a3ab8b827f7ed04ae0f56004d1cf0d5ef4ac308b7394e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7227820e684b751c638a3ab8b827f7ed04ae0f56004d1cf0d5ef4ac308b7394e", kill_on_drop: false }`
[INFO] [stdout] 7227820e684b751c638a3ab8b827f7ed04ae0f56004d1cf0d5ef4ac308b7394e